]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: mach-k3: j7200: clk-data.c: Add main_uart1 clock data
authorBhavya Kapoor <b-kapoor@ti.com>
Fri, 12 May 2023 10:02:53 +0000 (15:32 +0530)
committerTom Rini <trini@konsulko.com>
Thu, 1 Jun 2023 16:40:16 +0000 (12:40 -0400)
Add main_uart1 clocks in clk-data.c for J7200. Now,
main_uart1 clocks will be set up while booting the J7200 SoC.

Signed-off-by: Bhavya Kapoor <b-kapoor@ti.com>
arch/arm/mach-k3/j7200/clk-data.c

index 0437e30abb4f269f9210ba1f95ccfe5a2d309b22..9b45786a2d4c087df0776c202e4a171c2697f56b 100644 (file)
@@ -379,6 +379,7 @@ static const struct clk_data clk_list[] = {
        CLK_MUX("main_pll4_xref_sel_out0", main_pll4_xref_sel_out0_parents, 2, 0x43008090, 4, 1, 0),
        CLK_MUX("mcu_clkout_mux_out0", mcu_clkout_mux_out0_parents, 2, 0x40f08010, 0, 1, 0),
        CLK_DIV_DEFFREQ("usart_programmable_clock_divider_out0", "hsdiv4_16fft_main_1_hsdivout0_clk", 0x1081c0, 0, 2, 0, 0, 48000000),
+       CLK_DIV_DEFFREQ("usart_programmable_clock_divider_out1", "hsdiv4_16fft_main_1_hsdivout0_clk", 0x1081c4, 0, 2, 0, 0, 48000000),
        CLK_DIV("hsdiv0_16fft_main_12_hsdivout0_clk", "pllfracf_ssmod_16fft_main_12_foutvcop_clk", 0x68c080, 0, 7, 0, 0),
        CLK_DIV("hsdiv0_16fft_main_7_hsdivout0_clk", "pllfracf_ssmod_16fft_main_7_foutvcop_clk", 0x687080, 0, 7, 0, 0),
        CLK_DIV("hsdiv0_16fft_main_8_hsdivout0_clk", "pllfracf_ssmod_16fft_main_8_foutvcop_clk", 0x688080, 0, 7, 0, 0),
@@ -534,6 +535,8 @@ static const struct dev_clk soc_dev_clk_data[] = {
        DEV_CLK(197, 2, "k3_pll_ctrl_wrap_wkup_0_chip_div1_clk_clk"),
        DEV_CLK(202, 2, "hsdiv0_16fft_main_8_hsdivout0_clk"),
        DEV_CLK(203, 0, "hsdiv0_16fft_main_8_hsdivout0_clk"),
+       DEV_CLK(278, 2, "usart_programmable_clock_divider_out1"),
+       DEV_CLK(278, 3, "k3_pll_ctrl_wrap_main_0_chip_div1_clk_clk"),
        DEV_CLK(288, 3, "postdiv2_16fft_main_1_hsdivout7_clk"),
        DEV_CLK(288, 4, "k3_pll_ctrl_wrap_main_0_chip_div1_clk_clk"),
        DEV_CLK(288, 6, "k3_pll_ctrl_wrap_main_0_chip_div1_clk_clk"),
@@ -546,7 +549,7 @@ static const struct dev_clk soc_dev_clk_data[] = {
 
 const struct ti_k3_clk_platdata j7200_clk_platdata = {
        .clk_list = clk_list,
-       .clk_list_cnt = 108,
+       .clk_list_cnt = 109,
        .soc_dev_clk_data = soc_dev_clk_data,
-       .soc_dev_clk_data_cnt = 127,
+       .soc_dev_clk_data_cnt = 129,
 };