dts: db820c: added smem nodes
authorRamon Fried <ramon.fried@gmail.com>
Sun, 1 Jul 2018 23:57:58 +0000 (02:57 +0300)
committerTom Rini <trini@konsulko.com>
Thu, 19 Jul 2018 20:31:38 +0000 (16:31 -0400)
Added necessary nodes for Qualcomm smem driver.

Signed-off-by: Ramon Fried <ramon.fried@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/arm/dts/dragonboard820c-uboot.dtsi
arch/arm/dts/dragonboard820c.dts

index 97394cc5b04a49bd0ff30341b67f2b7c5f216dce..d60aa04494d24fbe61abdab808f6011ece0dc6d5 100644 (file)
@@ -6,6 +6,10 @@
  */
 
 / {
+       smem {
+               u-boot,dm-pre-reloc;
+       };
+
        soc {
                u-boot,dm-pre-reloc;
 
index 7457d7b7e3ff2ab7e324019026d8090ab37c35e6..ffad8e0e0ab2cc3cf3f2de74a55dcbb8229e80dd 100644 (file)
                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>;