arm64: dts: qcom: Add RPM/SMD support on MSM8916
authorAndy Gross <agross@codeaurora.org>
Thu, 24 Sep 2015 19:18:53 +0000 (14:18 -0500)
committerAndy Gross <andy.gross@linaro.org>
Thu, 17 Dec 2015 05:01:44 +0000 (23:01 -0600)
Add support for the SMD and RPM devices found on MSM8916 platforms.

Signed-off-by: Andy Gross <agross@codeaurora.org>
Acked-by: Bjorn Andersson <bjorn.andersson@sonymobile.com>
arch/arm64/boot/dts/qcom/msm8916.dtsi

index 058e3551d58178d4a7d0457ee463ce279e52f266..fc6e8d60b736bf324571e8f1364badc09d8711d6 100644 (file)
                        status = "disabled";
                };
 
+               apcs: syscon@b011000 {
+                       compatible = "syscon";
+                       reg = <0x0b011000 0x1000>;
+               };
+
                blsp1_uart2: serial@78b0000 {
                        compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
                        reg = <0x78b0000 0x200>;
                        clock-names = "core";
                };
        };
+
+       smd {
+               compatible = "qcom,smd";
+
+               rpm {
+                       interrupts = <GIC_SPI 168 IRQ_TYPE_EDGE_RISING>;
+                       qcom,ipc = <&apcs 8 0>;
+                       qcom,smd-edge = <15>;
+
+                       rpm_requests {
+                               compatible = "qcom,rpm-msm8916";
+                               qcom,smd-channels = "rpm_requests";
+                       };
+               };
+       };
 };
 
 #include "msm8916-pins.dtsi"