ARM: dts: qcom: Add MSM8960 RPM and RPM regulator nodes
authorStephen Boyd <sboyd@codeaurora.org>
Tue, 16 Jun 2015 20:31:13 +0000 (13:31 -0700)
committerAndy Gross <agross@codeaurora.org>
Thu, 23 Jul 2015 21:34:12 +0000 (16:34 -0500)
Add the basic RPM and RPM regulator nodes that boards can fill in
with their board specific details.

Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Andy Gross <agross@codeaurora.org>
arch/arm/boot/dts/qcom-msm8960.dtsi

index 1ae3fe828e59299d0e55a683ee49f1e814ff71f4..fcf4bb5f9c3fb5cd9c4ea9d1ccba5102aea81c2d 100644 (file)
@@ -4,6 +4,7 @@
 
 #include <dt-bindings/interrupt-controller/arm-gic.h>
 #include <dt-bindings/clock/qcom,gcc-msm8960.h>
+#include <dt-bindings/mfd/qcom-rpm.h>
 #include <dt-bindings/soc/qcom,gsbi.h>
 
 / {
                        #reset-cells = <1>;
                };
 
+               l2cc: clock-controller@2011000 {
+                       compatible      = "syscon";
+                       reg             = <0x2011000 0x1000>;
+               };
+
+               rpm@108000 {
+                       compatible      = "qcom,rpm-msm8960";
+                       reg             = <0x108000 0x1000>;
+                       qcom,ipc        = <&l2cc 0x8 2>;
+
+                       interrupts      = <0 19 0>, <0 21 0>, <0 22 0>;
+                       interrupt-names = "ack", "err", "wakeup";
+
+                       regulators {
+                               compatible = "qcom,rpm-pm8921-regulators";
+                       };
+               };
+
                acc0: clock-controller@2088000 {
                        compatible = "qcom,kpss-acc-v1";
                        reg = <0x02088000 0x1000>, <0x02008000 0x1000>;