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