Skip to content
View in the app

A better way to browse. Learn more.

Learn more

Add pwm2 overlay for renegade

Featured Replies

The base device tree for the Renegade (roc-rk3328-cc) already includes a PWM2 device but armbian does not include the .dtbo to enable it. Thus, it is also unavailable through armbian-config. The Libre builds of Debian support it, but not armbian.

 

I have copied the overlay from the Libre build of Debian for Renegade and it applies correctly on after I manually add it to the overlay directory:

/boot/dtb-6.12.32-current-rockchip64/rockchip/overlay/rockchip-rk3328-pwm2.dtbo

 

Note that as of today armbian-config is having a general issue with loading overlays via armbianEnv.txt. This can be bypassed by avoiding using armbian-config for overlays and editing armbianEnv.txt directly and adding the overlay name to the overlays=  line minus the "rockchip-" prefix.

 

 

FWIW - here's the overlay source:

===========================

/dts-v1/;

/ {
        compatible = "libretech,roc-rk3328-cc\0rockchip,rk3328";

        fragment@0 {
                target = <0xffffffff>;

                __overlay__ {
                        status = "okay";
                };
        };

        __fixups__ {
                pwm2 = "/fragment@0:target:0";
        };
};

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.