soc: mcxw71: Add VREF node and clocking

Add VREF node and clocking to MCXW71 SOC.

Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
This commit is contained in:
Declan Snyder 2024-10-08 17:35:39 -05:00 committed by David Leach
commit 7d2f0b8476
2 changed files with 17 additions and 0 deletions

View file

@ -158,6 +158,10 @@ static ALWAYS_INLINE void clock_init(void)
if (IS_ENABLED(CONFIG_CAN_MCUX_FLEXCAN)) {
CLOCK_EnableClock(kCLOCK_Can0);
}
if (DT_NODE_HAS_COMPAT_STATUS(DT_NODELABEL(vref), nxp_vref, okay)) {
CLOCK_EnableClock(kCLOCK_Vref0);
}
}
static void vbat_init(void)