ARM: dts: msm: Add DT overlay support for sa410m

Add DT overlay support for sa410m.

Change-Id: I45fbed5739e4b1e68e9c022541081671101181fc
This commit is contained in:
Nishant Pandey
2022-10-17 21:43:46 -07:00
parent 5c56bde2d3
commit 59bb61bd1a
10 changed files with 31 additions and 11 deletions

View File

@@ -222,12 +222,17 @@ sdxpinn-dtb-$(CONFIG_ARCH_SDXPINN) += sdxpinn-rumi.dtb sa525m-rumi.dtb \
sdxpinn-idp-mbb.dtb
dtb-y += $(sdxpinn-dtb-y)
SA410M_AUTO_BASE_DTB += sa410m.dtb
SA410M_AUTO_BOARDS += \
sa410m-rumi-overlay.dtbo \
sa410m-nand-idp-overlay.dtbo \
sa410m-emmc-idp-overlay.dtbo \
sa410m-nand-ccard-overlay.dtbo \
sa410m-emmc-ccard-overlay.dtbo
sa410m_auto-dtb-$(CONFIG_ARCH_SA410M) += \
sa410m-rumi.dtb \
sa410m-nand-idp.dtb \
sa410m-emmc-idp.dtb \
sa410m-nand-ccard.dtb \
sa410m-emmc-ccard.dtb
$(call add-overlays, $(SA410M_AUTO_BOARDS) ,$(SA410M_AUTO_BASE_DTB))
sa410m_auto-overlays-dtb-$(CONFIG_ARCH_SA410M) += $(SA410M_AUTO_BOARDS) $(SA410M_AUTO_BASE_DTB)
dtb-y += $(sa410m_auto-dtb-y)
SA8155_LA_GVM_BASE_DTB += sa8155-vm-la.dtb

View File

@@ -1,4 +1,5 @@
/dts-v1/;
/plugin/;
#include "sa410m-idp.dtsi"

View File

@@ -1,4 +1,5 @@
/dts-v1/;
/plugin/;
#include "sa410m-idp.dtsi"

View File

@@ -1,4 +1,4 @@
#include "sa410m.dtsi"
&soc { } ;
&qnand_1 {
status = "ok";

View File

@@ -1,4 +1,5 @@
/dts-v1/;
/plugin/;
#include "sa410m-idp.dtsi"

View File

@@ -1,4 +1,5 @@
/dts-v1/;
/plugin/;
#include "sa410m-idp.dtsi"

View File

@@ -1,4 +1,5 @@
/dts-v1/;
/plugin/;
#include "sa410m-rumi.dtsi"
@@ -6,5 +7,5 @@
model = "Qualcomm Technologies, Inc. SA410M RUMI";
compatible = "qcom,sa410m", "qcom,rumi", "qcom,sa410m-rumi";
qcom,msm-id=<560 0x10000>;
qcom,board-id = <15 0x400>;
qcom,board-id = <15 0>;
};

View File

@@ -1,5 +1,3 @@
#include "sa410m.dtsi"
&arch_timer {
clock-frequency = <500000>;
};

9
qcom/sa410m.dts Normal file
View File

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

View File

@@ -6,10 +6,13 @@
#include <dt-bindings/clock/qcom,rpmcc.h>
/ {
#address-cells = <2>;
#size-cells = <2>;
model = "Qualcomm Technologies, Inc. SA410M";
compatible = "qcom,sa410m";
qcom,msm-id = <560 0x10000>;
interrupt-parent = <&intc>;
#address-cells = <2>;
#size-cells = <2>;
memory { device_type = "memory"; reg = <0 0 0 0>; };
reserved_memory: reserved-memory { };