20 lines
345 B
Text
20 lines
345 B
Text
&pwm0 {
|
|
status = "okay";
|
|
ch0-pin = <9>;
|
|
/* ch0-inverted; */
|
|
};
|
|
|
|
/ {
|
|
pwm_backlight: pwmleds {
|
|
compatible = "pwm-leds";
|
|
label = "Backlight LEDs";
|
|
pwm_led_0 {
|
|
pwms = <&pwm0 45>;
|
|
label = "Backlight LED 0";
|
|
};
|
|
};
|
|
|
|
chosen {
|
|
zmk,backlight = &pwm_backlight;
|
|
};
|
|
};
|