xref: /linux/arch/arm64/boot/dts/rockchip/rk3399-s.dtsi (revision 7f71507851fc7764b36a3221839607d3a45c2025)
1// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2/*
3 * Copyright (c) 2016-2017 Fuzhou Rockchip Electronics Co., Ltd
4 */
5
6#include "rk3399-base.dtsi"
7
8/ {
9	cluster0_opp: opp-table-0 {
10		compatible = "operating-points-v2";
11		opp-shared;
12
13		opp00 {
14			opp-hz = /bits/ 64 <408000000>;
15			opp-microvolt = <825000 825000 1250000>;
16			clock-latency-ns = <40000>;
17		};
18		opp01 {
19			opp-hz = /bits/ 64 <600000000>;
20			opp-microvolt = <825000 825000 1250000>;
21		};
22		opp02 {
23			opp-hz = /bits/ 64 <816000000>;
24			opp-microvolt = <850000 850000 1250000>;
25		};
26		opp03 {
27			opp-hz = /bits/ 64 <1008000000>;
28			opp-microvolt = <925000 925000 1250000>;
29		};
30	};
31
32	cluster1_opp: opp-table-1 {
33		compatible = "operating-points-v2";
34		opp-shared;
35
36		opp00 {
37			opp-hz = /bits/ 64 <408000000>;
38			opp-microvolt = <825000 825000 1250000>;
39			clock-latency-ns = <40000>;
40		};
41		opp01 {
42			opp-hz = /bits/ 64 <600000000>;
43			opp-microvolt = <825000 825000 1250000>;
44		};
45		opp02 {
46			opp-hz = /bits/ 64 <816000000>;
47			opp-microvolt = <825000 825000 1250000>;
48		};
49		opp03 {
50			opp-hz = /bits/ 64 <1008000000>;
51			opp-microvolt = <875000 875000 1250000>;
52		};
53		opp04 {
54			opp-hz = /bits/ 64 <1200000000>;
55			opp-microvolt = <950000 950000 1250000>;
56		};
57		opp05 {
58			opp-hz = /bits/ 64 <1416000000>;
59			opp-microvolt = <1025000 1025000 1250000>;
60		};
61		opp06 {
62			opp-hz = /bits/ 64 <1500000000>;
63			opp-microvolt = <1100000 1100000 1150000>;
64		};
65	};
66
67	gpu_opp_table: opp-table-2 {
68		compatible = "operating-points-v2";
69
70		opp00 {
71			opp-hz = /bits/ 64 <200000000>;
72			opp-microvolt = <825000 825000 1150000>;
73		};
74		opp01 {
75			opp-hz = /bits/ 64 <297000000>;
76			opp-microvolt = <825000 825000 1150000>;
77		};
78		opp02 {
79			opp-hz = /bits/ 64 <400000000>;
80			opp-microvolt = <825000 825000 1150000>;
81		};
82		opp03 {
83			opp-hz = /bits/ 64 <500000000>;
84			opp-microvolt = <875000 875000 1150000>;
85		};
86		opp04 {
87			opp-hz = /bits/ 64 <600000000>;
88			opp-microvolt = <925000 925000 1150000>;
89		};
90		opp05 {
91			opp-hz = /bits/ 64 <800000000>;
92			opp-microvolt = <1100000 1100000 1150000>;
93		};
94	};
95};
96
97&cpu_l0 {
98	operating-points-v2 = <&cluster0_opp>;
99};
100
101&cpu_l1 {
102	operating-points-v2 = <&cluster0_opp>;
103};
104
105&cpu_l2 {
106	operating-points-v2 = <&cluster0_opp>;
107};
108
109&cpu_l3 {
110	operating-points-v2 = <&cluster0_opp>;
111};
112
113&cpu_b0 {
114	operating-points-v2 = <&cluster1_opp>;
115};
116
117&cpu_b1 {
118	operating-points-v2 = <&cluster1_opp>;
119};
120
121&gpu {
122	operating-points-v2 = <&gpu_opp_table>;
123};
124