xref: /freebsd-src/sys/contrib/device-tree/src/arm64/allwinner/sun50i-h5-cpu-opp.dtsi (revision 8cc087a1eee9ec1ca9f7ac1e63ad51bdb5a682eb)
1c66ec88fSEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2c66ec88fSEmmanuel Vadot// Copyright (C) 2020 Chen-Yu Tsai <wens@csie.org>
3c66ec88fSEmmanuel Vadot
4c66ec88fSEmmanuel Vadot/ {
5*8cc087a1SEmmanuel Vadot	cpu_opp_table: opp-table-cpu {
6c66ec88fSEmmanuel Vadot		compatible = "operating-points-v2";
7c66ec88fSEmmanuel Vadot		opp-shared;
8c66ec88fSEmmanuel Vadot
9c66ec88fSEmmanuel Vadot		opp-408000000 {
10c66ec88fSEmmanuel Vadot			opp-hz = /bits/ 64 <408000000>;
11c66ec88fSEmmanuel Vadot			opp-microvolt = <1000000 1000000 1310000>;
12c66ec88fSEmmanuel Vadot			clock-latency-ns = <244144>; /* 8 32k periods */
13c66ec88fSEmmanuel Vadot		};
14c66ec88fSEmmanuel Vadot
15c66ec88fSEmmanuel Vadot		opp-648000000 {
16c66ec88fSEmmanuel Vadot			opp-hz = /bits/ 64 <648000000>;
17c66ec88fSEmmanuel Vadot			opp-microvolt = <1040000 1040000 1310000>;
18c66ec88fSEmmanuel Vadot			clock-latency-ns = <244144>; /* 8 32k periods */
19c66ec88fSEmmanuel Vadot		};
20c66ec88fSEmmanuel Vadot
21c66ec88fSEmmanuel Vadot		opp-816000000 {
22c66ec88fSEmmanuel Vadot			opp-hz = /bits/ 64 <816000000>;
23c66ec88fSEmmanuel Vadot			opp-microvolt = <1080000 1080000 1310000>;
24c66ec88fSEmmanuel Vadot			clock-latency-ns = <244144>; /* 8 32k periods */
25c66ec88fSEmmanuel Vadot		};
26c66ec88fSEmmanuel Vadot
27c66ec88fSEmmanuel Vadot		opp-912000000 {
28c66ec88fSEmmanuel Vadot			opp-hz = /bits/ 64 <912000000>;
29c66ec88fSEmmanuel Vadot			opp-microvolt = <1120000 1120000 1310000>;
30c66ec88fSEmmanuel Vadot			clock-latency-ns = <244144>; /* 8 32k periods */
31c66ec88fSEmmanuel Vadot		};
32c66ec88fSEmmanuel Vadot
33c66ec88fSEmmanuel Vadot		opp-960000000 {
34c66ec88fSEmmanuel Vadot			opp-hz = /bits/ 64 <960000000>;
35c66ec88fSEmmanuel Vadot			opp-microvolt = <1160000 1160000 1310000>;
36c66ec88fSEmmanuel Vadot			clock-latency-ns = <244144>; /* 8 32k periods */
37c66ec88fSEmmanuel Vadot		};
38c66ec88fSEmmanuel Vadot
39c66ec88fSEmmanuel Vadot		opp-1008000000 {
40c66ec88fSEmmanuel Vadot			opp-hz = /bits/ 64 <1008000000>;
41c66ec88fSEmmanuel Vadot			opp-microvolt = <1200000 1200000 1310000>;
42c66ec88fSEmmanuel Vadot			clock-latency-ns = <244144>; /* 8 32k periods */
43c66ec88fSEmmanuel Vadot		};
44c66ec88fSEmmanuel Vadot
45c66ec88fSEmmanuel Vadot		opp-1056000000 {
46c66ec88fSEmmanuel Vadot			opp-hz = /bits/ 64 <1056000000>;
47c66ec88fSEmmanuel Vadot			opp-microvolt = <1240000 1240000 1310000>;
48c66ec88fSEmmanuel Vadot			clock-latency-ns = <244144>; /* 8 32k periods */
49c66ec88fSEmmanuel Vadot		};
50c66ec88fSEmmanuel Vadot
51c66ec88fSEmmanuel Vadot		opp-1104000000 {
52c66ec88fSEmmanuel Vadot			opp-hz = /bits/ 64 <1104000000>;
53c66ec88fSEmmanuel Vadot			opp-microvolt = <1260000 1260000 1310000>;
54c66ec88fSEmmanuel Vadot			clock-latency-ns = <244144>; /* 8 32k periods */
55c66ec88fSEmmanuel Vadot		};
56c66ec88fSEmmanuel Vadot
57c66ec88fSEmmanuel Vadot		opp-1152000000 {
58c66ec88fSEmmanuel Vadot			opp-hz = /bits/ 64 <1152000000>;
59c66ec88fSEmmanuel Vadot			opp-microvolt = <1300000 1300000 1310000>;
60c66ec88fSEmmanuel Vadot			clock-latency-ns = <244144>; /* 8 32k periods */
61c66ec88fSEmmanuel Vadot		};
62c66ec88fSEmmanuel Vadot	};
63c66ec88fSEmmanuel Vadot};
64c66ec88fSEmmanuel Vadot
65c66ec88fSEmmanuel Vadot&cpu0 {
66c66ec88fSEmmanuel Vadot	operating-points-v2 = <&cpu_opp_table>;
67c66ec88fSEmmanuel Vadot};
68c66ec88fSEmmanuel Vadot
69c66ec88fSEmmanuel Vadot&cpu1 {
70c66ec88fSEmmanuel Vadot	operating-points-v2 = <&cpu_opp_table>;
71c66ec88fSEmmanuel Vadot};
72c66ec88fSEmmanuel Vadot
73c66ec88fSEmmanuel Vadot&cpu2 {
74c66ec88fSEmmanuel Vadot	operating-points-v2 = <&cpu_opp_table>;
75c66ec88fSEmmanuel Vadot};
76c66ec88fSEmmanuel Vadot
77c66ec88fSEmmanuel Vadot&cpu3 {
78c66ec88fSEmmanuel Vadot	operating-points-v2 = <&cpu_opp_table>;
79c66ec88fSEmmanuel Vadot};
80