aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorRamon Fried2018-07-02 02:57:58 +0300
committerTom Rini2018-07-19 16:31:38 -0400
commit6621bedb9642690fb072e3663ce5339aee533d27 (patch)
treedf5bc8eaa0fa101164e3a3c98fc39137cf238190 /arch
parent072787ddd556400b2dffad7245f4b9a7b0257bff (diff)
dts: db820c: added smem nodes
Added necessary nodes for Qualcomm smem driver. Signed-off-by: Ramon Fried <ramon.fried@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/dts/dragonboard820c-uboot.dtsi4
-rw-r--r--arch/arm/dts/dragonboard820c.dts16
2 files changed, 20 insertions, 0 deletions
diff --git a/arch/arm/dts/dragonboard820c-uboot.dtsi b/arch/arm/dts/dragonboard820c-uboot.dtsi
index 97394cc5b04..d60aa04494d 100644
--- a/arch/arm/dts/dragonboard820c-uboot.dtsi
+++ b/arch/arm/dts/dragonboard820c-uboot.dtsi
@@ -6,6 +6,10 @@
*/
/ {
+ smem {
+ u-boot,dm-pre-reloc;
+ };
+
soc {
u-boot,dm-pre-reloc;
diff --git a/arch/arm/dts/dragonboard820c.dts b/arch/arm/dts/dragonboard820c.dts
index 7457d7b7e3f..ffad8e0e0ab 100644
--- a/arch/arm/dts/dragonboard820c.dts
+++ b/arch/arm/dts/dragonboard820c.dts
@@ -28,11 +28,27 @@
reg = <0 0x80000000 0 0xc0000000>;
};
+ reserved-memory {
+ #address-cells = <2>;
+ #size-cells = <2>;
+ ranges;
+
+ smem_mem: smem_region@86300000 {
+ reg = <0x0 0x86300000 0x0 0x200000>;
+ no-map;
+ };
+ };
+
psci {
compatible = "arm,psci-1.0";
method = "smc";
};
+ smem {
+ compatible = "qcom,smem";
+ memory-region = <&smem_mem>;
+ };
+
soc: soc {
#address-cells = <1>;
#size-cells = <1>;