ARM: dts: msm8974: Add smem reservation and node
authorBjorn Andersson <bjorn.andersson@sonymobile.com>
Fri, 26 Jun 2015 21:50:17 +0000 (14:50 -0700)
committerAndy Gross <agross@codeaurora.org>
Thu, 23 Jul 2015 21:34:12 +0000 (16:34 -0500)
Signed-off-by: Bjorn Andersson <bjorn.andersson@sonymobile.com>
Signed-off-by: Andy Gross <agross@codeaurora.org>
arch/arm/boot/dts/qcom-msm8974.dtsi

index 7c7b7dc91e321fcf19456b2bb7e8f378a747cf85..d7c99b894a491c7011e8a95f3800f5585aeb49e4 100644 (file)
@@ -9,6 +9,17 @@
        compatible = "qcom,msm8974";
        interrupt-parent = <&intc>;
 
+       reserved-memory {
+               #address-cells = <1>;
+               #size-cells = <1>;
+               ranges;
+
+               smem_region: smem@fa00000 {
+                       reg = <0xfa00000 0x200000>;
+                       no-map;
+               };
+       };
+
        cpus {
                #address-cells = <1>;
                #size-cells = <0>;
                        #hwlock-cells = <1>;
                };
 
+               smem@fa00000 {
+                       compatible = "qcom,smem";
+
+                       memory-region = <&smem_region>;
+                       reg = <0xfc428000 0x4000>;
+
+                       hwlocks = <&tcsr_mutex 3>;
+               };
+
                serial@f991e000 {
                        compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
                        reg = <0xf991e000 0x1000>;