xref: /openbmc/linux/arch/arm64/boot/dts/rockchip/rk3399-op1-opp.dtsi (revision 7cd1ed45d41f61d01a9eb0862ae8b98b995d34c5)
1*7cd1ed45SHeiko Stuebner/*
2*7cd1ed45SHeiko Stuebner * Copyright (c) 2016-2017 Fuzhou Rockchip Electronics Co., Ltd
3*7cd1ed45SHeiko Stuebner *
4*7cd1ed45SHeiko Stuebner * This file is dual-licensed: you can use it either under the terms
5*7cd1ed45SHeiko Stuebner * of the GPL or the X11 license, at your option. Note that this dual
6*7cd1ed45SHeiko Stuebner * licensing only applies to this file, and not this project as a
7*7cd1ed45SHeiko Stuebner * whole.
8*7cd1ed45SHeiko Stuebner *
9*7cd1ed45SHeiko Stuebner *  a) This library is free software; you can redistribute it and/or
10*7cd1ed45SHeiko Stuebner *     modify it under the terms of the GNU General Public License as
11*7cd1ed45SHeiko Stuebner *     published by the Free Software Foundation; either version 2 of the
12*7cd1ed45SHeiko Stuebner *     License, or (at your option) any later version.
13*7cd1ed45SHeiko Stuebner *
14*7cd1ed45SHeiko Stuebner *     This library is distributed in the hope that it will be useful,
15*7cd1ed45SHeiko Stuebner *     but WITHOUT ANY WARRANTY; without even the implied warranty of
16*7cd1ed45SHeiko Stuebner *     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17*7cd1ed45SHeiko Stuebner *     GNU General Public License for more details.
18*7cd1ed45SHeiko Stuebner *
19*7cd1ed45SHeiko Stuebner * Or, alternatively,
20*7cd1ed45SHeiko Stuebner *
21*7cd1ed45SHeiko Stuebner *  b) Permission is hereby granted, free of charge, to any person
22*7cd1ed45SHeiko Stuebner *     obtaining a copy of this software and associated documentation
23*7cd1ed45SHeiko Stuebner *     files (the "Software"), to deal in the Software without
24*7cd1ed45SHeiko Stuebner *     restriction, including without limitation the rights to use,
25*7cd1ed45SHeiko Stuebner *     copy, modify, merge, publish, distribute, sublicense, and/or
26*7cd1ed45SHeiko Stuebner *     sell copies of the Software, and to permit persons to whom the
27*7cd1ed45SHeiko Stuebner *     Software is furnished to do so, subject to the following
28*7cd1ed45SHeiko Stuebner *     conditions:
29*7cd1ed45SHeiko Stuebner *
30*7cd1ed45SHeiko Stuebner *     The above copyright notice and this permission notice shall be
31*7cd1ed45SHeiko Stuebner *     included in all copies or substantial portions of the Software.
32*7cd1ed45SHeiko Stuebner *
33*7cd1ed45SHeiko Stuebner *     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
34*7cd1ed45SHeiko Stuebner *     EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
35*7cd1ed45SHeiko Stuebner *     OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
36*7cd1ed45SHeiko Stuebner *     NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
37*7cd1ed45SHeiko Stuebner *     HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
38*7cd1ed45SHeiko Stuebner *     WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
39*7cd1ed45SHeiko Stuebner *     FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
40*7cd1ed45SHeiko Stuebner *     OTHER DEALINGS IN THE SOFTWARE.
41*7cd1ed45SHeiko Stuebner */
42*7cd1ed45SHeiko Stuebner
43*7cd1ed45SHeiko Stuebner/ {
44*7cd1ed45SHeiko Stuebner	cluster0_opp: opp-table0 {
45*7cd1ed45SHeiko Stuebner		compatible = "operating-points-v2";
46*7cd1ed45SHeiko Stuebner		opp-shared;
47*7cd1ed45SHeiko Stuebner
48*7cd1ed45SHeiko Stuebner		opp00 {
49*7cd1ed45SHeiko Stuebner			opp-hz = /bits/ 64 <408000000>;
50*7cd1ed45SHeiko Stuebner			opp-microvolt = <800000>;
51*7cd1ed45SHeiko Stuebner			clock-latency-ns = <40000>;
52*7cd1ed45SHeiko Stuebner		};
53*7cd1ed45SHeiko Stuebner		opp01 {
54*7cd1ed45SHeiko Stuebner			opp-hz = /bits/ 64 <600000000>;
55*7cd1ed45SHeiko Stuebner			opp-microvolt = <825000>;
56*7cd1ed45SHeiko Stuebner		};
57*7cd1ed45SHeiko Stuebner		opp02 {
58*7cd1ed45SHeiko Stuebner			opp-hz = /bits/ 64 <816000000>;
59*7cd1ed45SHeiko Stuebner			opp-microvolt = <850000>;
60*7cd1ed45SHeiko Stuebner		};
61*7cd1ed45SHeiko Stuebner		opp03 {
62*7cd1ed45SHeiko Stuebner			opp-hz = /bits/ 64 <1008000000>;
63*7cd1ed45SHeiko Stuebner			opp-microvolt = <900000>;
64*7cd1ed45SHeiko Stuebner		};
65*7cd1ed45SHeiko Stuebner		opp04 {
66*7cd1ed45SHeiko Stuebner			opp-hz = /bits/ 64 <1200000000>;
67*7cd1ed45SHeiko Stuebner			opp-microvolt = <975000>;
68*7cd1ed45SHeiko Stuebner		};
69*7cd1ed45SHeiko Stuebner		opp05 {
70*7cd1ed45SHeiko Stuebner			opp-hz = /bits/ 64 <1416000000>;
71*7cd1ed45SHeiko Stuebner			opp-microvolt = <1100000>;
72*7cd1ed45SHeiko Stuebner		};
73*7cd1ed45SHeiko Stuebner		opp06 {
74*7cd1ed45SHeiko Stuebner			opp-hz = /bits/ 64 <1512000000>;
75*7cd1ed45SHeiko Stuebner			opp-microvolt = <1150000>;
76*7cd1ed45SHeiko Stuebner		};
77*7cd1ed45SHeiko Stuebner	};
78*7cd1ed45SHeiko Stuebner
79*7cd1ed45SHeiko Stuebner	cluster1_opp: opp-table1 {
80*7cd1ed45SHeiko Stuebner		compatible = "operating-points-v2";
81*7cd1ed45SHeiko Stuebner		opp-shared;
82*7cd1ed45SHeiko Stuebner
83*7cd1ed45SHeiko Stuebner		opp00 {
84*7cd1ed45SHeiko Stuebner			opp-hz = /bits/ 64 <408000000>;
85*7cd1ed45SHeiko Stuebner			opp-microvolt = <800000>;
86*7cd1ed45SHeiko Stuebner			clock-latency-ns = <40000>;
87*7cd1ed45SHeiko Stuebner		};
88*7cd1ed45SHeiko Stuebner		opp01 {
89*7cd1ed45SHeiko Stuebner			opp-hz = /bits/ 64 <600000000>;
90*7cd1ed45SHeiko Stuebner			opp-microvolt = <800000>;
91*7cd1ed45SHeiko Stuebner		};
92*7cd1ed45SHeiko Stuebner		opp02 {
93*7cd1ed45SHeiko Stuebner			opp-hz = /bits/ 64 <816000000>;
94*7cd1ed45SHeiko Stuebner			opp-microvolt = <825000>;
95*7cd1ed45SHeiko Stuebner		};
96*7cd1ed45SHeiko Stuebner		opp03 {
97*7cd1ed45SHeiko Stuebner			opp-hz = /bits/ 64 <1008000000>;
98*7cd1ed45SHeiko Stuebner			opp-microvolt = <850000>;
99*7cd1ed45SHeiko Stuebner		};
100*7cd1ed45SHeiko Stuebner		opp04 {
101*7cd1ed45SHeiko Stuebner			opp-hz = /bits/ 64 <1200000000>;
102*7cd1ed45SHeiko Stuebner			opp-microvolt = <900000>;
103*7cd1ed45SHeiko Stuebner		};
104*7cd1ed45SHeiko Stuebner		opp05 {
105*7cd1ed45SHeiko Stuebner			opp-hz = /bits/ 64 <1416000000>;
106*7cd1ed45SHeiko Stuebner			opp-microvolt = <975000>;
107*7cd1ed45SHeiko Stuebner		};
108*7cd1ed45SHeiko Stuebner		opp06 {
109*7cd1ed45SHeiko Stuebner			opp-hz = /bits/ 64 <1608000000>;
110*7cd1ed45SHeiko Stuebner			opp-microvolt = <1050000>;
111*7cd1ed45SHeiko Stuebner		};
112*7cd1ed45SHeiko Stuebner		opp07 {
113*7cd1ed45SHeiko Stuebner			opp-hz = /bits/ 64 <1800000000>;
114*7cd1ed45SHeiko Stuebner			opp-microvolt = <1150000>;
115*7cd1ed45SHeiko Stuebner		};
116*7cd1ed45SHeiko Stuebner		opp08 {
117*7cd1ed45SHeiko Stuebner			opp-hz = /bits/ 64 <2016000000>;
118*7cd1ed45SHeiko Stuebner			opp-microvolt = <1250000>;
119*7cd1ed45SHeiko Stuebner		};
120*7cd1ed45SHeiko Stuebner	};
121*7cd1ed45SHeiko Stuebner};
122*7cd1ed45SHeiko Stuebner
123*7cd1ed45SHeiko Stuebner&cpu_l0 {
124*7cd1ed45SHeiko Stuebner	operating-points-v2 = <&cluster0_opp>;
125*7cd1ed45SHeiko Stuebner};
126*7cd1ed45SHeiko Stuebner
127*7cd1ed45SHeiko Stuebner&cpu_l1 {
128*7cd1ed45SHeiko Stuebner	operating-points-v2 = <&cluster0_opp>;
129*7cd1ed45SHeiko Stuebner};
130*7cd1ed45SHeiko Stuebner
131*7cd1ed45SHeiko Stuebner&cpu_l2 {
132*7cd1ed45SHeiko Stuebner	operating-points-v2 = <&cluster0_opp>;
133*7cd1ed45SHeiko Stuebner};
134*7cd1ed45SHeiko Stuebner
135*7cd1ed45SHeiko Stuebner&cpu_l3 {
136*7cd1ed45SHeiko Stuebner	operating-points-v2 = <&cluster0_opp>;
137*7cd1ed45SHeiko Stuebner};
138*7cd1ed45SHeiko Stuebner
139*7cd1ed45SHeiko Stuebner&cpu_b0 {
140*7cd1ed45SHeiko Stuebner	operating-points-v2 = <&cluster1_opp>;
141*7cd1ed45SHeiko Stuebner};
142*7cd1ed45SHeiko Stuebner
143*7cd1ed45SHeiko Stuebner&cpu_b1 {
144*7cd1ed45SHeiko Stuebner	operating-points-v2 = <&cluster1_opp>;
145*7cd1ed45SHeiko Stuebner};
146