summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLina Iyer <lina.iyer@linaro.org>2014-10-24 17:40:18 -0600
committerAndrey Konovalov <andrey.konovalov@linaro.org>2015-02-16 14:36:00 +0300
commitcd90796f9e19dfdf1b1eb746d092aa0704f91ecd (patch)
treed5d0a3c9b4ae83a639c6f2b9f2c3037664284c6d
parented6c157d66b0f8994a837d36f186de94d7a337a5 (diff)
downloadlinux-linaro-tracking-cd90796f9e19dfdf1b1eb746d092aa0704f91ecd.tar.gz
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;