summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/allwinner/sun50i-a100-cpu-opp.dtsi
blob: c6a2efa037dc4f31dc2bdeef85cae71dac4ee22f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
// Copyright (c) 2020 Yangtao Li <frank@allwinnertech.com>
// Copyright (c) 2020 ShuoSheng Huang <huangshuosheng@allwinnertech.com>

/ {
	cpu_opp_table: opp-table-cpu {
		compatible = "allwinner,sun50i-a100-operating-points";
		nvmem-cells = <&cpu_speed_grade>;
		opp-shared;

		opp-408000000 {
			clock-latency-ns = <244144>; /* 8 32k periods */
			opp-hz = /bits/ 64 <408000000>;

			opp-microvolt-speed0 = <900000>;
			opp-microvolt-speed1 = <900000>;
			opp-microvolt-speed2 = <900000>;
		};

		opp-600000000 {
			clock-latency-ns = <244144>; /* 8 32k periods */
			opp-hz = /bits/ 64 <600000000>;

			opp-microvolt-speed0 = <900000>;
			opp-microvolt-speed1 = <900000>;
			opp-microvolt-speed2 = <900000>;
		};

		opp-816000000 {
			clock-latency-ns = <244144>; /* 8 32k periods */
			opp-hz = /bits/ 64 <816000000>;

			opp-microvolt-speed0 = <940000>;
			opp-microvolt-speed1 = <900000>;
			opp-microvolt-speed2 = <900000>;
		};

		opp-1080000000 {
			clock-latency-ns = <244144>; /* 8 32k periods */
			opp-hz = /bits/ 64 <1080000000>;

			opp-microvolt-speed0 = <1020000>;
			opp-microvolt-speed1 = <980000>;
			opp-microvolt-speed2 = <950000>;
		};

		opp-1200000000 {
			clock-latency-ns = <244144>; /* 8 32k periods */
			opp-hz = /bits/ 64 <1200000000>;

			opp-microvolt-speed0 = <1100000>;
			opp-microvolt-speed1 = <1020000>;
			opp-microvolt-speed2 = <1000000>;
		};

		opp-1320000000 {
			clock-latency-ns = <244144>; /* 8 32k periods */
			opp-hz = /bits/ 64 <1320000000>;

			opp-microvolt-speed0 = <1160000>;
			opp-microvolt-speed1 = <1060000>;
			opp-microvolt-speed2 = <1030000>;
		};

		opp-1464000000 {
			clock-latency-ns = <244144>; /* 8 32k periods */
			opp-hz = /bits/ 64 <1464000000>;

			opp-microvolt-speed0 = <1180000>;
			opp-microvolt-speed1 = <1180000>;
			opp-microvolt-speed2 = <1130000>;
		};
	};
};

&cpu0 {
	operating-points-v2 = <&cpu_opp_table>;
};

&cpu1 {
	operating-points-v2 = <&cpu_opp_table>;
};

&cpu2 {
	operating-points-v2 = <&cpu_opp_table>;
};

&cpu3 {
	operating-points-v2 = <&cpu_opp_table>;
};