summaryrefslogtreecommitdiffstats
path: root/arch/riscv/boot/dts/spacemit/k1-opp.dtsi
blob: 4cebfcd87485f2650f2e1631b9b4a3c9f7d2c513 (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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)

/ {
	cluster0_opp_table: opp-table-cluster0 {
		compatible = "operating-points-v2";
		opp-shared;

		opp-614400000 {
			opp-hz = /bits/ 64 <614400000>;
			opp-microvolt = <950000 950000 1050000>;
			clock-latency-ns = <200000>;
		};

		opp-819000000 {
			opp-hz = /bits/ 64 <819000000>;
			opp-microvolt = <950000 950000 1050000>;
			clock-latency-ns = <200000>;
		};

		opp-1000000000 {
			opp-hz = /bits/ 64 <1000000000>;
			opp-microvolt = <950000 950000 1050000>;
			clock-latency-ns = <200000>;
		};

		opp-1228800000 {
			opp-hz = /bits/ 64 <1228800000>;
			opp-microvolt = <950000 950000 1050000>;
			clock-latency-ns = <200000>;
		};

		opp-1600000000 {
			opp-hz = /bits/ 64 <1600000000>;
			opp-microvolt = <1050000 1050000 1050000>;
			clock-latency-ns = <200000>;
		};
	};

	cluster1_opp_table: opp-table-cluster1 {
		compatible = "operating-points-v2";
		opp-shared;

		opp-614400000 {
			opp-hz = /bits/ 64 <614400000>;
			opp-microvolt = <950000 950000 1050000>;
			clock-latency-ns = <200000>;
		};

		opp-819000000 {
			opp-hz = /bits/ 64 <819000000>;
			opp-microvolt = <950000 950000 1050000>;
			clock-latency-ns = <200000>;
		};

		opp-1000000000 {
			opp-hz = /bits/ 64 <1000000000>;
			opp-microvolt = <950000 950000 1050000>;
			clock-latency-ns = <200000>;
		};

		opp-1228800000 {
			opp-hz = /bits/ 64 <1228800000>;
			opp-microvolt = <950000 950000 1050000>;
			clock-latency-ns = <200000>;
		};

		opp-1600000000 {
			opp-hz = /bits/ 64 <1600000000>;
			opp-microvolt = <1050000 1050000 1050000>;
			clock-latency-ns = <200000>;
		};
	};
};

&cpu_0 {
	operating-points-v2 = <&cluster0_opp_table>;
};

&cpu_1 {
	operating-points-v2 = <&cluster0_opp_table>;
};

&cpu_2 {
	operating-points-v2 = <&cluster0_opp_table>;
};

&cpu_3 {
	operating-points-v2 = <&cluster0_opp_table>;
};

&cpu_4 {
	operating-points-v2 = <&cluster1_opp_table>;
};

&cpu_5 {
	operating-points-v2 = <&cluster1_opp_table>;
};

&cpu_6 {
	operating-points-v2 = <&cluster1_opp_table>;
};

&cpu_7 {
	operating-points-v2 = <&cluster1_opp_table>;
};