From fc6ebb297bc91046d105fb77f40c6d06d5d49c7c Mon Sep 17 00:00:00 2001 From: Emmanuel Vadot Date: Fri, 30 Nov 2018 10:31:30 +0000 Subject: [PATCH] arm64: allwinner: Add 792Mhz frequency to sun50i-a64-opp This is the frequency of the cpu on the Pinebook so add it to make cpufreq find the current setting. Note that this dtbo on the Pinebook doesn't work right now as u-boot dtb doesn't have symbols and so it fails to apply. Linux 4.20 have the dts and will be imported once taggued. MFC after: 1 month X-MFC with: r341268 --- sys/dts/arm64/overlays/sun50i-a64-opp.dtso | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sys/dts/arm64/overlays/sun50i-a64-opp.dtso b/sys/dts/arm64/overlays/sun50i-a64-opp.dtso index 738065b78c9..8a26c2c2042 100644 --- a/sys/dts/arm64/overlays/sun50i-a64-opp.dtso +++ b/sys/dts/arm64/overlays/sun50i-a64-opp.dtso @@ -15,6 +15,11 @@ opp-microvolt = <1040000>; clock-latency-ns = <244144>; /* 8 32k periods */ }; + opp-792000000 { + opp-hz = /bits/ 64 <792000000>; + opp-microvolt = <1100000>; + clock-latency-ns = <244144>; /* 8 32k periods */ + }; opp-816000000 { opp-hz = /bits/ 64 <816000000>; opp-microvolt = <1100000>;