imx9: clock: config arm alt root to 500mhz
authorPeng Fan <peng.fan@nxp.com>
Fri, 28 Apr 2023 04:08:31 +0000 (12:08 +0800)
committerStefano Babic <sbabic@denx.de>
Sun, 21 May 2023 14:54:41 +0000 (16:54 +0200)
Config the A55 alt root clock to 500MHz(LD mode frequency)
by default. Normally, this clock root is only used as an
intermediate clock soure for A55 core/dsu when change the
ARM PLL frequency.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
arch/arm/mach-imx/imx9/clock.c

index 3faab06..957f80f 100644 (file)
@@ -727,6 +727,12 @@ struct imx_clk_setting imx_clk_settings[] = {
 };
 #else
 struct imx_clk_setting imx_clk_settings[] = {
+       /*
+        * Set A55 clk to 500M. This clock root is normally used as intermediate
+        * clock source for A55 core/DSU when doing ARM PLL reconfig. set it to
+        * 500MHz(LD mode frequency) should be ok.
+        */
+       {ARM_A55_CLK_ROOT, SYS_PLL_PFD0, 2},
        /* Set A55 periphal to 333M */
        {ARM_A55_PERIPH_CLK_ROOT, SYS_PLL_PFD0, 3},
        /* Set A55 mtr bus to 133M */