sunxi: limit h5 cpufreq to 1.3 GHz

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
This commit is contained in:
Tianling Shen
2024-06-27 20:45:46 +08:00
parent 0b1d7a7c1d
commit de8276d78f

View File

@@ -1,6 +1,6 @@
--- 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 @@
@@ -59,6 +59,24 @@
opp-microvolt = <1300000 1300000 1310000>;
clock-latency-ns = <244144>; /* 8 32k periods */
};
@@ -21,12 +21,6 @@
+ 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 */
+ };
};
};