xref: /freebsd/sys/contrib/device-tree/src/arm64/rockchip/rk3588-opp.dtsi (revision 0e8011faf58b743cc652e3b2ad0f7671227610df)
1*0e8011faSEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2*0e8011faSEmmanuel Vadot
3*0e8011faSEmmanuel Vadot/ {
4*0e8011faSEmmanuel Vadot	cluster0_opp_table: opp-table-cluster0 {
5*0e8011faSEmmanuel Vadot		compatible = "operating-points-v2";
6*0e8011faSEmmanuel Vadot		opp-shared;
7*0e8011faSEmmanuel Vadot
8*0e8011faSEmmanuel Vadot		opp-1008000000 {
9*0e8011faSEmmanuel Vadot			opp-hz = /bits/ 64 <1008000000>;
10*0e8011faSEmmanuel Vadot			opp-microvolt = <675000 675000 950000>;
11*0e8011faSEmmanuel Vadot			clock-latency-ns = <40000>;
12*0e8011faSEmmanuel Vadot		};
13*0e8011faSEmmanuel Vadot		opp-1200000000 {
14*0e8011faSEmmanuel Vadot			opp-hz = /bits/ 64 <1200000000>;
15*0e8011faSEmmanuel Vadot			opp-microvolt = <712500 712500 950000>;
16*0e8011faSEmmanuel Vadot			clock-latency-ns = <40000>;
17*0e8011faSEmmanuel Vadot		};
18*0e8011faSEmmanuel Vadot		opp-1416000000 {
19*0e8011faSEmmanuel Vadot			opp-hz = /bits/ 64 <1416000000>;
20*0e8011faSEmmanuel Vadot			opp-microvolt = <762500 762500 950000>;
21*0e8011faSEmmanuel Vadot			clock-latency-ns = <40000>;
22*0e8011faSEmmanuel Vadot			opp-suspend;
23*0e8011faSEmmanuel Vadot		};
24*0e8011faSEmmanuel Vadot		opp-1608000000 {
25*0e8011faSEmmanuel Vadot			opp-hz = /bits/ 64 <1608000000>;
26*0e8011faSEmmanuel Vadot			opp-microvolt = <850000 850000 950000>;
27*0e8011faSEmmanuel Vadot			clock-latency-ns = <40000>;
28*0e8011faSEmmanuel Vadot		};
29*0e8011faSEmmanuel Vadot		opp-1800000000 {
30*0e8011faSEmmanuel Vadot			opp-hz = /bits/ 64 <1800000000>;
31*0e8011faSEmmanuel Vadot			opp-microvolt = <950000 950000 950000>;
32*0e8011faSEmmanuel Vadot			clock-latency-ns = <40000>;
33*0e8011faSEmmanuel Vadot		};
34*0e8011faSEmmanuel Vadot	};
35*0e8011faSEmmanuel Vadot
36*0e8011faSEmmanuel Vadot	cluster1_opp_table: opp-table-cluster1 {
37*0e8011faSEmmanuel Vadot		compatible = "operating-points-v2";
38*0e8011faSEmmanuel Vadot		opp-shared;
39*0e8011faSEmmanuel Vadot
40*0e8011faSEmmanuel Vadot		opp-1200000000 {
41*0e8011faSEmmanuel Vadot			opp-hz = /bits/ 64 <1200000000>;
42*0e8011faSEmmanuel Vadot			opp-microvolt = <675000 675000 1000000>;
43*0e8011faSEmmanuel Vadot			clock-latency-ns = <40000>;
44*0e8011faSEmmanuel Vadot		};
45*0e8011faSEmmanuel Vadot		opp-1416000000 {
46*0e8011faSEmmanuel Vadot			opp-hz = /bits/ 64 <1416000000>;
47*0e8011faSEmmanuel Vadot			opp-microvolt = <725000 725000 1000000>;
48*0e8011faSEmmanuel Vadot			clock-latency-ns = <40000>;
49*0e8011faSEmmanuel Vadot		};
50*0e8011faSEmmanuel Vadot		opp-1608000000 {
51*0e8011faSEmmanuel Vadot			opp-hz = /bits/ 64 <1608000000>;
52*0e8011faSEmmanuel Vadot			opp-microvolt = <762500 762500 1000000>;
53*0e8011faSEmmanuel Vadot			clock-latency-ns = <40000>;
54*0e8011faSEmmanuel Vadot		};
55*0e8011faSEmmanuel Vadot		opp-1800000000 {
56*0e8011faSEmmanuel Vadot			opp-hz = /bits/ 64 <1800000000>;
57*0e8011faSEmmanuel Vadot			opp-microvolt = <850000 850000 1000000>;
58*0e8011faSEmmanuel Vadot			clock-latency-ns = <40000>;
59*0e8011faSEmmanuel Vadot		};
60*0e8011faSEmmanuel Vadot		opp-2016000000 {
61*0e8011faSEmmanuel Vadot			opp-hz = /bits/ 64 <2016000000>;
62*0e8011faSEmmanuel Vadot			opp-microvolt = <925000 925000 1000000>;
63*0e8011faSEmmanuel Vadot			clock-latency-ns = <40000>;
64*0e8011faSEmmanuel Vadot		};
65*0e8011faSEmmanuel Vadot		opp-2208000000 {
66*0e8011faSEmmanuel Vadot			opp-hz = /bits/ 64 <2208000000>;
67*0e8011faSEmmanuel Vadot			opp-microvolt = <987500 987500 1000000>;
68*0e8011faSEmmanuel Vadot			clock-latency-ns = <40000>;
69*0e8011faSEmmanuel Vadot		};
70*0e8011faSEmmanuel Vadot		opp-2400000000 {
71*0e8011faSEmmanuel Vadot			opp-hz = /bits/ 64 <2400000000>;
72*0e8011faSEmmanuel Vadot			opp-microvolt = <1000000 1000000 1000000>;
73*0e8011faSEmmanuel Vadot			clock-latency-ns = <40000>;
74*0e8011faSEmmanuel Vadot		};
75*0e8011faSEmmanuel Vadot	};
76*0e8011faSEmmanuel Vadot
77*0e8011faSEmmanuel Vadot	cluster2_opp_table: opp-table-cluster2 {
78*0e8011faSEmmanuel Vadot		compatible = "operating-points-v2";
79*0e8011faSEmmanuel Vadot		opp-shared;
80*0e8011faSEmmanuel Vadot
81*0e8011faSEmmanuel Vadot		opp-1200000000 {
82*0e8011faSEmmanuel Vadot			opp-hz = /bits/ 64 <1200000000>;
83*0e8011faSEmmanuel Vadot			opp-microvolt = <675000 675000 1000000>;
84*0e8011faSEmmanuel Vadot			clock-latency-ns = <40000>;
85*0e8011faSEmmanuel Vadot		};
86*0e8011faSEmmanuel Vadot		opp-1416000000 {
87*0e8011faSEmmanuel Vadot			opp-hz = /bits/ 64 <1416000000>;
88*0e8011faSEmmanuel Vadot			opp-microvolt = <725000 725000 1000000>;
89*0e8011faSEmmanuel Vadot			clock-latency-ns = <40000>;
90*0e8011faSEmmanuel Vadot		};
91*0e8011faSEmmanuel Vadot		opp-1608000000 {
92*0e8011faSEmmanuel Vadot			opp-hz = /bits/ 64 <1608000000>;
93*0e8011faSEmmanuel Vadot			opp-microvolt = <762500 762500 1000000>;
94*0e8011faSEmmanuel Vadot			clock-latency-ns = <40000>;
95*0e8011faSEmmanuel Vadot		};
96*0e8011faSEmmanuel Vadot		opp-1800000000 {
97*0e8011faSEmmanuel Vadot			opp-hz = /bits/ 64 <1800000000>;
98*0e8011faSEmmanuel Vadot			opp-microvolt = <850000 850000 1000000>;
99*0e8011faSEmmanuel Vadot			clock-latency-ns = <40000>;
100*0e8011faSEmmanuel Vadot		};
101*0e8011faSEmmanuel Vadot		opp-2016000000 {
102*0e8011faSEmmanuel Vadot			opp-hz = /bits/ 64 <2016000000>;
103*0e8011faSEmmanuel Vadot			opp-microvolt = <925000 925000 1000000>;
104*0e8011faSEmmanuel Vadot			clock-latency-ns = <40000>;
105*0e8011faSEmmanuel Vadot		};
106*0e8011faSEmmanuel Vadot		opp-2208000000 {
107*0e8011faSEmmanuel Vadot			opp-hz = /bits/ 64 <2208000000>;
108*0e8011faSEmmanuel Vadot			opp-microvolt = <987500 987500 1000000>;
109*0e8011faSEmmanuel Vadot			clock-latency-ns = <40000>;
110*0e8011faSEmmanuel Vadot		};
111*0e8011faSEmmanuel Vadot		opp-2400000000 {
112*0e8011faSEmmanuel Vadot			opp-hz = /bits/ 64 <2400000000>;
113*0e8011faSEmmanuel Vadot			opp-microvolt = <1000000 1000000 1000000>;
114*0e8011faSEmmanuel Vadot			clock-latency-ns = <40000>;
115*0e8011faSEmmanuel Vadot		};
116*0e8011faSEmmanuel Vadot	};
117*0e8011faSEmmanuel Vadot
118*0e8011faSEmmanuel Vadot	gpu_opp_table: opp-table {
119*0e8011faSEmmanuel Vadot		compatible = "operating-points-v2";
120*0e8011faSEmmanuel Vadot
121*0e8011faSEmmanuel Vadot		opp-300000000 {
122*0e8011faSEmmanuel Vadot			opp-hz = /bits/ 64 <300000000>;
123*0e8011faSEmmanuel Vadot			opp-microvolt = <675000 675000 850000>;
124*0e8011faSEmmanuel Vadot		};
125*0e8011faSEmmanuel Vadot		opp-400000000 {
126*0e8011faSEmmanuel Vadot			opp-hz = /bits/ 64 <400000000>;
127*0e8011faSEmmanuel Vadot			opp-microvolt = <675000 675000 850000>;
128*0e8011faSEmmanuel Vadot		};
129*0e8011faSEmmanuel Vadot		opp-500000000 {
130*0e8011faSEmmanuel Vadot			opp-hz = /bits/ 64 <500000000>;
131*0e8011faSEmmanuel Vadot			opp-microvolt = <675000 675000 850000>;
132*0e8011faSEmmanuel Vadot		};
133*0e8011faSEmmanuel Vadot		opp-600000000 {
134*0e8011faSEmmanuel Vadot			opp-hz = /bits/ 64 <600000000>;
135*0e8011faSEmmanuel Vadot			opp-microvolt = <675000 675000 850000>;
136*0e8011faSEmmanuel Vadot		};
137*0e8011faSEmmanuel Vadot		opp-700000000 {
138*0e8011faSEmmanuel Vadot			opp-hz = /bits/ 64 <700000000>;
139*0e8011faSEmmanuel Vadot			opp-microvolt = <700000 700000 850000>;
140*0e8011faSEmmanuel Vadot		};
141*0e8011faSEmmanuel Vadot		opp-800000000 {
142*0e8011faSEmmanuel Vadot			opp-hz = /bits/ 64 <800000000>;
143*0e8011faSEmmanuel Vadot			opp-microvolt = <750000 750000 850000>;
144*0e8011faSEmmanuel Vadot		};
145*0e8011faSEmmanuel Vadot		opp-900000000 {
146*0e8011faSEmmanuel Vadot			opp-hz = /bits/ 64 <900000000>;
147*0e8011faSEmmanuel Vadot			opp-microvolt = <800000 800000 850000>;
148*0e8011faSEmmanuel Vadot		};
149*0e8011faSEmmanuel Vadot		opp-1000000000 {
150*0e8011faSEmmanuel Vadot			opp-hz = /bits/ 64 <1000000000>;
151*0e8011faSEmmanuel Vadot			opp-microvolt = <850000 850000 850000>;
152*0e8011faSEmmanuel Vadot		};
153*0e8011faSEmmanuel Vadot	};
154*0e8011faSEmmanuel Vadot};
155*0e8011faSEmmanuel Vadot
156*0e8011faSEmmanuel Vadot&cpu_b0 {
157*0e8011faSEmmanuel Vadot	operating-points-v2 = <&cluster1_opp_table>;
158*0e8011faSEmmanuel Vadot};
159*0e8011faSEmmanuel Vadot
160*0e8011faSEmmanuel Vadot&cpu_b1 {
161*0e8011faSEmmanuel Vadot	operating-points-v2 = <&cluster1_opp_table>;
162*0e8011faSEmmanuel Vadot};
163*0e8011faSEmmanuel Vadot
164*0e8011faSEmmanuel Vadot&cpu_b2 {
165*0e8011faSEmmanuel Vadot	operating-points-v2 = <&cluster2_opp_table>;
166*0e8011faSEmmanuel Vadot};
167*0e8011faSEmmanuel Vadot
168*0e8011faSEmmanuel Vadot&cpu_b3 {
169*0e8011faSEmmanuel Vadot	operating-points-v2 = <&cluster2_opp_table>;
170*0e8011faSEmmanuel Vadot};
171*0e8011faSEmmanuel Vadot
172*0e8011faSEmmanuel Vadot&cpu_l0 {
173*0e8011faSEmmanuel Vadot	operating-points-v2 = <&cluster0_opp_table>;
174*0e8011faSEmmanuel Vadot};
175*0e8011faSEmmanuel Vadot
176*0e8011faSEmmanuel Vadot&cpu_l1 {
177*0e8011faSEmmanuel Vadot	operating-points-v2 = <&cluster0_opp_table>;
178*0e8011faSEmmanuel Vadot};
179*0e8011faSEmmanuel Vadot
180*0e8011faSEmmanuel Vadot&cpu_l2 {
181*0e8011faSEmmanuel Vadot	operating-points-v2 = <&cluster0_opp_table>;
182*0e8011faSEmmanuel Vadot};
183*0e8011faSEmmanuel Vadot
184*0e8011faSEmmanuel Vadot&cpu_l3 {
185*0e8011faSEmmanuel Vadot	operating-points-v2 = <&cluster0_opp_table>;
186*0e8011faSEmmanuel Vadot};
187*0e8011faSEmmanuel Vadot
188*0e8011faSEmmanuel Vadot&gpu {
189*0e8011faSEmmanuel Vadot	operating-points-v2 = <&gpu_opp_table>;
190*0e8011faSEmmanuel Vadot};
191