Well we could try decompiling and recompiling the dtb. In my testing it looked like it would work.
sudo apt update; sudo apt install -y device-tree-compiler
mv meson-g12a-radxa-zero.dtb meson-g12a-radxa-zero.dtb.orig
dtc -I dtb -O dts meson-g12a-radxa-zero.dtb.orig -o meson-g12a-radxa-zero.dts
Edit the dts using your preferred text editor and scroll down to the opp-table
.
Make it look exactly like this: (we are only adding the opp-2000000000
bit)
opp-1800000000 {
opp-hz = <0x00 0x6b49d200>;
opp-microvolt = <0xef808>;
};
opp-2004000000 {
opp-hz = /bits/ 64 <2004000000>;
opp-microvolt = <1022000>;
turbo-mode;
};
};
Compile:
dtc -I dts -O dtb meson-g12a-radxa-zero.dts -o meson-g12a-radxa-zero.dtb
After reboot check:
ls /sys/devices/system/cpu/cpufreq/boost
if available:
echo "1" | sudo tee /sys/devices/system/cpu/cpufreq/boost