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:
Guillaume Gautier 2025-04-18 08:57:38 +02:00 committed by Benjamin Cabé
commit 9f02634d3f

View file

@ -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();