Skip to contentSkip to conversation

arm64: dts: allwinner: h5: OrangePi PC2: add OPP table to enable DVFS

PATCH Applied Andre Przywara 2 participants 3 messages Feb 28, 2023 – Mar 14, 2023

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm64: dts: allwinner: h5: OrangePi PC2: add OPP table to enable DVFS

So far the OrangePi PC2 board was running at a fixed frequency, set by U-Boot to 816 MHz, which is the best achievable frequency at the 1.1V CPU voltage provided by the PMIC at reset.

We already describe the CPU voltage regulator in the DT, but were missing the OPP table. Just include the default H5 OPP table, as used by other boards. My OrangePi PC2 runs just fine with those values, and now goes up to 1.15 GHz.

---
 arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-pc2.dts | 1 +
 1 file changed, 1 insertion(+)
arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-pc2.dts +1 -0
index b5c1ff19b4c41..ce3ae19e72dbd 100644
@@ -3,6 +3,7 @@
 
 /dts-v1/;
 #include "sun50i-h5.dtsi"
+#include "sun50i-h5-cpu-opp.dtsi"
 
 #include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/input/input.h>
Signature · 1 line
2.25.1
maintainer Acked-by on v1 1/1
#1 lore raw

Dne torek, 28. februar 2023 ob 12:41:12 CET je Andre Przywara napisal(a):

Quoted 10 lines

So far the OrangePi PC2 board was running at a fixed frequency, set by U-Boot to 816 MHz, which is the best achievable frequency at the 1.1V CPU voltage provided by the PMIC at reset.

We already describe the CPU voltage regulator in the DT, but were missing the OPP table. Just include the default H5 OPP table, as used by other boards. My OrangePi PC2 runs just fine with those values, and now goes up to 1.15 GHz.

Best regards,
Jernej

maintainer Applied
#2 lore raw
In reply to Andre Przywara

Dne torek, 28. februar 2023 ob 12:41:12 CET je Andre Przywara napisal(a):

Quoted 10 lines

So far the OrangePi PC2 board was running at a fixed frequency, set by U-Boot to 816 MHz, which is the best achievable frequency at the 1.1V CPU voltage provided by the PMIC at reset.

We already describe the CPU voltage regulator in the DT, but were missing the OPP table. Just include the default H5 OPP table, as used by other boards. My OrangePi PC2 runs just fine with those values, and now goes up to 1.15 GHz.

Applied, thanks!

Best regards,
Jernej