Update sofle_right.dts

This commit is contained in:
1218
2024-10-05 04:14:14 +08:00
committed by GitHub
parent 44b64e670a
commit c99931e3af
+12
View File
@@ -47,6 +47,12 @@
compatible = "zmk,battery-nrf-vddh"; compatible = "zmk,battery-nrf-vddh";
// init-delay-ms = <50>; // init-delay-ms = <50>;
}; };
backlight: pwmleds {
compatible = "pwm-leds";
pwm_led_0 {
pwms = <&pwm0 0 PWM_MSEC(10) PWM_POLARITY_NORMAL>;
};
};
}; };
&default_transform { &default_transform {
@@ -90,3 +96,9 @@
}; };
}; };
}; };
&pwm0 {
status = "okay";
pinctrl-0 = <&pwm0_default>;
pinctrl-1 = <&pwm0_sleep>;
pinctrl-names = "default", "sleep";
};