summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorArchana Sathyakumar <asathyak@codeaurora.org>2016-03-25 15:36:47 -0600
committerJeevan Shriram <jshriram@codeaurora.org>2016-04-05 11:28:56 -0700
commit668a7726758e7cc43b28fe1b723f55db652271fb (patch)
tree7d0fbf59166490336583ccbd53083dd64a5e4aaa /arch
parentdde29b75ebd015551120bed2be1bf5eb66081a06 (diff)
ARM: dts: msm: Support AVS_CTL register write for msmcobalt
CPRh communicates voltages to the PMIC via L2 SAW4. APCLUS{0,1}_L2_SAW4_AVS_CTL/LIMIT registers need to be programmed for CPRh operation. CRs-fixed: 987593 Change-Id: I635d710759a94e2bb29fd3c7811816d09243de50 Signed-off-by: Archana Sathyakumar <asathyak@codeaurora.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/boot/dts/qcom/msmcobalt-pm.dtsi32
1 files changed, 32 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/qcom/msmcobalt-pm.dtsi b/arch/arm/boot/dts/qcom/msmcobalt-pm.dtsi
index d48efe70c34a..50c725e9dc29 100644
--- a/arch/arm/boot/dts/qcom/msmcobalt-pm.dtsi
+++ b/arch/arm/boot/dts/qcom/msmcobalt-pm.dtsi
@@ -11,6 +11,38 @@
*/
&soc {
+ qcom,spm@178120000 {
+ compatible = "qcom,spm-v2";
+ #address-cells = <1>;
+ #size-cells = <1>;
+ reg = <0x17812000 0x1000>;
+ qcom,name = "gold-l2"; /* Gold L2 SAW */
+ qcom,saw2-ver-reg = <0xfd0>;
+ qcom,cpu-vctl-list = <&CPU4 &CPU5 &CPU6 &CPU7>;
+ qcom,vctl-timeout-us = <50>;
+ qcom,vctl-port = <0x0>;
+ qcom,phase-port = <0x1>;
+ qcom,saw2-avs-ctl = <0x1010031>;
+ qcom,saw2-avs-limit = <0x4000208>;
+ qcom,pfm-port = <0x2>;
+ };
+
+ qcom,spm@179120000 {
+ compatible = "qcom,spm-v2";
+ #address-cells = <1>;
+ #size-cells = <1>;
+ reg = <0x17912000 0x1000>;
+ qcom,name = "silver-l2"; /* Silver L2 SAW */
+ qcom,saw2-ver-reg = <0xfd0>;
+ qcom,cpu-vctl-list = <&CPU0 &CPU1 &CPU2 &CPU3>;
+ qcom,vctl-timeout-us = <50>;
+ qcom,vctl-port = <0x0>;
+ qcom,phase-port = <0x1>;
+ qcom,saw2-avs-ctl = <0x1010031>;
+ qcom,saw2-avs-limit = <0x4000208>;
+ qcom,pfm-port = <0x2>;
+ };
+
qcom,lpm-levels {
compatible = "qcom,lpm-levels";
qcom,use-psci;