diff --git a/config/boards/arm/sofle/sofle_right.dts b/config/boards/arm/sofle/sofle_right.dts index 8ad9fef..c5d91d0 100644 --- a/config/boards/arm/sofle/sofle_right.dts +++ b/config/boards/arm/sofle/sofle_right.dts @@ -47,6 +47,12 @@ compatible = "zmk,battery-nrf-vddh"; // init-delay-ms = <50>; }; +backlight: pwmleds { + compatible = "pwm-leds"; + pwm_led_0 { + pwms = <&pwm0 0 PWM_MSEC(10) PWM_POLARITY_NORMAL>; + }; + }; }; &default_transform { @@ -90,3 +96,9 @@ }; }; }; +&pwm0 { + status = "okay"; + pinctrl-0 = <&pwm0_default>; + pinctrl-1 = <&pwm0_sleep>; + pinctrl-names = "default", "sleep"; +};