ARM: dts: msm: Add initial devicetree support for montague target

Added support for Montague target for various boards including hsp,
moselle, rcm and qrd boards.

Change-Id: If555b8eef3eae3df258594d82a5633ac9fe36b1d
This commit is contained in:
Avaneesh Kumar Dwivedi
2022-09-07 10:25:37 +05:30
parent faa1380b84
commit 0527c1f482
17 changed files with 146 additions and 2 deletions

View File

@@ -110,6 +110,9 @@ SoCs:
- RAVELIN
compatible = "qcom,ravelin"
- MONTAGUE
compatible = "qcom,montague", "qcom,montaguep"
Generic board variants:
- CDP device:
@@ -315,3 +318,6 @@ compatible = "qcom,ravelin-rumi"
compatible = "qcom,ravelin-mtp"
compatible = "qcom,ravelin-cdp"
compatible = "qcom,ravelin-qrd"
compatible = "qcom,montague-rumi"
compatible = "qcom,montague-idp"
compatible = "qcom,montague-qrd"

View File

@@ -536,17 +536,37 @@ ifeq ($(CONFIG_BUILD_ARM64_DT_OVERLAY),y)
dtbo-$(CONFIG_ARCH_RAVELIN) += ravelin-rumi-overlay.dtbo \
ravelin-mtp-overlay.dtbo \
ravelin-cdp-overlay.dtbo \
ravelin-qrd-overlay.dtbo
ravelin-qrd-overlay.dtbo \
montague-rumi-overlay.dtbo \
montague-qrd-overlay.dtbo \
montague-hsp-overlay.dtbo \
montague-moselle-overlay.dtbo \
montague-rcm-overlay.dtbo
ravelin-rumi-overlay.dtbo-base := ravelin.dtb
ravelin-mtp-overlay.dtbo-base := ravelin.dtb
ravelin-cdp-overlay.dtbo-base := ravelin.dtb
ravelin-qrd-overlay.dtbo-base := ravelin.dtb
montague-rumi-overlay.dtbo-base := montague.dtb montaguep.dtb
montague-qrd-overlay.dtbo-base := montague.dtb montaguep.dtb
montague-hsp-overlay.dtbo-base := montague.dtb montaguep.dtb
montague-moselle-overlay.dtbo-base := montague.dtb montaguep.dtb
montague-rcm-overlay.dtbo-base := montague.dtb montaguep.dtb
else
dtb-$(CONFIG_ARCH_RAVELIN) += ravelin-rumi.dtb \
ravelin-mtp.dtb \
ravelin-cdp.dtb \
ravelin-qrd.dtb
ravelin-qrd.dtb \
montague-rumi.dtb \
montague-qrd.dtb \
montague-hsp.dtb \
montague-moselle.dtb \
montague-rcm.dtb \
montaguep-rumi.dtb \
montaguep-qrd.dtb \
montaguep-hsp.dtb \
montaguep-moselle.dtb \
montaguep-rcm.dtb
endif
ifeq ($(CONFIG_ARCH_LAHAINA), y)

View File

@@ -0,0 +1,12 @@
/dts-v1/;
/plugin/;
#include "montague-hsp.dtsi"
/ {
model = "Qualcomm Technologies, Inc. Montague HSP IDP";
compatible = "qcom,montague-idp", "qcom,montague", "qcom,idp";
qcom,msm-id = <581 0x10000>, <582 0x10000>;
qcom,board-id = <0x10022 0x4>;
};

3
qcom/montague-hsp.dtsi Normal file
View File

@@ -0,0 +1,3 @@
&soc {
};

View File

@@ -0,0 +1,12 @@
/dts-v1/;
/plugin/;
#include "montague-moselle.dtsi"
/ {
model = "Qualcomm Technologies, Inc. Montague Moselle IDP";
compatible = "qcom,montague-idp", "qcom,montague", "qcom,idp";
qcom,msm-id = <581 0x10000>, <582 0x10000>;
qcom,board-id = <0x10022 3>;
};

View File

@@ -0,0 +1,2 @@
#include "montague-hsp.dtsi"

View File

@@ -0,0 +1,12 @@
/dts-v1/;
/plugin/;
#include "montague-qrd.dtsi"
/ {
model = "Qualcomm Technologies, Inc. Montague QRD";
compatible = "qcom,montague-qrd", "qcom,montague", "qcom,qrd";
qcom,msm-id = <581 0x10000>, <582 0x10000>;
qcom,board-id = <0x1000B 0>;
};

3
qcom/montague-qrd.dtsi Normal file
View File

@@ -0,0 +1,3 @@
&soc {
};

View File

@@ -0,0 +1,12 @@
/dts-v1/;
/plugin/;
#include "montague-rcm.dtsi"
/ {
model = "Qualcomm Technologies, Inc. Montague RCM IDP";
compatible = "qcom,montague-qrd", "qcom,montague", "qcom,idp";
qcom,msm-id = <581 0x10000>, <582 0x10000>;
qcom,board-id = <0x10022 0x5>;
};

1
qcom/montague-rcm.dtsi Normal file
View File

@@ -0,0 +1 @@
#include "montague-hsp.dtsi"

View File

@@ -0,0 +1,12 @@
/dts-v1/;
/plugin/;
#include "montague-rumi.dtsi"
/ {
model = "Qualcomm Technologies, Inc. Montague RUMI";
compatible = "qcom,montague-rumi", "qcom,montague", "qcom,rumi";
qcom,msm-id = <581 0x10000>, <582 0x10000>;
qcom,board-id = <0x1000F 0>;
};

12
qcom/montague-rumi.dts Normal file
View File

@@ -0,0 +1,12 @@
/dts-v1/;
/memreserve/ 0x90000000 0x00010000;
#include "montague.dtsi"
#include "montague-rumi.dtsi"
/ {
model = "Qualcomm Technologies, Inc. Montague RUMI";
compatible = "qcom,montague-rumi", "qcom,montague", "qcom,rumi";
qcom,board-id = <0x1000F 0>;
};

1
qcom/montague-rumi.dtsi Normal file
View File

@@ -0,0 +1 @@
#include "ravelin-rumi.dtsi"

10
qcom/montague.dts Normal file
View File

@@ -0,0 +1,10 @@
/dts-v1/;
#include "montague.dtsi"
/ {
model = "Qualcomm Technologies, Inc. Montague SoC";
compatible = "qcom,montague";
qcom,board-id = <0 0>;
};

8
qcom/montague.dtsi Normal file
View File

@@ -0,0 +1,8 @@
#include "ravelin.dtsi"
/ {
model = "Qualcomm Technologies, Inc. Montague SoC";
compatible = "qcom,montague";
qcom,msm-id = <581 0x10000>;
};

10
qcom/montaguep.dts Normal file
View File

@@ -0,0 +1,10 @@
/dts-v1/;
#include "montaguep.dtsi"
/ {
model = "Qualcomm Technologies, Inc. MontagueP SoC";
compatible = "qcom,montaguep";
qcom,board-id = <0 0>;
};

8
qcom/montaguep.dtsi Normal file
View File

@@ -0,0 +1,8 @@
#include "montague.dtsi"
/ {
model = "Qualcomm Technologies, Inc. MontagueP SoC";
compatible = "qcom,montaguep";
qcom,msm-id = <582 0x10000>;
};