diff --git a/soc/nxp/mcx/mcxc/soc.c b/soc/nxp/mcx/mcxc/soc.c index 4b9c58a8878..35f8046a29f 100644 --- a/soc/nxp/mcx/mcxc/soc.c +++ b/soc/nxp/mcx/mcxc/soc.c @@ -96,10 +96,14 @@ static void clock_init(void) CLOCK_SetSimConfig(&simConfig_BOARD_BootClockRUN); /* Set SystemCoreClock variable. */ SystemCoreClock = DT_PROP(DT_NODELABEL(cpu0), clock_frequency); - /* Set LPUART0 clock source. */ #if DT_NODE_HAS_STATUS_OKAY(DT_NODELABEL(lpuart0)) + /* Set LPUART0 clock source. */ CLOCK_SetLpuart0Clock(LPUART_CLOCK_SEL(lpuart0)); #endif +#if DT_NODE_HAS_STATUS_OKAY(DT_NODELABEL(lpuart1)) + /* Set LPUART1 clock source. */ + CLOCK_SetLpuart1Clock(LPUART_CLOCK_SEL(lpuart1)); +#endif #if DT_HAS_COMPAT_STATUS_OKAY(nxp_kinetis_tpm) /* All TPM instances share common clock source for counter clock. * Select the clock source using an arbitrary enabled TPM node.