diff options
author | Peng Fan <peng.fan@nxp.com> | 2023-04-28 12:08:15 +0800 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2023-05-21 16:54:40 +0200 |
commit | 69326a7f20bd4e98eb7e310e262818fbf9c9e884 (patch) | |
tree | 663f5cb0e6ed9c51678f056ffe3ea80721645e0f | |
parent | f3a07717b721edfb5a183f8e3403f70a3727fca5 (diff) | |
download | u-boot-69326a7f20bd4e98eb7e310e262818fbf9c9e884.zip u-boot-69326a7f20bd4e98eb7e310e262818fbf9c9e884.tar.gz u-boot-69326a7f20bd4e98eb7e310e262818fbf9c9e884.tar.bz2 |
imx9: configure M33 systick to 24M
The M33 systick should be 24M per reference mannual, so correct it.
Signed-off-by: Peng Fan <peng.fan@nxp.com>
-rw-r--r-- | arch/arm/mach-imx/imx9/clock.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-imx/imx9/clock.c b/arch/arm/mach-imx/imx9/clock.c index 04f3116..51aa259 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 */ |