Skip to content

Commit

Permalink
[nrf fromlist] soc: nordic: nrf54l: tune configuration of DCDC regulator
Browse files Browse the repository at this point in the history
DCDC regulator on nRF54L may not always works as intended.
Tune the fix addressing that.

Upstream PR #: 80635

Signed-off-by: Nikodem Kastelik <nikodem.kastelik@nordicsemi.no>
  • Loading branch information
nika-nordic authored and rlubos committed Nov 5, 2024
1 parent 3017425 commit 9ee72ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions soc/nordic/nrf54l/soc.c
Original file line number Diff line number Diff line change
Expand Up @@ -155,8 +155,8 @@ static inline void power_and_clock_configuration(void)

#if (DT_PROP(DT_NODELABEL(vregmain), regulator_initial_mode) == NRF5X_REG_MODE_DCDC)
#if defined(__CORTEX_M) && !defined(NRF_TRUSTZONE_NONSECURE) && defined(__ARM_FEATURE_CMSE)
if (*(uint32_t *)0x00FFC334 <= 0x180A1D00) {
*(uint32_t *)0x50120640 = 0x1FAAE85C;
if (*(uint32_t volatile *)0x00FFC334 <= 0x180A1D00) {
*(uint32_t volatile *)0x50120640 = 0x1EA9E040;
}
#endif
nrf_regulators_vreg_enable_set(NRF_REGULATORS, NRF_REGULATORS_VREG_MAIN, true);
Expand Down

0 comments on commit 9ee72ff

Please sign in to comment.