From: Peng Fan <peng....@nxp.com>

The M33 systick should be 24M per reference mannual, so correct it.

Signed-off-by: Peng Fan <peng....@nxp.com>
---
 arch/arm/mach-imx/imx9/clock.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/mach-imx/imx9/clock.c b/arch/arm/mach-imx/imx9/clock.c
index 04f3116fd1c..51aa259aa05 100644
--- a/arch/arm/mach-imx/imx9/clock.c
+++ b/arch/arm/mach-imx/imx9/clock.c
@@ -700,8 +700,8 @@ int clock_init(void)
        ccm_clk_root_cfg(WAKEUP_AXI_CLK_ROOT, SYS_PLL_PFD2, 2);
        /* SWO TRACE to 133M */
        ccm_clk_root_cfg(SWO_TRACE_CLK_ROOT, SYS_PLL_PFD1_DIV2, 3);
-       /* M33 systetick to 133M */
-       ccm_clk_root_cfg(M33_SYSTICK_CLK_ROOT, SYS_PLL_PFD1_DIV2, 3);
+       /* M33 systetick to 24M */
+       ccm_clk_root_cfg(M33_SYSTICK_CLK_ROOT, OSC_24M_CLK, 1);
        /* NIC to 400M */
        ccm_clk_root_cfg(NIC_CLK_ROOT, SYS_PLL_PFD1, 2);
        /* NIC_APB to 133M */
-- 
2.40.0

Reply via email to