soc: st: stm32n6: configure regulator for best performance
Configure the main internal Regulator output voltage for best performance on STM32N6. Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
This commit is contained in:
parent
744d6e8290
commit
9f02634d3f
1 changed files with 3 additions and 0 deletions
|
@ -54,6 +54,9 @@ void soc_early_init_hook(void)
|
|||
/* Enable PWR */
|
||||
LL_AHB4_GRP1_EnableClock(LL_AHB4_GRP1_PERIPH_PWR);
|
||||
|
||||
/* Set the main internal Regulator output voltage for best performance */
|
||||
LL_PWR_SetRegulVoltageScaling(LL_PWR_REGU_VOLTAGE_SCALE0);
|
||||
|
||||
/* Enable IOs */
|
||||
LL_PWR_EnableVddIO2();
|
||||
LL_PWR_EnableVddIO3();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue