xref: /openbmc/linux/arch/arm64/boot/dts/rockchip/rk3399-op1-opp.dtsi (revision 9a87ffc99ec8eb8d35eed7c4f816d75f5cc9662e)
14ee99cebSKlaus Goger// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
27cd1ed45SHeiko Stuebner/*
37cd1ed45SHeiko Stuebner * Copyright (c) 2016-2017 Fuzhou Rockchip Electronics Co., Ltd
47cd1ed45SHeiko Stuebner */
57cd1ed45SHeiko Stuebner
67cd1ed45SHeiko Stuebner/ {
7a30f3d90SKrzysztof Kozlowski	cluster0_opp: opp-table-0 {
87cd1ed45SHeiko Stuebner		compatible = "operating-points-v2";
97cd1ed45SHeiko Stuebner		opp-shared;
107cd1ed45SHeiko Stuebner
117cd1ed45SHeiko Stuebner		opp00 {
127cd1ed45SHeiko Stuebner			opp-hz = /bits/ 64 <408000000>;
137cd1ed45SHeiko Stuebner			opp-microvolt = <800000>;
147cd1ed45SHeiko Stuebner			clock-latency-ns = <40000>;
157cd1ed45SHeiko Stuebner		};
167cd1ed45SHeiko Stuebner		opp01 {
177cd1ed45SHeiko Stuebner			opp-hz = /bits/ 64 <600000000>;
187cd1ed45SHeiko Stuebner			opp-microvolt = <825000>;
197cd1ed45SHeiko Stuebner		};
207cd1ed45SHeiko Stuebner		opp02 {
217cd1ed45SHeiko Stuebner			opp-hz = /bits/ 64 <816000000>;
227cd1ed45SHeiko Stuebner			opp-microvolt = <850000>;
237cd1ed45SHeiko Stuebner		};
247cd1ed45SHeiko Stuebner		opp03 {
257cd1ed45SHeiko Stuebner			opp-hz = /bits/ 64 <1008000000>;
267cd1ed45SHeiko Stuebner			opp-microvolt = <900000>;
277cd1ed45SHeiko Stuebner		};
287cd1ed45SHeiko Stuebner		opp04 {
297cd1ed45SHeiko Stuebner			opp-hz = /bits/ 64 <1200000000>;
307cd1ed45SHeiko Stuebner			opp-microvolt = <975000>;
317cd1ed45SHeiko Stuebner		};
327cd1ed45SHeiko Stuebner		opp05 {
337cd1ed45SHeiko Stuebner			opp-hz = /bits/ 64 <1416000000>;
347cd1ed45SHeiko Stuebner			opp-microvolt = <1100000>;
357cd1ed45SHeiko Stuebner		};
367cd1ed45SHeiko Stuebner		opp06 {
377cd1ed45SHeiko Stuebner			opp-hz = /bits/ 64 <1512000000>;
387cd1ed45SHeiko Stuebner			opp-microvolt = <1150000>;
397cd1ed45SHeiko Stuebner		};
407cd1ed45SHeiko Stuebner	};
417cd1ed45SHeiko Stuebner
42a30f3d90SKrzysztof Kozlowski	cluster1_opp: opp-table-1 {
437cd1ed45SHeiko Stuebner		compatible = "operating-points-v2";
447cd1ed45SHeiko Stuebner		opp-shared;
457cd1ed45SHeiko Stuebner
467cd1ed45SHeiko Stuebner		opp00 {
477cd1ed45SHeiko Stuebner			opp-hz = /bits/ 64 <408000000>;
487cd1ed45SHeiko Stuebner			opp-microvolt = <800000>;
497cd1ed45SHeiko Stuebner			clock-latency-ns = <40000>;
507cd1ed45SHeiko Stuebner		};
517cd1ed45SHeiko Stuebner		opp01 {
527cd1ed45SHeiko Stuebner			opp-hz = /bits/ 64 <600000000>;
537cd1ed45SHeiko Stuebner			opp-microvolt = <800000>;
547cd1ed45SHeiko Stuebner		};
557cd1ed45SHeiko Stuebner		opp02 {
567cd1ed45SHeiko Stuebner			opp-hz = /bits/ 64 <816000000>;
577cd1ed45SHeiko Stuebner			opp-microvolt = <825000>;
587cd1ed45SHeiko Stuebner		};
597cd1ed45SHeiko Stuebner		opp03 {
607cd1ed45SHeiko Stuebner			opp-hz = /bits/ 64 <1008000000>;
617cd1ed45SHeiko Stuebner			opp-microvolt = <850000>;
627cd1ed45SHeiko Stuebner		};
637cd1ed45SHeiko Stuebner		opp04 {
647cd1ed45SHeiko Stuebner			opp-hz = /bits/ 64 <1200000000>;
657cd1ed45SHeiko Stuebner			opp-microvolt = <900000>;
667cd1ed45SHeiko Stuebner		};
677cd1ed45SHeiko Stuebner		opp05 {
687cd1ed45SHeiko Stuebner			opp-hz = /bits/ 64 <1416000000>;
697cd1ed45SHeiko Stuebner			opp-microvolt = <975000>;
707cd1ed45SHeiko Stuebner		};
717cd1ed45SHeiko Stuebner		opp06 {
727cd1ed45SHeiko Stuebner			opp-hz = /bits/ 64 <1608000000>;
737cd1ed45SHeiko Stuebner			opp-microvolt = <1050000>;
747cd1ed45SHeiko Stuebner		};
757cd1ed45SHeiko Stuebner		opp07 {
767cd1ed45SHeiko Stuebner			opp-hz = /bits/ 64 <1800000000>;
777cd1ed45SHeiko Stuebner			opp-microvolt = <1150000>;
787cd1ed45SHeiko Stuebner		};
797cd1ed45SHeiko Stuebner		opp08 {
807cd1ed45SHeiko Stuebner			opp-hz = /bits/ 64 <2016000000>;
817cd1ed45SHeiko Stuebner			opp-microvolt = <1250000>;
827cd1ed45SHeiko Stuebner		};
837cd1ed45SHeiko Stuebner	};
8468d19331SCaesar Wang
85a30f3d90SKrzysztof Kozlowski	gpu_opp_table: opp-table-2 {
8668d19331SCaesar Wang		compatible = "operating-points-v2";
8768d19331SCaesar Wang
8868d19331SCaesar Wang		opp00 {
8968d19331SCaesar Wang			opp-hz = /bits/ 64 <200000000>;
9068d19331SCaesar Wang			opp-microvolt = <800000>;
9168d19331SCaesar Wang		};
9268d19331SCaesar Wang		opp01 {
9368d19331SCaesar Wang			opp-hz = /bits/ 64 <297000000>;
9468d19331SCaesar Wang			opp-microvolt = <800000>;
9568d19331SCaesar Wang		};
9668d19331SCaesar Wang		opp02 {
9768d19331SCaesar Wang			opp-hz = /bits/ 64 <400000000>;
9868d19331SCaesar Wang			opp-microvolt = <825000>;
9968d19331SCaesar Wang		};
10068d19331SCaesar Wang		opp03 {
10168d19331SCaesar Wang			opp-hz = /bits/ 64 <500000000>;
10268d19331SCaesar Wang			opp-microvolt = <850000>;
10368d19331SCaesar Wang		};
10468d19331SCaesar Wang		opp04 {
10568d19331SCaesar Wang			opp-hz = /bits/ 64 <600000000>;
10668d19331SCaesar Wang			opp-microvolt = <925000>;
10768d19331SCaesar Wang		};
10868d19331SCaesar Wang		opp05 {
10968d19331SCaesar Wang			opp-hz = /bits/ 64 <800000000>;
11068d19331SCaesar Wang			opp-microvolt = <1075000>;
11168d19331SCaesar Wang		};
11268d19331SCaesar Wang	};
11380bc6f34SLin Huang
114*b67b0973SKrzysztof Kozlowski	dmc_opp_table: opp-table-3 {
11580bc6f34SLin Huang		compatible = "operating-points-v2";
11680bc6f34SLin Huang
11780bc6f34SLin Huang		opp00 {
11880bc6f34SLin Huang			opp-hz = /bits/ 64 <400000000>;
11980bc6f34SLin Huang			opp-microvolt = <900000>;
12080bc6f34SLin Huang		};
12180bc6f34SLin Huang		opp01 {
12280bc6f34SLin Huang			opp-hz = /bits/ 64 <666000000>;
12380bc6f34SLin Huang			opp-microvolt = <900000>;
12480bc6f34SLin Huang		};
12580bc6f34SLin Huang		opp02 {
12680bc6f34SLin Huang			opp-hz = /bits/ 64 <800000000>;
12780bc6f34SLin Huang			opp-microvolt = <900000>;
12880bc6f34SLin Huang		};
12980bc6f34SLin Huang		opp03 {
13080bc6f34SLin Huang			opp-hz = /bits/ 64 <928000000>;
13180bc6f34SLin Huang			opp-microvolt = <925000>;
13280bc6f34SLin Huang		};
13380bc6f34SLin Huang	};
1347cd1ed45SHeiko Stuebner};
1357cd1ed45SHeiko Stuebner
1367cd1ed45SHeiko Stuebner&cpu_l0 {
1377cd1ed45SHeiko Stuebner	operating-points-v2 = <&cluster0_opp>;
1387cd1ed45SHeiko Stuebner};
1397cd1ed45SHeiko Stuebner
1407cd1ed45SHeiko Stuebner&cpu_l1 {
1417cd1ed45SHeiko Stuebner	operating-points-v2 = <&cluster0_opp>;
1427cd1ed45SHeiko Stuebner};
1437cd1ed45SHeiko Stuebner
1447cd1ed45SHeiko Stuebner&cpu_l2 {
1457cd1ed45SHeiko Stuebner	operating-points-v2 = <&cluster0_opp>;
1467cd1ed45SHeiko Stuebner};
1477cd1ed45SHeiko Stuebner
1487cd1ed45SHeiko Stuebner&cpu_l3 {
1497cd1ed45SHeiko Stuebner	operating-points-v2 = <&cluster0_opp>;
1507cd1ed45SHeiko Stuebner};
1517cd1ed45SHeiko Stuebner
1527cd1ed45SHeiko Stuebner&cpu_b0 {
1537cd1ed45SHeiko Stuebner	operating-points-v2 = <&cluster1_opp>;
1547cd1ed45SHeiko Stuebner};
1557cd1ed45SHeiko Stuebner
1567cd1ed45SHeiko Stuebner&cpu_b1 {
1577cd1ed45SHeiko Stuebner	operating-points-v2 = <&cluster1_opp>;
1587cd1ed45SHeiko Stuebner};
15968d19331SCaesar Wang
16080bc6f34SLin Huang&dmc {
16180bc6f34SLin Huang	operating-points-v2 = <&dmc_opp_table>;
16280bc6f34SLin Huang};
16380bc6f34SLin Huang
16468d19331SCaesar Wang&gpu {
16568d19331SCaesar Wang	operating-points-v2 = <&gpu_opp_table>;
16668d19331SCaesar Wang};
167