aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLina Iyer <lina.iyer@linaro.org>2014-10-24 17:40:18 -0600
committerAndrey Konovalov <andrey.konovalov@linaro.org>2014-11-12 18:22:08 +0300
commit564a5ecd54b883665da86ab6526fc61af307f3a0 (patch)
tree9a02ed2a77cfb1dea6ec0587d21b083dc3e816bb
parent9ed8cac2b5629a2d5de58fcaa20fe41602bcc008 (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>
-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;