mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-04 20:52:25 +00:00
Add the remaining timer nodes for stm32h562. Tested with a Logic Analyzer and `samples/drivers/led_pwm` with added `nucleo_h563zi.overlay`: ``` &timers15 { status = "okay"; st,prescaler = <1000>; pwm15: pwm { status = "okay"; pinctrl-0 = <&tim15_ch2_pa3 /* CN10.34 */>; pinctrl-names = "default"; }; }; &timers16 { status = "okay"; st,prescaler = <1000>; pwm16: pwm { status = "okay"; pinctrl-0 = <&tim16_ch1n_pb6 /* CN10.14 */>; pinctrl-names = "default"; }; }; &timers17 { st,prescaler = <1000>; status = "okay"; pwm17: pwm { status = "okay"; pinctrl-0 = <&tim17_ch1n_pb7 /* CN10.16 */>; pinctrl-names = "default"; }; }; &pwmleds { status = "okay"; pwm_led_1: green_led_1 { pwms = <&pwm15 2 PWM_MSEC(20) PWM_POLARITY_NORMAL>; label = "green led"; }; pwm_led_2: red_led_1 { pwms = <&pwm16 1 PWM_MSEC(20) (PWM_POLARITY_NORMAL | STM32_PWM_COMPLEMENTARY)>; label = "red led"; }; pwm_led_3: blue_led_1 { pwms = <&pwm17 1 PWM_MSEC(20) (PWM_POLARITY_NORMAL | STM32_PWM_COMPLEMENTARY)>; label = "blue led"; }; }; ``` Signed-off-by: Jeppe Odgaard <jeppe.odgaard@prevas.dk> |
||
---|---|---|
.. | ||
arc/synopsys | ||
arm | ||
arm64 | ||
bindings | ||
common | ||
nios2/intel | ||
posix | ||
riscv | ||
sparc/gaisler | ||
x86/intel | ||
xtensa | ||
binding-template.yaml | ||
Kconfig |