]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
ARM: dts: qcom: Add necessary DT data for Krait cpufreq
authorStephen Boyd <sboyd@codeaurora.org>
Fri, 5 Sep 2014 22:47:36 +0000 (15:47 -0700)
committerSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Mon, 11 Jan 2016 09:54:10 +0000 (09:54 +0000)
Add the necessary DT nodes and data so we can probe the cpufreq
driver on MSM devices with Krait CPUs.

Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
arch/arm/boot/dts/qcom-apq8064.dtsi
arch/arm/boot/dts/qcom-msm8960.dtsi
arch/arm/boot/dts/qcom-msm8974.dtsi

index 3813b1bf0682ac460ca7726432b8d83c42345303..eae63a8fc5a8e708f82ac59d3e006b567cd6902f 100644 (file)
@@ -36,6 +36,9 @@
                        qcom,acc = <&acc0>;
                        qcom,saw = <&saw0>;
                        cpu-idle-states = <&CPU_SPC>;
+                       clocks = <&kraitcc 0>;
+                       clock-names = "cpu";
+                       clock-latency = <100000>;
                };
 
                cpu@1 {
@@ -47,6 +50,9 @@
                        qcom,acc = <&acc1>;
                        qcom,saw = <&saw1>;
                        cpu-idle-states = <&CPU_SPC>;
+                       clocks = <&kraitcc 1>;
+                       clock-names = "cpu";
+                       clock-latency = <100000>;
                };
 
                cpu@2 {
@@ -58,6 +64,9 @@
                        qcom,acc = <&acc2>;
                        qcom,saw = <&saw2>;
                        cpu-idle-states = <&CPU_SPC>;
+                       clocks = <&kraitcc 2>;
+                       clock-names = "cpu";
+                       clock-latency = <100000>;
                };
 
                cpu@3 {
@@ -69,6 +78,9 @@
                        qcom,acc = <&acc3>;
                        qcom,saw = <&saw3>;
                        cpu-idle-states = <&CPU_SPC>;
+                       clocks = <&kraitcc 3>;
+                       clock-names = "cpu";
+                       clock-latency = <100000>;
                };
 
                L2: l2-cache {
                hwlocks = <&sfpb_mutex 3>;
        };
 
+       qcom,pvs {
+               qcom,pvs-format-a;
+               qcom,speed0-pvs0-bin-v0 =
+                       < 384000000 950000  >,
+                       < 486000000 975000  >,
+                       < 594000000 1000000  >,
+                       < 702000000 1025000  >,
+                       < 810000000 1075000  >,
+                       < 918000000 1100000  >;
+
+               qcom,speed0-pvs1-bin-v0 =
+                       < 384000000 900000  >,
+                       < 486000000 925000  >,
+                       < 594000000 950000  >,
+                       < 702000000 975000  >,
+                       < 810000000 1025000  >,
+                       < 918000000 1050000  >;
+
+               qcom,speed0-pvs3-bin-v0 =
+                       < 384000000 850000  >,
+                       < 486000000 875000  >,
+                       < 594000000 900000  >,
+                       < 702000000 925000  >,
+                       < 810000000 975000  >,
+                       < 918000000 1000000  >;
+
+               qcom,speed0-pvs4-bin-v0 =
+                       < 384000000 850000  >,
+                       < 486000000 875000  >,
+                       < 594000000 900000  >,
+                       < 702000000 925000  >,
+                       < 810000000 962500  >,
+                       < 918000000 975000  >;
+
+               qcom,speed1-pvs0-bin-v0 =
+                       < 384000000 950000  >,
+                       < 486000000 950000  >,
+                       < 594000000 950000  >,
+                       < 702000000 962500  >,
+                       < 810000000 1000000  >,
+                       < 918000000 1025000  >;
+
+               qcom,speed1-pvs1-bin-v0 =
+                       < 384000000 950000  >,
+                       < 486000000 950000  >,
+                       < 594000000 950000  >,
+                       < 702000000 962500  >,
+                       < 810000000 975000  >,
+                       < 918000000 1000000  >;
+
+               qcom,speed1-pvs2-bin-v0 =
+                       < 384000000 925000  >,
+                       < 486000000 925000  >,
+                       < 594000000 925000  >,
+                       < 702000000 925000  >,
+                       < 810000000 937500  >,
+                       < 918000000 950000  >;
+
+               qcom,speed1-pvs3-bin-v0 =
+                       < 384000000 900000  >,
+                       < 486000000 900000  >,
+                       < 594000000 900000  >,
+                       < 702000000 900000  >,
+                       < 810000000 900000  >,
+                       < 918000000 925000  >;
+
+               qcom,speed1-pvs4-bin-v0 =
+                       < 384000000 875000  >,
+                       < 486000000 875000  >,
+                       < 594000000 875000  >,
+                       < 702000000 875000  >,
+                       < 810000000 887500  >,
+                       < 918000000 900000  >;
+
+               qcom,speed1-pvs5-bin-v0 =
+                       < 384000000 875000  >,
+                       < 486000000 875000  >,
+                       < 594000000 875000  >,
+                       < 702000000 875000  >,
+                       < 810000000 887500  >,
+                       < 918000000 900000  >;
+
+               qcom,speed1-pvs6-bin-v0 =
+                       < 384000000 875000  >,
+                       < 486000000 875000  >,
+                       < 594000000 875000  >,
+                       < 702000000 875000  >,
+                       < 810000000 887500  >,
+                       < 918000000 900000  >;
+
+               qcom,speed2-pvs0-bin-v0 =
+                       < 384000000 950000  >,
+                       < 486000000 950000  >,
+                       < 594000000 950000  >,
+                       < 702000000 950000  >,
+                       < 810000000 962500  >,
+                       < 918000000 975000  >;
+
+               qcom,speed2-pvs1-bin-v0 =
+                       < 384000000 925000  >,
+                       < 486000000 925000  >,
+                       < 594000000 925000  >,
+                       < 702000000 925000  >,
+                       < 810000000 937500  >,
+                       < 918000000 950000  >;
+
+               qcom,speed2-pvs2-bin-v0 =
+                       < 384000000 900000  >,
+                       < 486000000 900000  >,
+                       < 594000000 900000  >,
+                       < 702000000 900000  >,
+                       < 810000000 912500  >,
+                       < 918000000 925000  >;
+
+               qcom,speed2-pvs3-bin-v0 =
+                       < 384000000 900000  >,
+                       < 486000000 900000  >,
+                       < 594000000 900000  >,
+                       < 702000000 900000  >,
+                       < 810000000 900000  >,
+                       < 918000000 912500  >;
+
+               qcom,speed2-pvs4-bin-v0 =
+                       < 384000000 875000  >,
+                       < 486000000 875000  >,
+                       < 594000000 875000  >,
+                       < 702000000 875000  >,
+                       < 810000000 887500  >,
+                       < 918000000 900000  >;
+
+               qcom,speed2-pvs5-bin-v0 =
+                       < 384000000 875000  >,
+                       < 486000000 875000  >,
+                       < 594000000 875000  >,
+                       < 702000000 875000  >,
+                       < 810000000 887500  >,
+                       < 918000000 900000  >;
+
+               qcom,speed2-pvs6-bin-v0 =
+                       < 384000000 875000  >,
+                       < 486000000 875000  >,
+                       < 594000000 875000  >,
+                       < 702000000 875000  >,
+                       < 810000000 887500  >,
+                       < 918000000 900000  >;
+
+               qcom,speed14-pvs0-bin-v0 =
+                       < 384000000 950000 >,
+                       < 486000000 950000 >,
+                       < 594000000 950000 >,
+                       < 702000000 962500 >,
+                       < 810000000 1000000 >,
+                       < 918000000 1025000 >;
+
+               qcom,speed14-pvs1-bin-v0 =
+                       < 384000000 950000 >,
+                       < 486000000 950000 >,
+                       < 594000000 950000 >,
+                       < 702000000 962500 >,
+                       < 810000000 975000 >,
+                       < 918000000 1000000 >;
+
+               qcom,speed14-pvs2-bin-v0 =
+                       < 384000000 925000 >,
+                       < 486000000 925000 >,
+                       < 594000000 925000 >,
+                       < 702000000 925000 >,
+                       < 810000000 937500 >,
+                       < 918000000 950000 >;
+
+               qcom,speed14-pvs3-bin-v0 =
+                       < 384000000 900000 >,
+                       < 486000000 900000 >,
+                       < 594000000 900000 >,
+                       < 702000000 900000 >,
+                       < 810000000 900000 >,
+                       < 918000000 925000 >;
+
+               qcom,speed14-pvs4-bin-v0 =
+                       < 384000000 875000 >,
+                       < 486000000 875000 >,
+                       < 594000000 875000 >,
+                       < 702000000 875000 >,
+                       < 810000000 887500 >,
+                       < 918000000 900000 >;
+
+               qcom,speed14-pvs5-bin-v0 =
+                       < 384000000 875000 >,
+                       < 486000000 875000 >,
+                       < 594000000 875000 >,
+                       < 702000000 875000 >,
+                       < 810000000 887500 >,
+                       < 918000000 900000 >;
+
+               qcom,speed14-pvs6-bin-v0 =
+                       < 384000000 875000 >,
+                       < 486000000 875000 >,
+                       < 594000000 875000 >,
+                       < 702000000 875000 >,
+                       < 810000000 887500 >,
+                       < 918000000 900000 >;
+       };
+
+       kraitcc: clock-controller {
+               compatible = "qcom,krait-cc-v1";
+               #clock-cells = <1>;
+       };
+
        soc: soc {
                #address-cells = <1>;
                #size-cells = <1>;
                acc0: clock-controller@2088000 {
                        compatible = "qcom,kpss-acc-v1";
                        reg = <0x02088000 0x1000>, <0x02008000 0x1000>;
+                       clock-output-names = "acpu0_aux";
                };
 
                acc1: clock-controller@2098000 {
                        compatible = "qcom,kpss-acc-v1";
                        reg = <0x02098000 0x1000>, <0x02008000 0x1000>;
+                       clock-output-names = "acpu1_aux";
                };
 
                acc2: clock-controller@20a8000 {
                        compatible = "qcom,kpss-acc-v1";
                        reg = <0x020a8000 0x1000>, <0x02008000 0x1000>;
+                       clock-output-names = "acpu2_aux";
                };
 
                acc3: clock-controller@20b8000 {
                        compatible = "qcom,kpss-acc-v1";
                        reg = <0x020b8000 0x1000>, <0x02008000 0x1000>;
+                       clock-output-names = "acpu3_aux";
                };
 
                saw0: power-controller@2089000 {
index 134cd91d68ece1034077c0e36f154756f6143cb6..14a8b96ae9b68448a3c71c4b175313cc9d23085a 100644 (file)
                        next-level-cache = <&L2>;
                        qcom,acc = <&acc0>;
                        qcom,saw = <&saw0>;
+                       clocks = <&kraitcc 0>;
+                       clock-names = "cpu";
+                       clock-latency = <100000>;
+
                };
 
                cpu@1 {
                        next-level-cache = <&L2>;
                        qcom,acc = <&acc1>;
                        qcom,saw = <&saw1>;
+                       clocks = <&kraitcc 1>;
+                       clock-names = "cpu";
+                       clock-latency = <100000>;
+
                };
 
                L2: l2-cache {
                qcom,no-pc-write;
        };
 
+       qcom,pvs {
+               qcom,pvs-format-a;
+                       /* Hz           uV */
+               qcom,speed0-pvs0-bin-v0 =
+                       <  384000000  950000 >,
+                       <  486000000  975000 >,
+                       <  594000000 1000000 >,
+                       <  702000000 1025000 >,
+                       <  810000000 1075000 >,
+                       <  918000000 1100000 >;
+
+               qcom,speed0-pvs1-bin-v0 =
+                       <  384000000  900000 >,
+                       <  486000000  925000 >,
+                       <  594000000  950000 >,
+                       <  702000000  975000 >,
+                       <  810000000 1025000 >,
+                       <  918000000 1050000 >;
+
+               qcom,speed0-pvs3-bin-v0 =
+                       <  384000000  850000 >,
+                       <  486000000  875000 >,
+                       <  594000000  900000 >,
+                       <  702000000  925000 >,
+                       <  810000000  975000 >,
+                       <  918000000 1000000 >;
+       };
+
+       kraitcc: clock-controller {
+               compatible = "qcom,krait-cc-v1";
+               #clock-cells = <1>;
+       };
+
        soc: soc {
                #address-cells = <1>;
                #size-cells = <1>;
                acc0: clock-controller@2088000 {
                        compatible = "qcom,kpss-acc-v1";
                        reg = <0x02088000 0x1000>, <0x02008000 0x1000>;
+                       clock-output-names = "acpu0_aux";
                };
 
                acc1: clock-controller@2098000 {
                        compatible = "qcom,kpss-acc-v1";
                        reg = <0x02098000 0x1000>, <0x02008000 0x1000>;
+                       clock-output-names = "acpu1_aux";
+               };
+
+               l2cc: clock-controller@2011000 {
+                       compatible = "qcom,kpss-gcc";
+                       reg = <0x2011000 0x1000>;
+                       clock-output-names = "acpu_l2_aux";
                };
 
                saw0: regulator@2089000 {
index 753bdfddd46ea5d503c8409cc5c035b239efe47c..8ffda3dd5b1744c50811eaeae8f63f7afd4e2ed1 100644 (file)
@@ -25,7 +25,7 @@
                #size-cells = <0>;
                interrupts = <1 9 0xf04>;
 
-               cpu@0 {
+               cpu0: cpu@0 {
                        compatible = "qcom,krait";
                        enable-method = "qcom,kpss-acc-v2";
                        device_type = "cpu";
                        qcom,acc = <&acc0>;
                        qcom,saw = <&saw0>;
                        cpu-idle-states = <&CPU_SPC>;
+                       clocks = <&kraitcc 0>;
+                       clock-names = "cpu";
+                       clock-latency = <100000>;
                };
 
-               cpu@1 {
+               cpu1: cpu@1 {
                        compatible = "qcom,krait";
                        enable-method = "qcom,kpss-acc-v2";
                        device_type = "cpu";
                        qcom,acc = <&acc1>;
                        qcom,saw = <&saw1>;
                        cpu-idle-states = <&CPU_SPC>;
+                       clocks = <&kraitcc 1>;
+                       clock-names = "cpu";
+                       clock-latency = <100000>;
                };
 
-               cpu@2 {
+               cpu2: cpu@2 {
                        compatible = "qcom,krait";
                        enable-method = "qcom,kpss-acc-v2";
                        device_type = "cpu";
                        qcom,acc = <&acc2>;
                        qcom,saw = <&saw2>;
                        cpu-idle-states = <&CPU_SPC>;
+                       clocks = <&kraitcc 2>;
+                       clock-names = "cpu";
+                       clock-latency = <100000>;
                };
 
-               cpu@3 {
+               cpu3: cpu@3 {
                        compatible = "qcom,krait";
                        enable-method = "qcom,kpss-acc-v2";
                        device_type = "cpu";
@@ -67,6 +76,9 @@
                        qcom,acc = <&acc3>;
                        qcom,saw = <&saw3>;
                        cpu-idle-states = <&CPU_SPC>;
+                       clocks = <&kraitcc 3>;
+                       clock-names = "cpu";
+                       clock-latency = <100000>;
                };
 
                L2: l2-cache {
                hwlocks = <&tcsr_mutex 3>;
        };
 
+       qcom,pvs {
+               qcom,pvs-format-b;
+                       /* Hz           uV      ua */
+               qcom,speed0-pvs0-bin-v0 =
+                       <  300000000  815000  73 >,
+                       <  345600000  825000  85 >,
+                       <  422400000  835000 104 >,
+                       <  499200000  845000 124 >,
+                       <  576000000  855000 144 >,
+                       <  652800000  865000 165 >,
+                       <  729600000  875000 186 >,
+                       <  806400000  890000 208 >,
+                       <  883200000  900000 229 >,
+                       <  960000000  915000 252 >;
+
+               qcom,speed0-pvs1-bin-v0 =
+                       <  300000000  800000  73 >,
+                       <  345600000  810000  85 >,
+                       <  422400000  820000 104 >,
+                       <  499200000  830000 124 >,
+                       <  576000000  840000 144 >,
+                       <  652800000  850000 165 >,
+                       <  729600000  860000 186 >,
+                       <  806400000  875000 208 >,
+                       <  883200000  885000 229 >,
+                       <  960000000  895000 252 >;
+
+               qcom,speed0-pvs2-bin-v0 =
+                       <  300000000  785000  73 >,
+                       <  345600000  795000  85 >,
+                       <  422400000  805000 104 >,
+                       <  499200000  815000 124 >,
+                       <  576000000  825000 144 >,
+                       <  652800000  835000 165 >,
+                       <  729600000  845000 186 >,
+                       <  806400000  855000 208 >,
+                       <  883200000  865000 229 >,
+                       <  960000000  875000 252 >;
+
+               qcom,speed0-pvs3-bin-v0 =
+                       <  300000000  775000  73 >,
+                       <  345600000  780000  85 >,
+                       <  422400000  790000 104 >,
+                       <  499200000  800000 124 >,
+                       <  576000000  810000 144 >,
+                       <  652800000  820000 165 >,
+                       <  729600000  830000 186 >,
+                       <  806400000  840000 208 >,
+                       <  883200000  850000 229 >,
+                       <  960000000  860000 252 >;
+
+               qcom,speed0-pvs4-bin-v0 =
+                       <  300000000  775000  73 >,
+                       <  345600000  775000  85 >,
+                       <  422400000  780000 104 >,
+                       <  499200000  790000 124 >,
+                       <  576000000  800000 144 >,
+                       <  652800000  810000 165 >,
+                       <  729600000  820000 186 >,
+                       <  806400000  830000 208 >,
+                       <  883200000  840000 229 >,
+                       <  960000000  850000 252 >;
+
+               qcom,speed0-pvs5-bin-v0 =
+                       <  300000000  750000  73 >,
+                       <  345600000  760000  85 >,
+                       <  422400000  770000 104 >,
+                       <  499200000  780000 124 >,
+                       <  576000000  790000 144 >,
+                       <  652800000  800000 165 >,
+                       <  729600000  810000 186 >,
+                       <  806400000  820000 208 >,
+                       <  883200000  830000 229 >,
+                       <  960000000  840000 252 >;
+
+               qcom,speed0-pvs6-bin-v0 =
+                       <  300000000  750000  73 >,
+                       <  345600000  750000  85 >,
+                       <  422400000  760000 104 >,
+                       <  499200000  770000 124 >,
+                       <  576000000  780000 144 >,
+                       <  652800000  790000 165 >,
+                       <  729600000  800000 186 >,
+                       <  806400000  810000 208 >,
+                       <  883200000  820000 229 >,
+                       <  960000000  830000 252 >;
+
+               qcom,speed2-pvs0-bin-v0 =
+                       <  300000000  800000  72 >,
+                       <  345600000  800000  83 >,
+                       <  422400000  805000 102 >,
+                       <  499200000  815000 121 >,
+                       <  576000000  825000 141 >,
+                       <  652800000  835000 161 >,
+                       <  729600000  845000 181 >,
+                       <  806400000  855000 202 >,
+                       <  883200000  865000 223 >,
+                       <  960000000  875000 245 >;
+
+               qcom,speed2-pvs1-bin-v0 =
+                       <  300000000  800000  72 >,
+                       <  345600000  800000  83 >,
+                       <  422400000  800000 102 >,
+                       <  499200000  800000 121 >,
+                       <  576000000  810000 141 >,
+                       <  652800000  820000 161 >,
+                       <  729600000  830000 181 >,
+                       <  806400000  840000 202 >,
+                       <  883200000  850000 223 >,
+                       <  960000000  860000 245 >;
+
+               qcom,speed2-pvs2-bin-v0 =
+                       <  300000000  775000  72 >,
+                       <  345600000  775000  83 >,
+                       <  422400000  775000 102 >,
+                       <  499200000  785000 121 >,
+                       <  576000000  795000 141 >,
+                       <  652800000  805000 161 >,
+                       <  729600000  815000 181 >,
+                       <  806400000  825000 202 >,
+                       <  883200000  835000 223 >,
+                       <  960000000  845000 245 >;
+
+               qcom,speed2-pvs3-bin-v0 =
+                       <  300000000  775000  72 >,
+                       <  345600000  775000  83 >,
+                       <  422400000  775000 102 >,
+                       <  499200000  775000 121 >,
+                       <  576000000  780000 141 >,
+                       <  652800000  790000 161 >,
+                       <  729600000  800000 181 >,
+                       <  806400000  810000 202 >,
+                       <  883200000  820000 223 >,
+                       <  960000000  830000 245 >;
+
+               qcom,speed2-pvs4-bin-v0 =
+                       <  300000000  775000  72 >,
+                       <  345600000  775000  83 >,
+                       <  422400000  775000 102 >,
+                       <  499200000  775000 121 >,
+                       <  576000000  775000 141 >,
+                       <  652800000  780000 161 >,
+                       <  729600000  790000 181 >,
+                       <  806400000  800000 202 >,
+                       <  883200000  810000 223 >,
+                       <  960000000  820000 245 >;
+
+               qcom,speed2-pvs5-bin-v0 =
+                       <  300000000  750000  72 >,
+                       <  345600000  750000  83 >,
+                       <  422400000  750000 102 >,
+                       <  499200000  750000 121 >,
+                       <  576000000  760000 141 >,
+                       <  652800000  770000 161 >,
+                       <  729600000  780000 181 >,
+                       <  806400000  790000 202 >,
+                       <  883200000  800000 223 >,
+                       <  960000000  810000 245 >;
+
+               qcom,speed2-pvs6-bin-v0 =
+                       <  300000000  750000  72 >,
+                       <  345600000  750000  83 >,
+                       <  422400000  750000 102 >,
+                       <  499200000  750000 121 >,
+                       <  576000000  750000 141 >,
+                       <  652800000  760000 161 >,
+                       <  729600000  770000 181 >,
+                       <  806400000  780000 202 >,
+                       <  883200000  790000 223 >,
+                       <  960000000  800000 245 >;
+
+               qcom,speed1-pvs0-bin-v0 =
+                       <  300000000  775000  72 >,
+                       <  345600000  775000  83 >,
+                       <  422400000  775000 101 >,
+                       <  499200000  780000 120 >,
+                       <  576000000  790000 139 >,
+                       <  652800000  800000 159 >,
+                       <  729600000  810000 180 >,
+                       <  806400000  820000 200 >,
+                       <  883200000  830000 221 >,
+                       <  960000000  840000 242 >;
+
+               qcom,speed1-pvs1-bin-v0 =
+                       <  300000000  775000  72 >,
+                       <  345600000  775000  83 >,
+                       <  422400000  775000 101 >,
+                       <  499200000  775000 120 >,
+                       <  576000000  775000 139 >,
+                       <  652800000  785000 159 >,
+                       <  729600000  795000 180 >,
+                       <  806400000  805000 200 >,
+                       <  883200000  815000 221 >,
+                       <  960000000  825000 242 >;
+
+               qcom,speed1-pvs2-bin-v0 =
+                       <  300000000  750000  72 >,
+                       <  345600000  750000  83 >,
+                       <  422400000  750000 101 >,
+                       <  499200000  750000 120 >,
+                       <  576000000  760000 139 >,
+                       <  652800000  770000 159 >,
+                       <  729600000  780000 180 >,
+                       <  806400000  790000 200 >,
+                       <  883200000  800000 221 >,
+                       <  960000000  810000 242 >;
+
+               qcom,speed1-pvs3-bin-v0 =
+                       <  300000000  750000  72 >,
+                       <  345600000  750000  83 >,
+                       <  422400000  750000 101 >,
+                       <  499200000  750000 120 >,
+                       <  576000000  750000 139 >,
+                       <  652800000  755000 159 >,
+                       <  729600000  765000 180 >,
+                       <  806400000  775000 200 >,
+                       <  883200000  785000 221 >,
+                       <  960000000  795000 242 >;
+
+               qcom,speed1-pvs4-bin-v0 =
+                       <  300000000  750000  72 >,
+                       <  345600000  750000  83 >,
+                       <  422400000  750000 101 >,
+                       <  499200000  750000 120 >,
+                       <  576000000  750000 139 >,
+                       <  652800000  750000 159 >,
+                       <  729600000  755000 180 >,
+                       <  806400000  765000 200 >,
+                       <  883200000  775000 221 >,
+                       <  960000000  785000 242 >;
+
+               qcom,speed1-pvs5-bin-v0 =
+                       <  300000000  725000  72 >,
+                       <  345600000  725000  83 >,
+                       <  422400000  725000 101 >,
+                       <  499200000  725000 120 >,
+                       <  576000000  725000 139 >,
+                       <  652800000  735000 159 >,
+                       <  729600000  745000 180 >,
+                       <  806400000  755000 200 >,
+                       <  883200000  765000 221 >,
+                       <  960000000  775000 242 >;
+
+               qcom,speed1-pvs6-bin-v0 =
+                       <  300000000  725000  72 >,
+                       <  345600000  725000  83 >,
+                       <  422400000  725000 101 >,
+                       <  499200000  725000 120 >,
+                       <  576000000  725000 139 >,
+                       <  652800000  725000 159 >,
+                       <  729600000  735000 180 >,
+                       <  806400000  745000 200 >,
+                       <  883200000  755000 221 >,
+                       <  960000000  765000 242 >;
+       };
+
+       kraitcc: clock-controller {
+               compatible = "qcom,krait-cc-v2";
+               #clock-cells = <1>;
+       };
+
        soc: soc {
                #address-cells = <1>;
                #size-cells = <1>;
                        reg = <0xf90b9000 0x1000>, <0xf9009000 0x1000>;
                };
 
-               saw_l2: power-controller@f9012000 {
+               clock-controller@f9016000 {
+                       compatible = "qcom,hfpll";
+                       reg = <0xf9016000 0x30>;
+                       clock-output-names = "hfpll_l2";
+               };
+
+               clock-controller@f908a000 {
+                       compatible = "qcom,hfpll";
+                       reg = <0xf908a000 0x30>, <0xf900a000 0x30>;
+                       clock-output-names = "hfpll0";
+               };
+
+               clock-controller@f909a000 {
+                       compatible = "qcom,hfpll";
+                       reg = <0xf909a000 0x30>, <0xf900a000 0x30>;
+                       clock-output-names = "hfpll1";
+               };
+
+               clock-controller@f90aa000 {
+                       compatible = "qcom,hfpll";
+                       reg = <0xf90aa000 0x30>, <0xf900a000 0x30>;
+                       clock-output-names = "hfpll2";
+               };
+
+               clock-controller@f90ba000 {
+                       compatible = "qcom,hfpll";
+                       reg = <0xf90ba000 0x30>, <0xf900a000 0x30>;
+                       clock-output-names = "hfpll3";
+               };
+
+               saw_l2: regulator@f9012000 {
                        compatible = "qcom,saw2";
                        reg = <0xf9012000 0x1000>;
                        regulator;