xref: /linux/arch/arm64/boot/dts/rockchip/rk3566.dtsi (revision 7f71507851fc7764b36a3221839607d3a45c2025)
1// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2
3#include "rk3566-base.dtsi"
4
5/ {
6	cpu0_opp_table: opp-table-0 {
7		compatible = "operating-points-v2";
8		opp-shared;
9
10		opp-408000000 {
11			opp-hz = /bits/ 64 <408000000>;
12			opp-microvolt = <850000 850000 1150000>;
13			clock-latency-ns = <40000>;
14		};
15
16		opp-600000000 {
17			opp-hz = /bits/ 64 <600000000>;
18			opp-microvolt = <850000 850000 1150000>;
19			clock-latency-ns = <40000>;
20		};
21
22		opp-816000000 {
23			opp-hz = /bits/ 64 <816000000>;
24			opp-microvolt = <850000 850000 1150000>;
25			clock-latency-ns = <40000>;
26			opp-suspend;
27		};
28
29		opp-1104000000 {
30			opp-hz = /bits/ 64 <1104000000>;
31			opp-microvolt = <900000 900000 1150000>;
32			clock-latency-ns = <40000>;
33		};
34
35		opp-1416000000 {
36			opp-hz = /bits/ 64 <1416000000>;
37			opp-microvolt = <1025000 1025000 1150000>;
38			clock-latency-ns = <40000>;
39		};
40
41		opp-1608000000 {
42			opp-hz = /bits/ 64 <1608000000>;
43			opp-microvolt = <1100000 1100000 1150000>;
44			clock-latency-ns = <40000>;
45		};
46
47		opp-1800000000 {
48			opp-hz = /bits/ 64 <1800000000>;
49			opp-microvolt = <1150000 1150000 1150000>;
50			clock-latency-ns = <40000>;
51		};
52	};
53
54	gpu_opp_table: opp-table-1 {
55		compatible = "operating-points-v2";
56
57		opp-200000000 {
58			opp-hz = /bits/ 64 <200000000>;
59			opp-microvolt = <850000 850000 1000000>;
60		};
61
62		opp-300000000 {
63			opp-hz = /bits/ 64 <300000000>;
64			opp-microvolt = <850000 850000 1000000>;
65		};
66
67		opp-400000000 {
68			opp-hz = /bits/ 64 <400000000>;
69			opp-microvolt = <850000 850000 1000000>;
70		};
71
72		opp-600000000 {
73			opp-hz = /bits/ 64 <600000000>;
74			opp-microvolt = <900000 900000 1000000>;
75		};
76
77		opp-700000000 {
78			opp-hz = /bits/ 64 <700000000>;
79			opp-microvolt = <950000 950000 1000000>;
80		};
81
82		opp-800000000 {
83			opp-hz = /bits/ 64 <800000000>;
84			opp-microvolt = <1000000 1000000 1000000>;
85		};
86	};
87};
88
89&cpu0 {
90	operating-points-v2 = <&cpu0_opp_table>;
91};
92
93&cpu1 {
94	operating-points-v2 = <&cpu0_opp_table>;
95};
96
97&cpu2 {
98	operating-points-v2 = <&cpu0_opp_table>;
99};
100
101&cpu3 {
102	operating-points-v2 = <&cpu0_opp_table>;
103};
104
105&gpu {
106	operating-points-v2 = <&gpu_opp_table>;
107};
108