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:
parent
3853fb20b3
commit
7d2f0b8476
2 changed files with 17 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue