Merge remote-tracking branch 'asoc/fix/rt5645' into asoc-linus
[sfrench/cifs-2.6.git] / arch / arm / boot / dts / qcom-apq8084.dtsi
index 1f130bc16858d4d1b2bbfbbca031cb49755b067a..7084010ee61ba463024a9e4ba5d48caf327e3c05 100644 (file)
@@ -21,6 +21,8 @@
                        enable-method = "qcom,kpss-acc-v2";
                        next-level-cache = <&L2>;
                        qcom,acc = <&acc0>;
+                       qcom,saw = <&saw0>;
+                       cpu-idle-states = <&CPU_SPC>;
                };
 
                cpu@1 {
@@ -30,6 +32,8 @@
                        enable-method = "qcom,kpss-acc-v2";
                        next-level-cache = <&L2>;
                        qcom,acc = <&acc1>;
+                       qcom,saw = <&saw1>;
+                       cpu-idle-states = <&CPU_SPC>;
                };
 
                cpu@2 {
@@ -39,6 +43,8 @@
                        enable-method = "qcom,kpss-acc-v2";
                        next-level-cache = <&L2>;
                        qcom,acc = <&acc2>;
+                       qcom,saw = <&saw2>;
+                       cpu-idle-states = <&CPU_SPC>;
                };
 
                cpu@3 {
@@ -48,6 +54,8 @@
                        enable-method = "qcom,kpss-acc-v2";
                        next-level-cache = <&L2>;
                        qcom,acc = <&acc3>;
+                       qcom,saw = <&saw3>;
+                       cpu-idle-states = <&CPU_SPC>;
                };
 
                L2: l2-cache {
                        cache-level = <2>;
                        qcom,saw = <&saw_l2>;
                };
+
+               idle-states {
+                       CPU_SPC: spc {
+                               compatible = "qcom,idle-state-spc",
+                                               "arm,idle-state";
+                               entry-latency-us = <150>;
+                               exit-latency-us = <200>;
+                               min-residency-us = <2000>;
+                       };
+               };
        };
 
        cpu-pmu {
                        };
                };
 
-               saw_l2: regulator@f9012000 {
+               saw0: power-controller@f9089000 {
+                       compatible = "qcom,apq8084-saw2-v2.1-cpu", "qcom,saw2";
+                       reg = <0xf9089000 0x1000>, <0xf9009000 0x1000>;
+               };
+
+               saw1: power-controller@f9099000 {
+                       compatible = "qcom,apq8084-saw2-v2.1-cpu", "qcom,saw2";
+                       reg = <0xf9099000 0x1000>, <0xf9009000 0x1000>;
+               };
+
+               saw2: power-controller@f90a9000 {
+                       compatible = "qcom,apq8084-saw2-v2.1-cpu", "qcom,saw2";
+                       reg = <0xf90a9000 0x1000>, <0xf9009000 0x1000>;
+               };
+
+               saw3: power-controller@f90b9000 {
+                       compatible = "qcom,apq8084-saw2-v2.1-cpu", "qcom,saw2";
+                       reg = <0xf90b9000 0x1000>, <0xf9009000 0x1000>;
+               };
+
+               saw_l2: power-controller@f9012000 {
                        compatible = "qcom,saw2";
                        reg = <0xf9012000 0x1000>;
                        regulator;
                        clock-names = "core", "iface";
                        status = "disabled";
                };
+
+               spmi_bus: spmi@fc4cf000 {
+                       compatible = "qcom,spmi-pmic-arb";
+                       reg-names = "core", "intr", "cnfg";
+                       reg = <0xfc4cf000 0x1000>,
+                             <0xfc4cb000 0x1000>,
+                             <0xfc4ca000 0x1000>;
+                       interrupt-names = "periph_irq";
+                       interrupts = <0 190 0>;
+                       qcom,ee = <0>;
+                       qcom,channel = <0>;
+                       #address-cells = <2>;
+                       #size-cells = <0>;
+                       interrupt-controller;
+                       #interrupt-cells = <4>;
+               };
        };
 };