Skip to content

Commit d59b845

Browse files
nika-nordicrlubos
authored andcommitted
[nrf fromlist] soc: nordic: nrf54l: fix configuration of DCDC regulator
DCDC regulator on nRF54L may not always works as intended. Apply a fix addressing that. Upstream PR #: 80635 Signed-off-by: Nikodem Kastelik <[email protected]>
1 parent 275c690 commit d59b845

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
@@ -154,6 +154,11 @@ static inline void power_and_clock_configuration(void)
154154
}
155155

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

0 commit comments

Comments
 (0)