summarylogtreecommitdiffstats
path: root/0011-dts-h6-tqc-a01-cpu-opp-2ghz.patch
blob: b44aed025e704ce7ee54dd039a9abb36980ef19b (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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6-cpu-opp.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-h6-cpu-opp.dtsi
index 8c6e853..15dde12 100644
--- a/arch/arm64/boot/dts/allwinner/sun50i-h6-cpu-opp.dtsi
+++ b/arch/arm64/boot/dts/allwinner/sun50i-h6-cpu-opp.dtsi
@@ -12,90 +12,117 @@ opp-480000000 {
 			clock-latency-ns = <244144>; /* 8 32k periods */
 			opp-hz = /bits/ 64 <480000000>;
 
-			opp-microvolt-speed0 = <880000 880000 1200000>;
-			opp-microvolt-speed1 = <820000 820000 1200000>;
-			opp-microvolt-speed2 = <820000 820000 1200000>;
+			opp-microvolt-speed0 = <880000 880000 1260000>;
+			opp-microvolt-speed1 = <820000 820000 1260000>;
+			opp-microvolt-speed2 = <820000 820000 1260000>;
 		};
 
 		opp-720000000 {
 			clock-latency-ns = <244144>; /* 8 32k periods */
 			opp-hz = /bits/ 64 <720000000>;
 
-			opp-microvolt-speed0 = <880000 880000 1200000>;
-			opp-microvolt-speed1 = <820000 820000 1200000>;
-			opp-microvolt-speed2 = <820000 820000 1200000>;
+			opp-microvolt-speed0 = <880000 880000 1260000>;
+			opp-microvolt-speed1 = <820000 820000 1260000>;
+			opp-microvolt-speed2 = <820000 820000 1260000>;
 		};
 
 		opp-816000000 {
 			clock-latency-ns = <244144>; /* 8 32k periods */
 			opp-hz = /bits/ 64 <816000000>;
 
-			opp-microvolt-speed0 = <880000 880000 1200000>;
-			opp-microvolt-speed1 = <820000 820000 1200000>;
-			opp-microvolt-speed2 = <820000 820000 1200000>;
+			opp-microvolt-speed0 = <880000 880000 1260000>;
+			opp-microvolt-speed1 = <820000 820000 1260000>;
+			opp-microvolt-speed2 = <820000 820000 1260000>;
 		};
 
 		opp-888000000 {
 			clock-latency-ns = <244144>; /* 8 32k periods */
 			opp-hz = /bits/ 64 <888000000>;
 
-			opp-microvolt-speed0 = <880000 880000 1200000>;
-			opp-microvolt-speed1 = <820000 820000 1200000>;
-			opp-microvolt-speed2 = <820000 820000 1200000>;
+			opp-microvolt-speed0 = <880000 880000 1260000>;
+			opp-microvolt-speed1 = <820000 820000 1260000>;
+			opp-microvolt-speed2 = <820000 820000 1260000>;
 		};
 
 		opp-1080000000 {
 			clock-latency-ns = <244144>; /* 8 32k periods */
 			opp-hz = /bits/ 64 <1080000000>;
 
-			opp-microvolt-speed0 = <940000 940000 1200000>;
-			opp-microvolt-speed1 = <880000 880000 1200000>;
-			opp-microvolt-speed2 = <880000 880000 1200000>;
+			opp-microvolt-speed0 = <940000 940000 1260000>;
+			opp-microvolt-speed1 = <880000 880000 1260000>;
+			opp-microvolt-speed2 = <880000 880000 1260000>;
 		};
 
 		opp-1320000000 {
 			clock-latency-ns = <244144>; /* 8 32k periods */
 			opp-hz = /bits/ 64 <1320000000>;
 
-			opp-microvolt-speed0 = <1000000 1000000 1200000>;
-			opp-microvolt-speed1 = <940000 940000 1200000>;
-			opp-microvolt-speed2 = <940000 940000 1200000>;
+			opp-microvolt-speed0 = <1000000 1000000 1260000>;
+			opp-microvolt-speed1 = <940000 940000 1260000>;
+			opp-microvolt-speed2 = <940000 940000 1260000>;
 		};
 
 		opp-1488000000 {
 			clock-latency-ns = <244144>; /* 8 32k periods */
 			opp-hz = /bits/ 64 <1488000000>;
 
-			opp-microvolt-speed0 = <1060000 1060000 1200000>;
-			opp-microvolt-speed1 = <1000000 1000000 1200000>;
-			opp-microvolt-speed2 = <1000000 1000000 1200000>;
+			opp-microvolt-speed0 = <1060000 1060000 1260000>;
+			opp-microvolt-speed1 = <1000000 1000000 1260000>;
+			opp-microvolt-speed2 = <1000000 1000000 1260000>;
 		};
 
 		opp-1608000000 {
 			clock-latency-ns = <244144>; /* 8 32k periods */
 			opp-hz = /bits/ 64 <1608000000>;
 
-			opp-microvolt-speed0 = <1090000 1090000 1200000>;
-			opp-microvolt-speed1 = <1030000 1030000 1200000>;
-			opp-microvolt-speed2 = <1030000 1030000 1200000>;
+			opp-microvolt-speed0 = <1090000 1090000 1260000>;
+			opp-microvolt-speed1 = <1030000 1030000 1260000>;
+			opp-microvolt-speed2 = <1030000 1030000 1260000>;
 		};
 
 		opp-1704000000 {
 			clock-latency-ns = <244144>; /* 8 32k periods */
 			opp-hz = /bits/ 64 <1704000000>;
 
-			opp-microvolt-speed0 = <1120000 1120000 1200000>;
-			opp-microvolt-speed1 = <1060000 1060000 1200000>;
-			opp-microvolt-speed2 = <1060000 1060000 1200000>;
+			opp-microvolt-speed0 = <1120000 1120000 1260000>;
+			opp-microvolt-speed1 = <1060000 1060000 1260000>;
+			opp-microvolt-speed2 = <1060000 1060000 1260000>;
 		};
 
 		opp-1800000000 {
 			clock-latency-ns = <244144>; /* 8 32k periods */
 			opp-hz = /bits/ 64 <1800000000>;
 
-			opp-microvolt-speed0 = <1160000 1160000 1200000>;
-			opp-microvolt-speed1 = <1100000 1100000 1200000>;
-			opp-microvolt-speed2 = <1100000 1100000 1200000>;
+			opp-microvolt-speed0 = <1160000 1160000 1260000>;
+			opp-microvolt-speed1 = <1100000 1100000 1260000>;
+			opp-microvolt-speed2 = <1100000 1100000 1260000>;
+		};
+
+		opp@1896000000 {
+			clock-latency-ns = <244144>; /* 8 32k periods */
+			opp-hz = /bits/ 64 <1896000000>;
+
+			opp-microvolt-speed0 = <1180000 1180000 1260000>;
+			opp-microvolt-speed1 = <1120000 1120000 1260000>;
+			opp-microvolt-speed2 = <1120000 1120000 1260000>;
+		};
+
+		opp@1968000000 {
+			clock-latency-ns = <244144>; /* 8 32k periods */
+			opp-hz = /bits/ 64 <1968000000>;
+
+			opp-microvolt-speed0 = <1200000 1200000 1260000>;
+			opp-microvolt-speed1 = <1140000 1140000 1260000>;
+			opp-microvolt-speed2 = <1140000 1140000 1260000>;
+		};
+
+		opp@2016000000 {
+			clock-latency-ns = <244144>; /* 8 32k periods */
+			opp-hz = /bits/ 64 <2016000000>;
+
+			opp-microvolt-speed0 = <1220000 1220000 1260000>;
+			opp-microvolt-speed1 = <1160000 1160000 1260000>;
+			opp-microvolt-speed2 = <1160000 1160000 1260000>;
 		};
 	};
 };
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6-tqc-a01.dts b/arch/arm64/boot/dts/allwinner/sun50i-h6-tqc-a01.dts
index e3e01fa..a2f6364 100644
--- a/arch/arm64/boot/dts/allwinner/sun50i-h6-tqc-a01.dts
+++ b/arch/arm64/boot/dts/allwinner/sun50i-h6-tqc-a01.dts
@@ -296,7 +296,7 @@ cldo3 {
 			reg_dcdca: dcdca {
 				regulator-always-on;
 				regulator-min-microvolt = <800000>;
-				regulator-max-microvolt = <1160000>;
+				regulator-max-microvolt = <1220000>;
 				regulator-ramp-delay = <2500>;
 				regulator-name = "vdd-cpu";
 			};