From e1944d68d88bd4ef35967334ef3b86b20ca9e8ef Mon Sep 17 00:00:00 2001 From: Tianling Shen Date: Tue, 13 Feb 2024 13:51:45 +0800 Subject: [PATCH] sunxi: overclock Allwinner H5 up to 1.36 GHz Signed-off-by: Tianling Shen (cherry picked from commit 782a54d26df078c01a0807c237744d6712c05450) --- ...er-h5-add-more-cpu-operating-points-.patch | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 target/linux/sunxi/patches-5.15/910-arm64-dts-allwinner-h5-add-more-cpu-operating-points-.patch diff --git a/target/linux/sunxi/patches-5.15/910-arm64-dts-allwinner-h5-add-more-cpu-operating-points-.patch b/target/linux/sunxi/patches-5.15/910-arm64-dts-allwinner-h5-add-more-cpu-operating-points-.patch new file mode 100644 index 0000000000..b4e003ecfd --- /dev/null +++ b/target/linux/sunxi/patches-5.15/910-arm64-dts-allwinner-h5-add-more-cpu-operating-points-.patch @@ -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 */ ++ }; + }; + }; +