soc: nxp: mcxw71: Add LPI2C node and clocking
Add LPI2C node and default clocking in soc.c Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
This commit is contained in:
parent
e933c7eaee
commit
8a104729c4
2 changed files with 30 additions and 0 deletions
|
@ -136,6 +136,14 @@ static ALWAYS_INLINE void clock_init(void)
|
|||
if (DT_NODE_HAS_COMPAT_STATUS(DT_NODELABEL(tpm1), nxp_kinetis_tpm, okay)) {
|
||||
CLOCK_EnableClock(kCLOCK_Tpm1);
|
||||
}
|
||||
|
||||
if (DT_NODE_HAS_COMPAT_STATUS(DT_NODELABEL(lpi2c0), nxp_imx_lpi2c, okay)) {
|
||||
CLOCK_EnableClock(kCLOCK_Lpi2c0);
|
||||
}
|
||||
|
||||
if (DT_NODE_HAS_COMPAT_STATUS(DT_NODELABEL(lpi2c1), nxp_imx_lpi2c, okay)) {
|
||||
CLOCK_EnableClock(kCLOCK_Lpi2c1);
|
||||
}
|
||||
}
|
||||
|
||||
static void vbat_init(void)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue