Merge "ARM: dts: qcom: Add platform support for VMs on Kera"

This commit is contained in:
QCTECMDR Service
2024-11-24 11:44:04 -08:00
committed by Gerrit - the friendly Code Review server
24 changed files with 267 additions and 3 deletions

View File

@@ -269,7 +269,17 @@ endif
ifeq ($(CONFIG_ARCH_KERA), y)
ifeq ($(CONFIG_ARCH_QTI_VM), y)
kera_tuivm-dtb-$(CONFIG_ARCH_QTI_VM) += kera-vm-rumi.dtb \
kera-oemvm-rumi.dtb
kera-vm-atp.dtb \
kera-vm-cdp.dtb \
kera-vm-mtp.dtb \
kera-vm-qrd.dtb \
kera-vm-rcm.dtb \
kera-oemvm-rumi.dtb \
kera-oemvm-atp.dtb \
kera-oemvm-cdp.dtb \
kera-oemvm-mtp.dtb \
kera-oemvm-qrd.dtb \
kera-oemvm-rcm.dtb
dtb-y += $(kera_tuivm-dtb-y)
endif
endif

17
qcom/kera-oemvm-atp.dts Normal file
View File

@@ -0,0 +1,17 @@
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
*/
/dts-v1/;
#include "kera-oemvm.dtsi"
#include "kera-oemvm-atp.dtsi"
/ {
model = "Qualcomm Technologies, Inc. Kera OEMVM ATP";
compatible = "qcom,kera-atp", "qcom,kera", "qcom,kerap-atp", "qcom,kerap",
"qcom,atp";
qcom,board-id = <33 0>;
};

7
qcom/kera-oemvm-atp.dtsi Normal file
View File

@@ -0,0 +1,7 @@
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
*/
&soc {
};

17
qcom/kera-oemvm-cdp.dts Normal file
View File

@@ -0,0 +1,17 @@
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
*/
/dts-v1/;
#include "kera-oemvm.dtsi"
#include "kera-oemvm-cdp.dtsi"
/ {
model = "Qualcomm Technologies, Inc. Kera OEMVM CDP";
compatible = "qcom,kera-cdp", "qcom,kera", "qcom,kerap-cdp", "qcom,kerap",
"qcom,cdp";
qcom,board-id = <0x10001 0>, <0x20001 0>, <0x30001 0>, <0x40001 0>;
};

7
qcom/kera-oemvm-cdp.dtsi Normal file
View File

@@ -0,0 +1,7 @@
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
*/
&soc {
};

16
qcom/kera-oemvm-mtp.dts Normal file
View File

@@ -0,0 +1,16 @@
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
*/
/dts-v1/;
#include "kera-oemvm.dtsi"
#include "kera-oemvm-mtp.dtsi"
/ {
model = "Qualcomm Technologies, Inc. Kera OEMVM MTP";
compatible = "qcom,kera-mtp", "qcom,kera", "qcom,kerap-mtp", "qcom,kerap",
"qcom,mtp";
qcom,board-id = <0x10008 0>, <0x10008 1>, <0x20008 0>, <0x20008 1>, <0x30008 0>, <0x30008 1>;
};

7
qcom/kera-oemvm-mtp.dtsi Normal file
View File

@@ -0,0 +1,7 @@
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
*/
&soc {
};

16
qcom/kera-oemvm-qrd.dts Normal file
View File

@@ -0,0 +1,16 @@
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
*/
/dts-v1/;
#include "kera-oemvm.dtsi"
#include "kera-oemvm-qrd.dtsi"
/ {
model = "Qualcomm Technologies, Inc. Kera OEMVM QRD";
compatible = "qcom,kera-qrd", "qcom,kera", "qcom,kerap-qrd", "qcom,kerap",
"qcom,qrd";
qcom,board-id = <0x1000B 0>, <0x2000B 0>, <0x3000B 0>;
};

7
qcom/kera-oemvm-qrd.dtsi Normal file
View File

@@ -0,0 +1,7 @@
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
*/
&soc {
};

16
qcom/kera-oemvm-rcm.dts Normal file
View File

@@ -0,0 +1,16 @@
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
*/
/dts-v1/;
#include "kera-oemvm.dtsi"
#include "kera-oemvm-rcm.dtsi"
/ {
model = "Qualcomm Technologies, Inc. Kera OEMVM RCM";
compatible = "qcom,kera-rcm", "qcom,kera", "qcom,kerap-rcm", "qcom,kerap",
"qcom,rcm";
qcom,board-id = <0x10015 0>, <0x10015 1>, <0x20015 0>, <0x20015 1>, <0x30015 0>, <0x30015 1>;
};

7
qcom/kera-oemvm-rcm.dtsi Normal file
View File

@@ -0,0 +1,7 @@
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
*/
&soc {
};

View File

@@ -8,7 +8,7 @@
/ {
#address-cells = <0x2>;
#size-cells = <0x2>;
qcom,msm-id = <659 0x10000>;
qcom,msm-id = <659 0x10000>, <686 0x10000>;
interrupt-parent = <&vgic>;
chosen {

17
qcom/kera-vm-atp.dts Normal file
View File

@@ -0,0 +1,17 @@
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
*/
/dts-v1/;
#include "kera-vm.dtsi"
#include "kera-vm-atp.dtsi"
/ {
model = "Qualcomm Technologies, Inc. Kera SVM ATP";
compatible = "qcom,kera-atp", "qcom,kera", "qcom,kerap-atp", "qcom,kerap",
"qcom,atp";
qcom,board-id = <33 0>;
};

7
qcom/kera-vm-atp.dtsi Normal file
View File

@@ -0,0 +1,7 @@
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
*/
&soc {
};

17
qcom/kera-vm-cdp.dts Normal file
View File

@@ -0,0 +1,17 @@
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
*/
/dts-v1/;
#include "kera-vm.dtsi"
#include "kera-vm-cdp.dtsi"
/ {
model = "Qualcomm Technologies, Inc. Kera SVM CDP";
compatible = "qcom,kera-cdp", "qcom,kera", "qcom,kerap-cdp", "qcom,kerap",
"qcom,cdp";
qcom,board-id = <0x10001 0>, <0x20001 0>, <0x30001 0>, <0x40001 0>;
};

7
qcom/kera-vm-cdp.dtsi Normal file
View File

@@ -0,0 +1,7 @@
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
*/
&soc {
};

16
qcom/kera-vm-mtp.dts Normal file
View File

@@ -0,0 +1,16 @@
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
*/
/dts-v1/;
#include "kera-vm.dtsi"
#include "kera-vm-mtp.dtsi"
/ {
model = "Qualcomm Technologies, Inc. Kera SVM MTP";
compatible = "qcom,kera-mtp", "qcom,kera", "qcom,kerap-mtp", "qcom,kerap",
"qcom,mtp";
qcom,board-id = <0x10008 0>, <0x10008 1>, <0x20008 0>, <0x20008 1>, <0x30008 0>, <0x30008 1>;
};

7
qcom/kera-vm-mtp.dtsi Normal file
View File

@@ -0,0 +1,7 @@
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
*/
&soc {
};

16
qcom/kera-vm-qrd.dts Normal file
View File

@@ -0,0 +1,16 @@
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
*/
/dts-v1/;
#include "kera-vm.dtsi"
#include "kera-vm-qrd.dtsi"
/ {
model = "Qualcomm Technologies, Inc. Kera SVM QRD";
compatible = "qcom,kera-qrd", "qcom,kera", "qcom,kerap-qrd", "qcom,kerap",
"qcom,qrd";
qcom,board-id = <0x1000B 0>, <0x2000B 0>, <0x3000B 0>;
};

7
qcom/kera-vm-qrd.dtsi Normal file
View File

@@ -0,0 +1,7 @@
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
*/
&soc {
};

16
qcom/kera-vm-rcm.dts Normal file
View File

@@ -0,0 +1,16 @@
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
*/
/dts-v1/;
#include "kera-vm.dtsi"
#include "kera-vm-rcm.dtsi"
/ {
model = "Qualcomm Technologies, Inc. Kera SVM RCM";
compatible = "qcom,kera-rcm", "qcom,kera", "qcom,kerap-rcm", "qcom,kerap",
"qcom,rcm";
qcom,board-id = <0x10015 0>, <0x10015 1>, <0x20015 0>, <0x20015 1>, <0x30015 0>, <0x30015 1>;
};

7
qcom/kera-vm-rcm.dtsi Normal file
View File

@@ -0,0 +1,7 @@
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
*/
&soc {
};

View File

@@ -9,7 +9,7 @@
/ {
#address-cells = <0x2>;
#size-cells = <0x2>;
qcom,msm-id = <659 0x10000>;
qcom,msm-id = <659 0x10000>, <686 0x10000>;
interrupt-parent = <&vgic>;
chosen {

View File

@@ -244,14 +244,34 @@ _platform_map = {
"kera-tuivm": {
"dtb_list": [
# keep sorted
{"name": "kera-oemvm-atp.dtb"},
{"name": "kera-oemvm-cdp.dtb"},
{"name": "kera-oemvm-mtp.dtb"},
{"name": "kera-oemvm-qrd.dtb"},
{"name": "kera-oemvm-rcm.dtb"},
{"name": "kera-oemvm-rumi.dtb"},
{"name": "kera-vm-atp.dtb"},
{"name": "kera-vm-cdp.dtb"},
{"name": "kera-vm-mtp.dtb"},
{"name": "kera-vm-qrd.dtb"},
{"name": "kera-vm-rcm.dtb"},
{"name": "kera-vm-rumi.dtb"},
],
},
"kera-oemvm": {
"dtb_list": [
# keep sorted
{"name": "kera-oemvm-atp.dtb"},
{"name": "kera-oemvm-cdp.dtb"},
{"name": "kera-oemvm-mtp.dtb"},
{"name": "kera-oemvm-qrd.dtb"},
{"name": "kera-oemvm-rcm.dtb"},
{"name": "kera-oemvm-rumi.dtb"},
{"name": "kera-vm-atp.dtb"},
{"name": "kera-vm-cdp.dtb"},
{"name": "kera-vm-mtp.dtb"},
{"name": "kera-vm-qrd.dtb"},
{"name": "kera-vm-rcm.dtb"},
{"name": "kera-vm-rumi.dtb"},
],
},