ARM: dts: qcom: Add platform support for VMs on Tuna

Add support for platforms like ATP, CDP, MTP, QRD and RCM for TUIVM and
OEMVM on Tuna. Also, add support for additional Tuna variant.

Change-Id: Ie7a6c542c7d31db5b823ae10db714ddc43330598
Signed-off-by: Hrishabh Rajput <quic_hrishabh@quicinc.com>
This commit is contained in:
Hrishabh Rajput
2024-10-03 11:51:53 +05:30
parent 7aba41bc8d
commit 87a2090caa
35 changed files with 422 additions and 2 deletions

View File

@@ -213,7 +213,23 @@ endif
ifeq ($(CONFIG_ARCH_TUNA), y) ifeq ($(CONFIG_ARCH_TUNA), y)
ifeq ($(CONFIG_ARCH_QTI_VM), y) ifeq ($(CONFIG_ARCH_QTI_VM), y)
tuna_tuivm-dtb-$(CONFIG_ARCH_QTI_VM) += tuna-vm-rumi.dtb \ tuna_tuivm-dtb-$(CONFIG_ARCH_QTI_VM) += tuna-vm-rumi.dtb \
tuna-oemvm-rumi.dtb tuna-vm-atp.dtb \
tuna-vm-cdp.dtb \
tuna-vm-mtp.dtb \
tuna-vm-mtp-kiwi.dtb \
tuna-vm-mtp-qmp1000.dtb \
tuna-vm-qrd.dtb \
tuna-vm-rcm.dtb \
tuna-vm-rcm-kiwi.dtb \
tuna-oemvm-rumi.dtb \
tuna-oemvm-atp.dtb \
tuna-oemvm-cdp.dtb \
tuna-oemvm-mtp.dtb \
tuna-oemvm-mtp-kiwi.dtb \
tuna-oemvm-mtp-qmp1000.dtb \
tuna-oemvm-qrd.dtb \
tuna-oemvm-rcm.dtb \
tuna-oemvm-rcm-kiwi.dtb
dtb-y += $(tuna_tuivm-dtb-y) dtb-y += $(tuna_tuivm-dtb-y)
endif endif
endif endif

View File

@@ -166,14 +166,46 @@ _platform_map = {
"tuna-tuivm": { "tuna-tuivm": {
"dtb_list": [ "dtb_list": [
# keep sorted # keep sorted
{"name": "tuna-oemvm-atp.dtb"},
{"name": "tuna-oemvm-cdp.dtb"},
{"name": "tuna-oemvm-mtp.dtb"},
{"name": "tuna-oemvm-mtp-kiwi.dtb"},
{"name": "tuna-oemvm-mtp-qmp1000.dtb"},
{"name": "tuna-oemvm-qrd.dtb"},
{"name": "tuna-oemvm-rcm.dtb"},
{"name": "tuna-oemvm-rcm-kiwi.dtb"},
{"name": "tuna-oemvm-rumi.dtb"}, {"name": "tuna-oemvm-rumi.dtb"},
{"name": "tuna-vm-atp.dtb"},
{"name": "tuna-vm-cdp.dtb"},
{"name": "tuna-vm-mtp.dtb"},
{"name": "tuna-vm-mtp-kiwi.dtb"},
{"name": "tuna-vm-mtp-qmp1000.dtb"},
{"name": "tuna-vm-qrd.dtb"},
{"name": "tuna-vm-rcm.dtb"},
{"name": "tuna-vm-rcm-kiwi.dtb"},
{"name": "tuna-vm-rumi.dtb"}, {"name": "tuna-vm-rumi.dtb"},
], ],
}, },
"tuna-oemvm": { "tuna-oemvm": {
"dtb_list": [ "dtb_list": [
# keep sorted # keep sorted
{"name": "tuna-oemvm-atp.dtb"},
{"name": "tuna-oemvm-cdp.dtb"},
{"name": "tuna-oemvm-mtp.dtb"},
{"name": "tuna-oemvm-mtp-kiwi.dtb"},
{"name": "tuna-oemvm-mtp-qmp1000.dtb"},
{"name": "tuna-oemvm-qrd.dtb"},
{"name": "tuna-oemvm-rcm.dtb"},
{"name": "tuna-oemvm-rcm-kiwi.dtb"},
{"name": "tuna-oemvm-rumi.dtb"}, {"name": "tuna-oemvm-rumi.dtb"},
{"name": "tuna-vm-atp.dtb"},
{"name": "tuna-vm-cdp.dtb"},
{"name": "tuna-vm-mtp.dtb"},
{"name": "tuna-vm-mtp-kiwi.dtb"},
{"name": "tuna-vm-mtp-qmp1000.dtb"},
{"name": "tuna-vm-qrd.dtb"},
{"name": "tuna-vm-rcm.dtb"},
{"name": "tuna-vm-rcm-kiwi.dtb"},
{"name": "tuna-vm-rumi.dtb"}, {"name": "tuna-vm-rumi.dtb"},
], ],
}, },

17
qcom/tuna-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 "tuna-oemvm.dtsi"
#include "tuna-oemvm-atp.dtsi"
/ {
model = "Qualcomm Technologies, Inc. Tuna OEMVM ATP";
compatible = "qcom,tuna-atp", "qcom,tuna", "qcom,tunap-atp", "qcom,tunap",
"qcom,atp";
qcom,board-id = <33 0>;
};

7
qcom/tuna-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/tuna-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 "tuna-oemvm.dtsi"
#include "tuna-oemvm-cdp.dtsi"
/ {
model = "Qualcomm Technologies, Inc. Tuna OEMVM CDP";
compatible = "qcom,tuna-cdp", "qcom,tuna", "qcom,tunap-cdp", "qcom,tunap",
"qcom,cdp";
qcom,board-id = <1 0>;
};

7
qcom/tuna-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 {
};

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 "tuna-oemvm.dtsi"
#include "tuna-oemvm-mtp-kiwi.dtsi"
/ {
model = "Qualcomm Technologies, Inc. Tuna OEMVM MTP + kiwi WLAN";
compatible = "qcom,tuna-mtp", "qcom,tuna", "qcom,tunap-mtp", "qcom,tunap",
"qcom,mtp";
qcom,board-id = <8 2>;
};

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

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

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/tuna-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 "tuna-oemvm.dtsi"
#include "tuna-oemvm-mtp.dtsi"
/ {
model = "Qualcomm Technologies, Inc. Tuna OEMVM MTP";
compatible = "qcom,tuna-mtp", "qcom,tuna", "qcom,tunap-mtp", "qcom,tunap",
"qcom,mtp";
qcom,board-id = <8 0>;
};

7
qcom/tuna-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/tuna-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 "tuna-oemvm.dtsi"
#include "tuna-oemvm-qrd.dtsi"
/ {
model = "Qualcomm Technologies, Inc. Tuna OEMVM QRD";
compatible = "qcom,tuna-qrd", "qcom,tuna", "qcom,tunap-qrd", "qcom,tunap",
"qcom,qrd";
qcom,board-id = <11 0>;
};

7
qcom/tuna-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 {
};

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 "tuna-oemvm.dtsi"
#include "tuna-oemvm-rcm-kiwi.dtsi"
/ {
model = "Qualcomm Technologies, Inc. Tuna OEMVM RCM + kiwi WLAN";
compatible = "qcom,tuna-rcm", "qcom,tuna", "qcom,tunap-rcm", "qcom,tunap",
"qcom,rcm";
qcom,board-id = <21 1>;
};

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/tuna-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 "tuna-oemvm.dtsi"
#include "tuna-oemvm-rcm.dtsi"
/ {
model = "Qualcomm Technologies, Inc. Tuna OEMVM RCM";
compatible = "qcom,tuna-rcm", "qcom,tuna", "qcom,tunap-rcm", "qcom,tunap",
"qcom,rcm";
qcom,board-id = <21 0>;
};

7
qcom/tuna-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 {
};

17
qcom/tuna-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 "tuna-vm.dtsi"
#include "tuna-vm-atp.dtsi"
/ {
model = "Qualcomm Technologies, Inc. Tuna SVM ATP";
compatible = "qcom,tuna-atp", "qcom,tuna", "qcom,tunap-atp", "qcom,tunap",
"qcom,atp";
qcom,board-id = <33 0>;
};

7
qcom/tuna-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/tuna-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 "tuna-vm.dtsi"
#include "tuna-vm-cdp.dtsi"
/ {
model = "Qualcomm Technologies, Inc. Tuna SVM CDP";
compatible = "qcom,tuna-cdp", "qcom,tuna", "qcom,tunap-cdp", "qcom,tunap",
"qcom,cdp";
qcom,board-id = <1 0>;
};

7
qcom/tuna-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/tuna-vm-mtp-kiwi.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 "tuna-vm.dtsi"
#include "tuna-vm-mtp-kiwi.dtsi"
/ {
model = "Qualcomm Technologies, Inc. Tuna SVM MTP + kiwi WLAN";
compatible = "qcom,tuna-mtp", "qcom,tuna", "qcom,tunap-mtp", "qcom,tunap",
"qcom,mtp";
qcom,board-id = <8 2>;
};

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

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

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/tuna-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 "tuna-vm.dtsi"
#include "tuna-vm-mtp.dtsi"
/ {
model = "Qualcomm Technologies, Inc. Tuna SVM MTP";
compatible = "qcom,tuna-mtp", "qcom,tuna", "qcom,tunap-mtp", "qcom,tunap",
"qcom,mtp";
qcom,board-id = <8 0>;
};

7
qcom/tuna-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/tuna-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 "tuna-vm.dtsi"
#include "tuna-vm-qrd.dtsi"
/ {
model = "Qualcomm Technologies, Inc. Tuna SVM QRD";
compatible = "qcom,tuna-qrd", "qcom,tuna", "qcom,tunap-qrd", "qcom,tunap",
"qcom,qrd";
qcom,board-id = <11 0>;
};

7
qcom/tuna-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/tuna-vm-rcm-kiwi.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 "tuna-vm.dtsi"
#include "tuna-vm-rcm-kiwi.dtsi"
/ {
model = "Qualcomm Technologies, Inc. Tuna SVM RCM + kiwi WLAN";
compatible = "qcom,tuna-rcm", "qcom,tuna", "qcom,tunap-rcm", "qcom,tunap",
"qcom,rcm";
qcom,board-id = <21 1>;
};

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/tuna-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 "tuna-vm.dtsi"
#include "tuna-vm-rcm.dtsi"
/ {
model = "Qualcomm Technologies, Inc. Tuna SVM RCM";
compatible = "qcom,tuna-rcm", "qcom,tuna", "qcom,tunap-rcm", "qcom,tunap",
"qcom,rcm";
qcom,board-id = <21 0>;
};

7
qcom/tuna-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>; #address-cells = <0x2>;
#size-cells = <0x2>; #size-cells = <0x2>;
qcom,msm-id = <655 0x10000>; qcom,msm-id = <681 0x10000>, <655 0x10000>;
interrupt-parent = <&vgic>; interrupt-parent = <&vgic>;
chosen { chosen {