drivers: clock_control: add support for MSI clock on STM32WL
Add support for the MSI clock on the STM32WL family. This is needed for instance to set the RNG clock domain to MSI in the device tree when not using the PLL. Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
This commit is contained in:
parent
7fff27329d
commit
d68e8cbfe8
@ -29,9 +29,10 @@
|
||||
/** Fixed clocks */
|
||||
/* Low speed clocks defined in stm32_common_clocks.h */
|
||||
#define STM32_SRC_HSI (STM32_SRC_LSI + 1)
|
||||
#define STM32_SRC_MSI (STM32_SRC_HSI + 1)
|
||||
/* #define STM32_SRC_HSI48 TBD */
|
||||
/** Bus clock */
|
||||
#define STM32_SRC_PCLK (STM32_SRC_HSI + 1)
|
||||
#define STM32_SRC_PCLK (STM32_SRC_MSI + 1)
|
||||
/** PLL clock outputs */
|
||||
#define STM32_SRC_PLL_P (STM32_SRC_PCLK + 1)
|
||||
#define STM32_SRC_PLL_Q (STM32_SRC_PLL_P + 1)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user