Overclock the S905Y2?


Is it possible and safe to overclock the S905Y2? How?..

Thanks! :slightly_smiling_face:

UPDATE 09/22/2023

You can easyly overclock your Radxa Zero or any other S905Y2 pc with linux, following this useful video by Salva of Microlinux.

It’s the same solution suggested by c0rnelius, decompiling and recompiling the dtb. It works fine. The Zero feels faster…

I do so and haven’t had any problems. I patch the following when building a kernel.

--- a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi	2021-12-02 05:44:16.837136220 -0500
+++ b/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi	2021-12-04 05:40:01.518834737 -0500
@@ -111,6 +111,12 @@
 			opp-hz = /bits/ 64 <1800000000>;
 			opp-microvolt = <981000>;
+		opp-2004000000 {
+			opp-hz = /bits/ 64 <2004000000>;
+			opp-microvolt = <1022000>;
+			turbo-mode;
+		};

I would guess, maybe an overlay could be created that would achieve the same goal or one could just edit the dtb file on the board. Anyway, once applied echo "1" > /sys/devices/system/cpu/cpufreq/boost and it will boost the cores: 1992000 1992000 1992000 1992000


Thanks c0rnelius.

I don’t compile the kernel.

So no easier way to do it?


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>;

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

1 Like

This overlay should also work.


/ {
	compatible = "radxa,zero", "amlogic,g12a";

	fragment@0 {
		target-path = "/opp-table";
		__overlay__ {
			opp-2004000000 {
				opp-hz = /bits/ 64 <2004000000>;
				opp-microvolt = <1022000>;

I managed to compile overlay like this and it works alright. But /sys/devices/system/cpu/cpufreq/boost always resets on boot. How do i activate boost permanently (not in a way to stop cpu from lowering clocks on idle, just so i don’t have to activate it every reset)

remove turbo-mode; from the overlay or create a script and service.

paste the following into a terminal:

sudo tee /usr/bin/tweaks <<EOF

if [ -f /sys/devices/system/cpu/cpufreq/boost ]; then
	echo "1" > /sys/devices/system/cpu/cpufreq/boost;
sudo chmod +x /usr/bin/tweaks
sudo tee /etc/systemd/system/tweaks.service <<EOF
Description=Radxa Zero System Tweaks
After=sysinit.target local-fs.target network.target bluetooth.target


sudo systemctl enable tweaks
sudo systemctl start tweaks

Hi sorry to jump on the thread – I felt that this is relevant to others reading this thread.

Has anyone tried pushing the limits of the S905Y2 overclocking? 2.0GHz I believe is a “within spec” overclock.

Perhaps has anyone tried 2.1 or 2.2GHz (or beyond)? Are you able to share your DTC configurations for us to replicate as well?