soc: nxp: mcxw71: Add FlexCAN node/clocking
Add node and enable clock for the FlexCAN module on MCXW71. Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
This commit is contained in:
parent
a3d2b865f8
commit
df95a86bc3
2 changed files with 14 additions and 0 deletions
|
@ -154,6 +154,10 @@ static ALWAYS_INLINE void clock_init(void)
|
|||
if (DT_NODE_HAS_COMPAT_STATUS(DT_NODELABEL(lpspi1), nxp_imx_lpspi, okay)) {
|
||||
CLOCK_EnableClock(kCLOCK_Lpspi1);
|
||||
}
|
||||
|
||||
if (IS_ENABLED(CONFIG_CAN_MCUX_FLEXCAN)) {
|
||||
CLOCK_EnableClock(kCLOCK_Can0);
|
||||
}
|
||||
}
|
||||
|
||||
static void vbat_init(void)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue