Skip to content

Commit b7fb101

Browse files
nika-nordicnashif
authored andcommitted
soc: nordic: nrf54l: fix configuration of DCDC regulator
DCDC regulator on nRF54L may not always works as intended. Apply a fix addressing that. Signed-off-by: Nikodem Kastelik <[email protected]>
1 parent 17a8128 commit b7fb101

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

soc/nordic/nrf54l/soc.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,11 @@ static int nordicsemi_nrf54l_init(void)
153153
}
154154

155155
#if (DT_PROP(DT_NODELABEL(vregmain), regulator_initial_mode) == NRF5X_REG_MODE_DCDC)
156+
#if defined(__CORTEX_M) && !defined(NRF_TRUSTZONE_NONSECURE) && defined(__ARM_FEATURE_CMSE)
157+
if (*(uint32_t *)0x00FFC334 <= 0x180A1D00) {
158+
*(uint32_t *)0x50120640 = 0x1FAAE85C;
159+
}
160+
#endif
156161
nrf_regulators_vreg_enable_set(NRF_REGULATORS, NRF_REGULATORS_VREG_MAIN, true);
157162
#endif
158163

0 commit comments

Comments
 (0)