Skip to content

Commit

Permalink
Update crbnevo.dts
Browse files Browse the repository at this point in the history
  • Loading branch information
ReFil authored Jun 23, 2024
1 parent 47bd015 commit f639770
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions config/boards/arm/crbnevo/crbnevo.dts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@
label = "Backlight LEDs";
pwm_led_0 {
pwms = <&pwm0 0 10000 PWM_POLARITY_NORMAL>;
label = "Backlight LED 0";
};
};

Expand All @@ -81,13 +80,29 @@

&pwm0 {
status = "okay";
ch0-pin = <40>;
pinctrl-0 = <&pwm0_default>;
pinctrl-1 = <&pwm0_sleep>;
pinctrl-names = "default", "sleep";
};

&gpiote {
status = "okay";
};

&pinctrl {
pwm0_default: pwm0_default {
group1 {
psels = <NRF_PSEL(PWM_OUT0, 1, 8)>;
};
};
pwm0_sleep: pwm0_sleep {
group1 {
psels = <NRF_PSEL(PWM_OUT0, 1, 8)>;
low-power-enable;
};
};
};

&gpio0 {
status = "okay";
};
Expand Down

0 comments on commit f639770

Please sign in to comment.