]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
ARM: dts: qcom: apq8064: Add hwmutex and SMEM nodes
authorBjorn Andersson <bjorn.andersson@sonymobile.com>
Thu, 22 Oct 2015 18:13:48 +0000 (11:13 -0700)
committerSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Mon, 11 Jan 2016 09:54:07 +0000 (09:54 +0000)
Signed-off-by: Bjorn Andersson <bjorn.andersson@sonymobile.com>
Signed-off-by: Andy Gross <agross@codeaurora.org>
arch/arm/boot/dts/qcom-apq8064.dtsi

index 42286c634d1e300c0bf268a03f53a2c6105466a1..a72e1226372b1bef61c80c2f70140e2913c6f20d 100644 (file)
        compatible = "qcom,apq8064";
        interrupt-parent = <&intc>;
 
+       reserved-memory {
+               #address-cells = <1>;
+               #size-cells = <1>;
+               ranges;
+
+               smem_region: smem@80000000 {
+                       reg = <0x80000000 0x200000>;
+                       no-map;
+               };
+       };
+
        cpus {
                #address-cells = <1>;
                #size-cells = <0>;
                interrupts = <1 10 0x304>;
        };
 
+       sfpb_mutex: hwmutex {
+               compatible = "qcom,sfpb-mutex";
+               syscon = <&sfpb_wrapper_mutex 0x604 0x4>;
+               #hwlock-cells = <1>;
+       };
+
+       smem {
+               compatible = "qcom,smem";
+               memory-region = <&smem_region>;
+
+               hwlocks = <&sfpb_mutex 3>;
+       };
+
        soc: soc {
                #address-cells = <1>;
                #size-cells = <1>;
                        };
                };
 
+               sfpb_wrapper_mutex: syscon@1200000 {
+                       compatible = "syscon";
+                       reg = <0x01200000 0x8000>;
+               };
+
                intc: interrupt-controller@2000000 {
                        compatible = "qcom,msm-qgic2";
                        interrupt-controller;