Skip to content

Commit 0e78d93

Browse files
finley1226rkhuangtao
authored andcommitted
arm: dts: rk3066a: Add operating-points-v2 property for cpu
This patch adds a new opp table for cpu. Change-Id: I236fd158efc404c3d3611e3e7d1860cdf534aa57 Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
1 parent c97fcdf commit 0e78d93

1 file changed

Lines changed: 32 additions & 9 deletions

File tree

arch/arm/boot/dts/rk3066a.dtsi

Lines changed: 32 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -59,22 +59,45 @@
5959
compatible = "arm,cortex-a9";
6060
next-level-cache = <&L2>;
6161
reg = <0x0>;
62-
operating-points = <
63-
/* kHz uV */
64-
1008000 1075000
65-
816000 1025000
66-
600000 1025000
67-
504000 1000000
68-
312000 975000
69-
>;
70-
clock-latency = <40000>;
62+
operating-points-v2 = <&cpu0_opp_table>;
7163
clocks = <&cru ARMCLK>;
7264
};
7365
cpu@1 {
7466
device_type = "cpu";
7567
compatible = "arm,cortex-a9";
7668
next-level-cache = <&L2>;
7769
reg = <0x1>;
70+
operating-points-v2 = <&cpu0_opp_table>;
71+
};
72+
};
73+
74+
cpu0_opp_table: opp_table0 {
75+
compatible = "operating-points-v2";
76+
opp-shared;
77+
78+
opp-312000000 {
79+
opp-hz = /bits/ 64 <312000000>;
80+
opp-microvolt = <1075000>;
81+
clock-latency-ns = <40000>;
82+
status = "disabled";
83+
};
84+
opp-504000000 {
85+
opp-hz = /bits/ 64 <504000000>;
86+
opp-microvolt = <1100000>;
87+
clock-latency-ns = <40000>;
88+
status = "disabled";
89+
};
90+
opp-816000000 {
91+
opp-hz = /bits/ 64 <816000000>;
92+
opp-microvolt = <1125000>;
93+
clock-latency-ns = <40000>;
94+
status = "disabled";
95+
};
96+
opp-1008000000 {
97+
opp-hz = /bits/ 64 <1008000000>;
98+
opp-microvolt = <1125000>;
99+
clock-latency-ns = <40000>;
100+
status = "disabled";
78101
};
79102
};
80103

0 commit comments

Comments
 (0)