samples: led_pwm: add overlay for rpi_pico board

Add an overlay for rpi_pico board to the led_pwm sample.
This board only supports fairly high pwm frequencies so
the blinking of the LED is not supported. Turning it on/off
and fading is.

Signed-off-by: Joep Buruma <burumaj50@gmail.com>
This commit is contained in:
Joep Buruma 2022-02-18 21:17:29 +01:00 committed by Carles Cufí
parent b876ad9d6f
commit 91f659d70a

View File

@ -0,0 +1,9 @@
&pwm_led0 {
status = "okay";
};
&pwm {
status = "okay";
divider-frac-4 = <255>;
divider-int-4 = <255>;
};