]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
arm: mach-k3: r5: j721e: clk-data: manually set the main_pll3 frequency
authorBryan Brattlof <bb@ti.com>
Wed, 28 Jan 2026 12:36:21 +0000 (18:06 +0530)
committerTom Rini <trini@konsulko.com>
Sat, 7 Feb 2026 21:53:13 +0000 (15:53 -0600)
Moving forward, DM firmware will no longer mess with the MAIN_PLL3.
This means MAIN_PLL3 will need to be manually set to 2GHz in order for
the CPSW9G HSDIV to have the correct 250MHz output for RGMII.

Signed-off-by: Bryan Brattlof <bb@ti.com>
Signed-off-by: Siddharth Vadapalli <s-vadapalli@ti.com>
arch/arm/mach-k3/r5/j721e/clk-data.c

index e4511092c867aeac28b707a7765cbfbf1f267c14..bb7f61901b484518e5eb4fad9fd9f095ca8de7b9 100644 (file)
@@ -539,7 +539,7 @@ static const struct clk_data clk_list[] = {
        CLK_PLL("pllfrac2_ssmod_16fft_main_2_foutvcop_clk", "main_pll_hfosc_sel_out2", 0x682000, 0),
        CLK_PLL("pllfrac2_ssmod_16fft_main_23_foutvcop_clk", "main_pll_hfosc_sel_out23", 0x697000, 0),
        CLK_PLL("pllfrac2_ssmod_16fft_main_25_foutvcop_clk", "main_pll25_hfosc_sel_out0", 0x699000, 0),
-       CLK_PLL("pllfrac2_ssmod_16fft_main_3_foutvcop_clk", "main_pll_hfosc_sel_out3", 0x683000, 0),
+       CLK_PLL_DEFFREQ("pllfrac2_ssmod_16fft_main_3_foutvcop_clk", "main_pll_hfosc_sel_out3", 0x683000, 0, 2000000000),
        CLK_PLL("pllfrac2_ssmod_16fft_main_5_foutvcop_clk", "main_pll_hfosc_sel_out5", 0x685000, 0),
        CLK_PLL("pllfrac2_ssmod_16fft_main_6_foutvcop_clk", "main_pll_hfosc_sel_out6", 0x686000, 0),
        CLK_PLL("pllfrac2_ssmod_16fft_main_7_foutvcop_clk", "main_pll_hfosc_sel_out7", 0x687000, 0),