Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Acked-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Link: https://lore.kernel.org/r/20230228114112.3340715-1-andre.przywara@arm.com
Signed-off-by: Jernej Skrabec <jernej.skrabec@gmail.com>

authored by

Andre Przywara and committed by
Jernej Skrabec
23ca1dd4 9ebdff9a

+1
+1
arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-pc2.dts
··· 3 3 4 4 /dts-v1/; 5 5 #include "sun50i-h5.dtsi" 6 + #include "sun50i-h5-cpu-opp.dtsi" 6 7 7 8 #include <dt-bindings/gpio/gpio.h> 8 9 #include <dt-bindings/input/input.h>