Skip to content

Commit

Permalink
Update corne.dtsi
Browse files Browse the repository at this point in the history
  • Loading branch information
a741725193 authored Oct 6, 2024
1 parent 815056e commit 8e4b147
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions config/boards/arm/corne/corne.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,14 @@
color-mapping = <LED_COLOR_ID_GREEN LED_COLOR_ID_RED LED_COLOR_ID_BLUE>;
};
};
/ {
backlight: pwmleds {
compatible = "pwm-leds";
pwm_led_0 {
pwms = <&pwm0 0 PWM_MSEC(10) PWM_POLARITY_NORMAL>;
};
};
};
&pwm0 {
status = "okay";
pinctrl-0 = <&pwm0_default>;
Expand Down

0 comments on commit 8e4b147

Please sign in to comment.