boards: arm: stm32: set LEDs period to 20ms

Most LEDs had 0 or 4 nanoseconds set as a period, a value that doesn't
make sense for a PWM signal driving an LED. A period of 20ms (50Hz) is a
frequently used value as it is above the flicker fusion threshold. All
STM32 based boards have been updated.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
This commit is contained in:
Gerard Marull-Paretas 2022-04-06 10:22:59 +02:00 committed by Marti Bolivar
commit 5a0b12c230
12 changed files with 15 additions and 15 deletions

View file

@ -41,7 +41,7 @@
compatible = "pwm-leds";
red_pwm_led: red_pwm_led {
pwms = <&pwm12 1 4 PWM_POLARITY_NORMAL>;
pwms = <&pwm12 1 PWM_MSEC(20) PWM_POLARITY_NORMAL>;
label = "User LD3 - PWM12";
};
};