ARM: dts: qcom: Support for Sun vms MTP and CDP

Add initial Sun VMs MTP and CDP device tree support.

Change-Id: I334c31bdd0abff304e11a47ddb2f37aeae9a62ed
Signed-off-by: Murali Nalajala <quic_mnalajal@quicinc.com>
This commit is contained in:
Murali Nalajala
2023-11-16 22:28:42 -08:00
parent 0f27252f21
commit e59025f303
12 changed files with 99 additions and 3 deletions

View File

@@ -84,7 +84,11 @@ endif
ifeq ($(CONFIG_ARCH_SUN), y) ifeq ($(CONFIG_ARCH_SUN), y)
ifeq ($(CONFIG_ARCH_QTI_VM), y) ifeq ($(CONFIG_ARCH_QTI_VM), y)
sun_tuivm-dtb-$(CONFIG_ARCH_QTI_VM) += sun-vm-rumi.dtb \ sun_tuivm-dtb-$(CONFIG_ARCH_QTI_VM) += sun-vm-rumi.dtb \
sun-oemvm-rumi.dtb sun-vm-mtp.dtb \
sun-vm-cdp.dtb \
sun-oemvm-rumi.dtb \
sun-oemvm-mtp.dtb \
sun-oemvm-cdp.dtb
dtb-y += $(sun_tuivm-dtb-y) dtb-y += $(sun_tuivm-dtb-y)
endif endif

View File

@@ -17,14 +17,22 @@ _platform_map = {
"sun-tuivm": { "sun-tuivm": {
"dtb_list": [ "dtb_list": [
# keep sorted # keep sorted
{"name": "sun-oemvm-cdp.dtb"},
{"name": "sun-oemvm-mtp.dtb"},
{"name": "sun-oemvm-rumi.dtb"}, {"name": "sun-oemvm-rumi.dtb"},
{"name": "sun-vm-cdp.dtb"},
{"name": "sun-vm-mtp.dtb"},
{"name": "sun-vm-rumi.dtb"}, {"name": "sun-vm-rumi.dtb"},
], ],
}, },
"sun-oemvm": { "sun-oemvm": {
"dtb_list": [ "dtb_list": [
# keep sorted # keep sorted
{"name": "sun-oemvm-cdp.dtb"},
{"name": "sun-oemvm-mtp.dtb"},
{"name": "sun-oemvm-rumi.dtb"}, {"name": "sun-oemvm-rumi.dtb"},
{"name": "sun-vm-cdp.dtb"},
{"name": "sun-vm-mtp.dtb"},
{"name": "sun-vm-rumi.dtb"}, {"name": "sun-vm-rumi.dtb"},
], ],
}, },

15
qcom/sun-oemvm-cdp.dts Normal file
View File

@@ -0,0 +1,15 @@
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
*/
/dts-v1/;
#include "sun-oemvm.dtsi"
#include "sun-oemvm-cdp.dtsi"
/ {
model = "Qualcomm Technologies, Inc. Sun OEMVM CDP";
compatible = "qcom,sun-cdp", "qcom,sun", "qcom,sunp-cdp",
"qcom,sunp", "qcom,cdp";
qcom,board-id = <0x10001 0>;
};

6
qcom/sun-oemvm-cdp.dtsi Normal file
View File

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

15
qcom/sun-oemvm-mtp.dts Normal file
View File

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

6
qcom/sun-oemvm-mtp.dtsi Normal file
View File

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

View File

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

15
qcom/sun-vm-cdp.dts Normal file
View File

@@ -0,0 +1,15 @@
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
*/
/dts-v1/;
#include "sun-vm.dtsi"
#include "sun-vm-cdp.dtsi"
/ {
model = "Qualcomm Technologies, Inc. Sun SVM CDP";
compatible = "qcom,sun-cdp", "qcom,sun", "qcom,sunp-cdp",
"qcom,sunp", "qcom,cdp";
qcom,board-id = <0x10001 0>;
};

6
qcom/sun-vm-cdp.dtsi Normal file
View File

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

15
qcom/sun-vm-mtp.dts Normal file
View File

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

6
qcom/sun-vm-mtp.dtsi Normal file
View File

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

View File

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