1 From bcb9ab4c2917e92114d2f4c2b1da97cdf15b471b Mon Sep 17 00:00:00 2001
2 From: Matthew McClintock <mmcclint@codeaurora.org>
3 Date: Wed, 25 Jul 2018 10:37:46 +0200
4 Subject: [PATCH] ARM: dts: qcom: ipq4019: add cpu operating points for cpufreq
7 This adds some operating points for cpu frequeny scaling
9 Signed-off-by: Matthew McClintock <mmcclint@codeaurora.org>
10 Signed-off-by: John Crispin <john@phrozen.org>
11 Signed-off-by: Andy Gross <andy.gross@linaro.org>
13 arch/arm/boot/dts/qcom-ipq4019.dtsi | 58 ++++++++++++++---------------
14 1 file changed, 30 insertions(+), 28 deletions(-)
16 --- a/arch/arm/boot/dts/qcom-ipq4019.dtsi
17 +++ b/arch/arm/boot/dts/qcom-ipq4019.dtsi
20 clocks = <&gcc GCC_APPS_CLK_SRC>;
21 clock-frequency = <0>;
22 - operating-points = <
23 - /* kHz uV (fixed) */
29 clock-latency = <256000>;
30 + operating-points-v2 = <&cpu0_opp_table>;
36 clocks = <&gcc GCC_APPS_CLK_SRC>;
37 clock-frequency = <0>;
38 - operating-points = <
39 - /* kHz uV (fixed) */
45 clock-latency = <256000>;
46 + operating-points-v2 = <&cpu0_opp_table>;
52 clocks = <&gcc GCC_APPS_CLK_SRC>;
53 clock-frequency = <0>;
54 - operating-points = <
55 - /* kHz uV (fixed) */
61 clock-latency = <256000>;
62 + operating-points-v2 = <&cpu0_opp_table>;
68 clocks = <&gcc GCC_APPS_CLK_SRC>;
69 clock-frequency = <0>;
70 - operating-points = <
71 - /* kHz uV (fixed) */
77 clock-latency = <256000>;
78 + operating-points-v2 = <&cpu0_opp_table>;
86 + cpu0_opp_table: opp_table0 {
87 + compatible = "operating-points-v2";
91 + opp-hz = /bits/ 64 <48000000>;
92 + opp-microvolt = <1100000>;
93 + clock-latency-ns = <256000>;
96 + opp-hz = /bits/ 64 <200000000>;
97 + opp-microvolt = <1100000>;
98 + clock-latency-ns = <256000>;
101 + opp-hz = /bits/ 64 <500000000>;
102 + opp-microvolt = <1100000>;
103 + clock-latency-ns = <256000>;
106 + opp-hz = /bits/ 64 <716000000>;
107 + opp-microvolt = <1100000>;
108 + clock-latency-ns = <256000>;
113 compatible = "arm,cortex-a7-pmu";
114 interrupts = <GIC_PPI 7 (GIC_CPU_MASK_SIMPLE(4) |