soc: st: stm32: n6: set vddio voltage

Set VddIO 2 and 3 voltage to 1.8V

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
This commit is contained in:
Guillaume Gautier 2024-05-17 15:14:17 +02:00 committed by Carles Cufí
commit a8ae1dcdcc

View file

@ -59,4 +59,8 @@ void soc_early_init_hook(void)
LL_PWR_EnableVddIO3();
LL_PWR_EnableVddIO4();
LL_PWR_EnableVddIO5();
/* Set Vdd IO2 and IO3 to 1.8V */
LL_PWR_SetVddIO2VoltageRange(LL_PWR_VDDIO_VOLTAGE_RANGE_1V8);
LL_PWR_SetVddIO3VoltageRange(LL_PWR_VDDIO_VOLTAGE_RANGE_1V8);
}