From 11623eb1e4ed16f3c5d9a5d06a10674b7e937c2b Mon Sep 17 00:00:00 2001 From: Derek Snell Date: Thu, 19 Sep 2024 17:16:32 -0400 Subject: [PATCH] soc: nxp: rt116x: Fix bus clocking Reverts bus clock settings. Follows MCUXpresso SDK clock settings, and sets to output of SysPLL2 PFD3 at 198 MHz. Signed-off-by: Derek Snell --- soc/nxp/imxrt/imxrt11xx/soc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/soc/nxp/imxrt/imxrt11xx/soc.c b/soc/nxp/imxrt/imxrt11xx/soc.c index 7648052177b..ae82e772b2c 100644 --- a/soc/nxp/imxrt/imxrt11xx/soc.c +++ b/soc/nxp/imxrt/imxrt11xx/soc.c @@ -334,9 +334,9 @@ static ALWAYS_INLINE void clock_init(void) rootCfg.div = 2; CLOCK_SetRootClock(kCLOCK_Root_Bus, &rootCfg); #elif defined(CONFIG_SOC_MIMXRT1166_CM7) - /* Configure root bus clock at 200M */ - rootCfg.mux = kCLOCK_BUS_ClockRoot_MuxSysPll1Div5; - rootCfg.div = 1; + /* Configure root bus clock at 198M */ + rootCfg.mux = kCLOCK_BUS_ClockRoot_MuxSysPll2Pfd3; + rootCfg.div = 2; CLOCK_SetRootClock(kCLOCK_Root_Bus, &rootCfg); #endif