aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorLina Iyer <lina.iyer@linaro.org>2014-10-24 17:40:18 -0600
committerSrinivas Kandagatla <srinivas.kandagatla@linaro.org>2014-11-10 07:23:50 +0000
commitdec9df6d347ef380e8bb8f194b8bf1674ce1008d (patch)
tree110cc50f070e04343b1b20a080786554b1937e2d /arch
parent9d9ec6d06dd76bdcc350c77d702c5d931b0efc80 (diff)
arm: dts: qcom: Add power-controller device node for 8974 Krait CPUs
Each Krait CPU in the QCOM 8974 SoC has an SAW power controller to regulate the power to the cpu and aide the core in entering idle states. Reference the SAW instance and associate the instance with the CPU core. Signed-off-by: Lina Iyer <lina.iyer@linaro.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/boot/dts/qcom-msm8974.dtsi26
1 files changed, 25 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/qcom-msm8974.dtsi b/arch/arm/boot/dts/qcom-msm8974.dtsi
index 45ff96d74079..a200883f7fed 100644
--- a/arch/arm/boot/dts/qcom-msm8974.dtsi
+++ b/arch/arm/boot/dts/qcom-msm8974.dtsi
@@ -24,6 +24,7 @@
clocks = <&kraitcc 0>;
clock-names = "cpu";
clock-latency = <100000>;
+ qcom,saw = <&saw0>;
};
cpu1: cpu@1 {
@@ -36,6 +37,7 @@
clocks = <&kraitcc 1>;
clock-names = "cpu";
clock-latency = <100000>;
+ qcom,saw = <&saw1>;
};
cpu2: cpu@2 {
@@ -48,6 +50,7 @@
clocks = <&kraitcc 2>;
clock-names = "cpu";
clock-latency = <100000>;
+ qcom,saw = <&saw2>;
};
cpu3: cpu@3 {
@@ -60,6 +63,7 @@
clocks = <&kraitcc 3>;
clock-names = "cpu";
clock-latency = <100000>;
+ qcom,saw = <&saw3>;
};
L2: l2-cache {
@@ -447,7 +451,27 @@
clock-output-names = "hfpll3";
};
- saw_l2: regulator@f9012000 {
+ saw0: power-controller@f9089000 {
+ compatible = "qcom,msm8974-saw2-v2.1-cpu";
+ reg = <0xf9089000 0x1000>;
+ };
+
+ saw1: power-controller@f9099000 {
+ compatible = "qcom,msm8974-saw2-v2.1-cpu";
+ reg = <0xf9099000 0x1000>;
+ };
+
+ saw2: power-controller@f90a9000 {
+ compatible = "qcom,msm8974-saw2-v2.1-cpu";
+ reg = <0xf90a9000 0x1000>;
+ };
+
+ saw3: power-controller@f90b9000 {
+ compatible = "qcom,msm8974-saw2-v2.1-cpu";
+ reg = <0xf90b9000 0x1000>;
+ };
+
+ saw_l2: power-controller@f9012000 {
compatible = "qcom,saw2";
reg = <0xf9012000 0x1000>;
regulator;