dts: db410c: added smem nodes
authorRamon Fried <ramon.fried@gmail.com>
Sun, 1 Jul 2018 23:57:57 +0000 (02:57 +0300)
committerTom Rini <trini@konsulko.com>
Thu, 19 Jul 2018 20:31:37 +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/dragonboard410c-uboot.dtsi
arch/arm/dts/dragonboard410c.dts

index 3a1ea13ee52347567f0aaa98480d112aeb89ef83..a07c97e81187dc292fdc8cf1f40413fd8700b2f0 100644 (file)
@@ -6,6 +6,11 @@
  */
 
 / {
+
+       smem {
+               u-boot,dm-pre-reloc;
+       };
+
        soc {
                u-boot,dm-pre-reloc;
 
index 182a865b0ab50e4fc888b61609082f55dc77764a..f4f7c350ec906ec5c62fb03fc690175b63fef620 100644 (file)
                #address-cells = <2>;
                #size-cells = <2>;
                ranges;
+
+               smem_mem: smem_region@86300000 {
+                       reg = <0x0 0x86300000 0x0 0x100000>;
+                       no-map;
+               };
        };
 
        chosen {
                stdout-path = "/soc/serial@78b0000";
        };
 
+       smem {
+               compatible = "qcom,smem";
+               memory-region = <&smem_mem>;
+               qcom,rpm-msg-ram = <&rpm_msg_ram>;
+       };
+
        soc {
                #address-cells = <0x1>;
                #size-cells = <0x1>;
                ranges = <0x0 0x0 0x0 0xffffffff>;
                compatible = "simple-bus";
 
+               rpm_msg_ram: memory@60000 {
+                       compatible = "qcom,rpm-msg-ram";
+                       reg = <0x60000 0x8000>;
+               };
+
                pinctrl: qcom,tlmm@1000000 {
                        compatible = "qcom,tlmm-apq8016";
                        reg = <0x1000000 0x400000>;