boards: arm: stm32: use LSE as source for LPTIM

Automatically select LSE as source for LPTIM
on the nucleo_h723zg board.

Signed-off-by: Benedikt Schmidt <benedikt.schmidt@embedded-solutions.at>
This commit is contained in:
Benedikt Schmidt 2022-01-19 14:05:20 +01:00 committed by Anas Nashif
commit 852a6bb8ce
2 changed files with 9 additions and 0 deletions

View file

@ -15,4 +15,9 @@ config NET_L2_ETHERNET
endif # NETWORKING
choice STM32_LPTIM_CLOCK
default STM32_LPTIM_CLOCK_LSE
depends on STM32_LPTIM_TIMER
endchoice
endif # BOARD_NUCLEO_H723ZG

View file

@ -68,6 +68,10 @@
status = "okay";
};
&clk_lse {
status = "okay";
};
&pll {
div-m = <4>;
mul-n = <275>;