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 <derek.snell@nxp.com>
This commit is contained in:
Derek Snell 2024-09-19 17:16:32 -04:00 committed by Anas Nashif
commit 11623eb1e4

View file

@ -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