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

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

Signed-off-by: Benedikt Schmidt <benedikt.schmidt@embedded-solutions.at>
This commit is contained in:
Benedikt Schmidt 2022-01-19 13:56:22 +01:00 committed by Anas Nashif
commit f6a55994bd
2 changed files with 8 additions and 0 deletions

View file

@ -12,5 +12,9 @@ config SPI_STM32_INTERRUPT
default y
depends on SPI
choice STM32_LPTIM_CLOCK
default STM32_LPTIM_CLOCK_LSE
depends on STM32_LPTIM_TIMER
endchoice
endif # BOARD_STM32H735G_DISCO

View file

@ -51,6 +51,10 @@
status = "okay";
};
&clk_lse {
status = "okay";
};
&pll {
div-m = <5>;
mul-n = <110>;