sunxi: overclock Allwinner H5 up to 1.36 GHz

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit 782a54d26d)
This commit is contained in:
Tianling Shen
2024-02-13 13:51:45 +08:00
parent 1c43d2fee9
commit e1944d68d8

View File

@@ -0,0 +1,33 @@
--- a/arch/arm64/boot/dts/allwinner/sun50i-h5-cpu-opp.dtsi
+++ b/arch/arm64/boot/dts/allwinner/sun50i-h5-cpu-opp.dtsi
@@ -59,6 +59,30 @@
opp-microvolt = <1300000 1300000 1310000>;
clock-latency-ns = <244144>; /* 8 32k periods */
};
+
+ opp-1200000000 {
+ opp-hz = /bits/ 64 <1200000000>;
+ opp-microvolt = <1300000 1300000 1310000>;
+ clock-latency-ns = <244144>; /* 8 32k periods */
+ };
+
+ opp-1248000000 {
+ opp-hz = /bits/ 64 <1248000000>;
+ opp-microvolt = <1300000 1300000 1310000>;
+ clock-latency-ns = <244144>; /* 8 32k periods */
+ };
+
+ opp-1296000000 {
+ opp-hz = /bits/ 64 <1296000000>;
+ opp-microvolt = <1300000 1300000 1310000>;
+ clock-latency-ns = <244144>; /* 8 32k periods */
+ };
+
+ opp-1368000000 {
+ opp-hz = /bits/ 64 <1368000000>;
+ opp-microvolt = <1320000 1300000 1340000>;
+ clock-latency-ns = <244144>; /* 8 32k periods */
+ };
};
};