xref: /src/sys/contrib/device-tree/src/arm64/rockchip/rk3399-t-opp.dtsi (revision 7ef62cebc2f965b0f640263e179276928885e33d)
1582be9a4SEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2582be9a4SEmmanuel Vadot/*
3582be9a4SEmmanuel Vadot * Copyright (c) 2016-2017 Fuzhou Rockchip Electronics Co., Ltd
4582be9a4SEmmanuel Vadot * Copyright (c) 2022 Radxa Limited
5582be9a4SEmmanuel Vadot */
6582be9a4SEmmanuel Vadot
7582be9a4SEmmanuel Vadot/ {
8582be9a4SEmmanuel Vadot	cluster0_opp: opp-table-0 {
9582be9a4SEmmanuel Vadot		compatible = "operating-points-v2";
10582be9a4SEmmanuel Vadot		opp-shared;
11582be9a4SEmmanuel Vadot
12582be9a4SEmmanuel Vadot		opp00 {
13582be9a4SEmmanuel Vadot			opp-hz = /bits/ 64 <408000000>;
14582be9a4SEmmanuel Vadot			opp-microvolt = <875000 875000 1250000>;
15582be9a4SEmmanuel Vadot			clock-latency-ns = <40000>;
16582be9a4SEmmanuel Vadot		};
17582be9a4SEmmanuel Vadot		opp01 {
18582be9a4SEmmanuel Vadot			opp-hz = /bits/ 64 <600000000>;
19582be9a4SEmmanuel Vadot			opp-microvolt = <875000 875000 1250000>;
20582be9a4SEmmanuel Vadot		};
21582be9a4SEmmanuel Vadot		opp02 {
22582be9a4SEmmanuel Vadot			opp-hz = /bits/ 64 <816000000>;
23582be9a4SEmmanuel Vadot			opp-microvolt = <900000 900000 1250000>;
24582be9a4SEmmanuel Vadot		};
25582be9a4SEmmanuel Vadot		opp03 {
26582be9a4SEmmanuel Vadot			opp-hz = /bits/ 64 <1008000000>;
27582be9a4SEmmanuel Vadot			opp-microvolt = <975000 975000 1250000>;
28582be9a4SEmmanuel Vadot		};
29582be9a4SEmmanuel Vadot	};
30582be9a4SEmmanuel Vadot
31582be9a4SEmmanuel Vadot	cluster1_opp: opp-table-1 {
32582be9a4SEmmanuel Vadot		compatible = "operating-points-v2";
33582be9a4SEmmanuel Vadot		opp-shared;
34582be9a4SEmmanuel Vadot
35582be9a4SEmmanuel Vadot		opp00 {
36582be9a4SEmmanuel Vadot			opp-hz = /bits/ 64 <408000000>;
37582be9a4SEmmanuel Vadot			opp-microvolt = <875000 875000 1250000>;
38582be9a4SEmmanuel Vadot			clock-latency-ns = <40000>;
39582be9a4SEmmanuel Vadot		};
40582be9a4SEmmanuel Vadot		opp01 {
41582be9a4SEmmanuel Vadot			opp-hz = /bits/ 64 <600000000>;
42582be9a4SEmmanuel Vadot			opp-microvolt = <875000 875000 1250000>;
43582be9a4SEmmanuel Vadot		};
44582be9a4SEmmanuel Vadot		opp02 {
45582be9a4SEmmanuel Vadot			opp-hz = /bits/ 64 <816000000>;
46582be9a4SEmmanuel Vadot			opp-microvolt = <875000 875000 1250000>;
47582be9a4SEmmanuel Vadot		};
48582be9a4SEmmanuel Vadot		opp03 {
49582be9a4SEmmanuel Vadot			opp-hz = /bits/ 64 <1008000000>;
50582be9a4SEmmanuel Vadot			opp-microvolt = <925000 925000 1250000>;
51582be9a4SEmmanuel Vadot		};
52582be9a4SEmmanuel Vadot		opp04 {
53582be9a4SEmmanuel Vadot			opp-hz = /bits/ 64 <1200000000>;
54582be9a4SEmmanuel Vadot			opp-microvolt = <1000000 1000000 1250000>;
55582be9a4SEmmanuel Vadot		};
56582be9a4SEmmanuel Vadot		opp05 {
57582be9a4SEmmanuel Vadot			opp-hz = /bits/ 64 <1416000000>;
58582be9a4SEmmanuel Vadot			opp-microvolt = <1075000 1075000 1250000>;
59582be9a4SEmmanuel Vadot		};
60582be9a4SEmmanuel Vadot		opp06 {
61582be9a4SEmmanuel Vadot			opp-hz = /bits/ 64 <1512000000>;
62582be9a4SEmmanuel Vadot			opp-microvolt = <1150000 1150000 1250000>;
63582be9a4SEmmanuel Vadot		};
64582be9a4SEmmanuel Vadot	};
65582be9a4SEmmanuel Vadot
66582be9a4SEmmanuel Vadot	gpu_opp_table: opp-table-2 {
67582be9a4SEmmanuel Vadot		compatible = "operating-points-v2";
68582be9a4SEmmanuel Vadot
69582be9a4SEmmanuel Vadot		opp00 {
70582be9a4SEmmanuel Vadot			opp-hz = /bits/ 64 <200000000>;
71582be9a4SEmmanuel Vadot			opp-microvolt = <875000 875000 1150000>;
72582be9a4SEmmanuel Vadot		};
73582be9a4SEmmanuel Vadot		opp01 {
74582be9a4SEmmanuel Vadot			opp-hz = /bits/ 64 <300000000>;
75582be9a4SEmmanuel Vadot			opp-microvolt = <875000 875000 1150000>;
76582be9a4SEmmanuel Vadot		};
77582be9a4SEmmanuel Vadot		opp02 {
78582be9a4SEmmanuel Vadot			opp-hz = /bits/ 64 <400000000>;
79582be9a4SEmmanuel Vadot			opp-microvolt = <875000 875000 1150000>;
80582be9a4SEmmanuel Vadot		};
81582be9a4SEmmanuel Vadot		opp03 {
82582be9a4SEmmanuel Vadot			opp-hz = /bits/ 64 <600000000>;
83582be9a4SEmmanuel Vadot			opp-microvolt = <975000 975000 1150000>;
84582be9a4SEmmanuel Vadot		};
85582be9a4SEmmanuel Vadot	};
86582be9a4SEmmanuel Vadot};
87582be9a4SEmmanuel Vadot
88582be9a4SEmmanuel Vadot&cpu_l0 {
89582be9a4SEmmanuel Vadot	operating-points-v2 = <&cluster0_opp>;
90582be9a4SEmmanuel Vadot};
91582be9a4SEmmanuel Vadot
92582be9a4SEmmanuel Vadot&cpu_l1 {
93582be9a4SEmmanuel Vadot	operating-points-v2 = <&cluster0_opp>;
94582be9a4SEmmanuel Vadot};
95582be9a4SEmmanuel Vadot
96582be9a4SEmmanuel Vadot&cpu_l2 {
97582be9a4SEmmanuel Vadot	operating-points-v2 = <&cluster0_opp>;
98582be9a4SEmmanuel Vadot};
99582be9a4SEmmanuel Vadot
100582be9a4SEmmanuel Vadot&cpu_l3 {
101582be9a4SEmmanuel Vadot	operating-points-v2 = <&cluster0_opp>;
102582be9a4SEmmanuel Vadot};
103582be9a4SEmmanuel Vadot
104582be9a4SEmmanuel Vadot&cpu_b0 {
105582be9a4SEmmanuel Vadot	operating-points-v2 = <&cluster1_opp>;
106582be9a4SEmmanuel Vadot};
107582be9a4SEmmanuel Vadot
108582be9a4SEmmanuel Vadot&cpu_b1 {
109582be9a4SEmmanuel Vadot	operating-points-v2 = <&cluster1_opp>;
110582be9a4SEmmanuel Vadot};
111582be9a4SEmmanuel Vadot
112582be9a4SEmmanuel Vadot&gpu {
113582be9a4SEmmanuel Vadot	operating-points-v2 = <&gpu_opp_table>;
114582be9a4SEmmanuel Vadot};
115