Bryan Brattlof | 2d982b7 | 2022-11-03 19:13:56 -0500 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
| 2 | /* |
| 3 | * AM62AX specific clock platform data |
| 4 | * |
| 5 | * This file is auto generated. Please do not hand edit and report any issues |
| 6 | * to Bryan Brattlof <bb@ti.com>. |
| 7 | * |
| 8 | * Copyright (C) 2020-2022 Texas Instruments Incorporated - https://www.ti.com/ |
| 9 | */ |
| 10 | |
| 11 | #include <linux/clk-provider.h> |
| 12 | #include "k3-clk.h" |
| 13 | |
| 14 | static const char * const gluelogic_hfosc0_clkout_parents[] = { |
| 15 | NULL, |
| 16 | NULL, |
| 17 | "osc_24_mhz", |
| 18 | "osc_25_mhz", |
| 19 | "osc_26_mhz", |
| 20 | NULL, |
| 21 | }; |
| 22 | |
| 23 | static const char * const clk_32k_rc_sel_out0_parents[] = { |
| 24 | "gluelogic_rcosc_clk_1p0v_97p65k", |
| 25 | "gluelogic_hfosc0_clkout", |
| 26 | "gluelogic_rcosc_clk_1p0v_97p65k", |
| 27 | "gluelogic_lfosc0_clkout", |
| 28 | }; |
| 29 | |
| 30 | static const char * const main_emmcsd0_io_clklb_sel_out0_parents[] = { |
| 31 | "board_0_mmc0_clklb_out", |
| 32 | "board_0_mmc0_clk_out", |
| 33 | }; |
| 34 | |
| 35 | static const char * const main_emmcsd1_io_clklb_sel_out0_parents[] = { |
| 36 | "board_0_mmc1_clklb_out", |
| 37 | "board_0_mmc1_clk_out", |
| 38 | }; |
| 39 | |
| 40 | static const char * const main_ospi_loopback_clk_sel_out0_parents[] = { |
| 41 | "board_0_ospi0_dqs_out", |
| 42 | "board_0_ospi0_lbclko_out", |
| 43 | }; |
| 44 | |
| 45 | static const char * const main_usb0_refclk_sel_out0_parents[] = { |
| 46 | "gluelogic_hfosc0_clkout", |
| 47 | "postdiv4_16ff_main_0_hsdivout8_clk", |
| 48 | }; |
| 49 | |
| 50 | static const char * const main_usb1_refclk_sel_out0_parents[] = { |
| 51 | "gluelogic_hfosc0_clkout", |
| 52 | "postdiv4_16ff_main_0_hsdivout8_clk", |
| 53 | }; |
| 54 | |
| 55 | static const char * const sam62_pll_ctrl_wrap_main_0_sysclkout_clk_parents[] = { |
| 56 | "gluelogic_hfosc0_clkout", |
| 57 | "hsdiv4_16fft_main_0_hsdivout0_clk", |
| 58 | }; |
| 59 | |
| 60 | static const char * const sam62_pll_ctrl_wrap_mcu_0_sysclkout_clk_parents[] = { |
| 61 | "gluelogic_hfosc0_clkout", |
| 62 | "hsdiv4_16fft_mcu_0_hsdivout0_clk", |
| 63 | }; |
| 64 | |
| 65 | static const char * const clkout0_ctrl_out0_parents[] = { |
| 66 | "hsdiv4_16fft_main_2_hsdivout1_clk", |
| 67 | "hsdiv4_16fft_main_2_hsdivout1_clk", |
| 68 | }; |
| 69 | |
| 70 | static const char * const main_emmcsd0_refclk_sel_out0_parents[] = { |
| 71 | "postdiv4_16ff_main_0_hsdivout5_clk", |
| 72 | "hsdiv4_16fft_main_2_hsdivout2_clk", |
| 73 | }; |
| 74 | |
| 75 | static const char * const main_emmcsd1_refclk_sel_out0_parents[] = { |
| 76 | "postdiv4_16ff_main_0_hsdivout5_clk", |
| 77 | "hsdiv4_16fft_main_2_hsdivout2_clk", |
| 78 | }; |
| 79 | |
| 80 | static const char * const main_gtcclk_sel_out0_parents[] = { |
| 81 | "postdiv4_16ff_main_2_hsdivout5_clk", |
| 82 | "postdiv4_16ff_main_0_hsdivout6_clk", |
| 83 | "board_0_cp_gemac_cpts0_rft_clk_out", |
| 84 | NULL, |
| 85 | "board_0_mcu_ext_refclk0_out", |
| 86 | "board_0_ext_refclk1_out", |
| 87 | "sam62_pll_ctrl_wrap_mcu_0_chip_div1_clk_clk", |
| 88 | "sam62_pll_ctrl_wrap_main_0_chip_div1_clk_clk", |
| 89 | }; |
| 90 | |
| 91 | static const char * const main_ospi_ref_clk_sel_out0_parents[] = { |
| 92 | "hsdiv4_16fft_main_0_hsdivout1_clk", |
| 93 | "postdiv1_16fft_main_1_hsdivout5_clk", |
| 94 | }; |
| 95 | |
| 96 | static const char * const wkup_clkout_sel_out0_parents[] = { |
| 97 | NULL, |
| 98 | "gluelogic_lfosc0_clkout", |
| 99 | "hsdiv4_16fft_main_0_hsdivout2_clk", |
| 100 | "hsdiv4_16fft_main_1_hsdivout2_clk", |
| 101 | "postdiv4_16ff_main_2_hsdivout9_clk", |
| 102 | "clk_32k_rc_sel_out0", |
| 103 | "gluelogic_rcosc_clkout", |
| 104 | "gluelogic_hfosc0_clkout", |
| 105 | }; |
| 106 | |
| 107 | static const char * const wkup_clkout_sel_io_out0_parents[] = { |
| 108 | "wkup_clkout_sel_out0", |
| 109 | "gluelogic_hfosc0_clkout", |
| 110 | }; |
| 111 | |
| 112 | static const char * const wkup_clksel_out0_parents[] = { |
| 113 | "hsdiv2_16fft_main_15_hsdivout0_clk", |
| 114 | "hsdiv4_16fft_mcu_0_hsdivout0_clk", |
| 115 | }; |
| 116 | |
| 117 | static const char * const main_usart0_fclk_sel_out0_parents[] = { |
| 118 | "usart_programmable_clock_divider_out0", |
| 119 | "hsdiv4_16fft_main_1_hsdivout1_clk", |
| 120 | }; |
| 121 | |
| 122 | static const struct clk_data clk_list[] = { |
| 123 | CLK_FIXED_RATE("osc_26_mhz", 26000000, 0), |
| 124 | CLK_FIXED_RATE("osc_25_mhz", 25000000, 0), |
| 125 | CLK_FIXED_RATE("osc_24_mhz", 24000000, 0), |
| 126 | CLK_MUX("gluelogic_hfosc0_clkout", gluelogic_hfosc0_clkout_parents, 6, 0x43000030, 0, 3, 0), |
| 127 | CLK_FIXED_RATE("gluelogic_rcosc_clkout", 12500000, 0), |
| 128 | CLK_FIXED_RATE("gluelogic_rcosc_clk_1p0v_97p65k", 97656, 0), |
| 129 | CLK_FIXED_RATE("board_0_cp_gemac_cpts0_rft_clk_out", 0, 0), |
| 130 | CLK_FIXED_RATE("board_0_ddr0_ck0_out", 0, 0), |
| 131 | CLK_FIXED_RATE("board_0_ext_refclk1_out", 0, 0), |
| 132 | CLK_FIXED_RATE("board_0_i2c0_scl_out", 0, 0), |
| 133 | CLK_FIXED_RATE("board_0_mcu_ext_refclk0_out", 0, 0), |
| 134 | CLK_FIXED_RATE("board_0_mmc0_clklb_out", 0, 0), |
| 135 | CLK_FIXED_RATE("board_0_mmc0_clk_out", 0, 0), |
| 136 | CLK_FIXED_RATE("board_0_mmc1_clklb_out", 0, 0), |
| 137 | CLK_FIXED_RATE("board_0_mmc1_clk_out", 0, 0), |
| 138 | CLK_FIXED_RATE("board_0_ospi0_dqs_out", 0, 0), |
| 139 | CLK_FIXED_RATE("board_0_ospi0_lbclko_out", 0, 0), |
| 140 | CLK_FIXED_RATE("board_0_tck_out", 0, 0), |
| 141 | CLK_FIXED_RATE("emmcsd4ss_main_0_emmcsdss_io_clk_o", 0, 0), |
| 142 | CLK_FIXED_RATE("emmcsd8ss_main_0_emmcsdss_io_clk_o", 0, 0), |
| 143 | CLK_FIXED_RATE("fss_ul_main_0_ospi_0_ospi_oclk_clk", 0, 0), |
| 144 | CLK_FIXED_RATE("mshsi2c_main_0_porscl", 0, 0), |
| 145 | CLK_PLL("pllfracf_ssmod_16fft_main_0_foutvcop_clk", "gluelogic_hfosc0_clkout", 0x680000, 0), |
| 146 | CLK_DIV("pllfracf_ssmod_16fft_main_0_foutpostdiv_clk_subdiv", "pllfracf_ssmod_16fft_main_0_foutvcop_clk", 0x680038, 16, 3, 0, CLK_DIVIDER_ONE_BASED), |
| 147 | CLK_DIV("pllfracf_ssmod_16fft_main_0_foutpostdiv_clk", "pllfracf_ssmod_16fft_main_0_foutpostdiv_clk_subdiv", 0x680038, 24, 3, 0, CLK_DIVIDER_ONE_BASED), |
| 148 | CLK_PLL("pllfracf_ssmod_16fft_main_1_foutvcop_clk", "gluelogic_hfosc0_clkout", 0x681000, 0), |
| 149 | CLK_DIV("pllfracf_ssmod_16fft_main_1_foutpostdiv_clk_subdiv", "pllfracf_ssmod_16fft_main_1_foutvcop_clk", 0x681038, 16, 3, 0, CLK_DIVIDER_ONE_BASED), |
| 150 | CLK_DIV("pllfracf_ssmod_16fft_main_1_foutpostdiv_clk", "pllfracf_ssmod_16fft_main_1_foutpostdiv_clk_subdiv", 0x681038, 24, 3, 0, CLK_DIVIDER_ONE_BASED), |
| 151 | CLK_PLL("pllfracf_ssmod_16fft_main_12_foutvcop_clk", "gluelogic_hfosc0_clkout", 0x68c000, 0), |
| 152 | CLK_PLL("pllfracf_ssmod_16fft_main_15_foutvcop_clk", "gluelogic_hfosc0_clkout", 0x68f000, 0), |
| 153 | CLK_PLL("pllfracf_ssmod_16fft_main_2_foutvcop_clk", "gluelogic_hfosc0_clkout", 0x682000, 0), |
| 154 | CLK_DIV("pllfracf_ssmod_16fft_main_2_foutpostdiv_clk_subdiv", "pllfracf_ssmod_16fft_main_2_foutvcop_clk", 0x682038, 16, 3, 0, CLK_DIVIDER_ONE_BASED), |
| 155 | CLK_DIV("pllfracf_ssmod_16fft_main_2_foutpostdiv_clk", "pllfracf_ssmod_16fft_main_2_foutpostdiv_clk_subdiv", 0x682038, 24, 3, 0, CLK_DIVIDER_ONE_BASED), |
| 156 | CLK_PLL("pllfracf_ssmod_16fft_main_8_foutvcop_clk", "gluelogic_hfosc0_clkout", 0x688000, 0), |
| 157 | CLK_PLL("pllfracf_ssmod_16fft_mcu_0_foutvcop_clk", "gluelogic_hfosc0_clkout", 0x4040000, 0), |
| 158 | CLK_DIV("postdiv1_16fft_main_1_hsdivout5_clk", "pllfracf_ssmod_16fft_main_1_foutpostdiv_clk", 0x681094, 0, 7, 0, 0), |
| 159 | CLK_DIV("postdiv4_16ff_main_0_hsdivout5_clk", "pllfracf_ssmod_16fft_main_0_foutpostdiv_clk", 0x680094, 0, 7, 0, 0), |
| 160 | CLK_DIV("postdiv4_16ff_main_0_hsdivout6_clk", "pllfracf_ssmod_16fft_main_0_foutpostdiv_clk", 0x680098, 0, 7, 0, 0), |
| 161 | CLK_DIV("postdiv4_16ff_main_0_hsdivout8_clk", "pllfracf_ssmod_16fft_main_0_foutpostdiv_clk", 0x6800a0, 0, 7, 0, 0), |
| 162 | CLK_DIV("postdiv4_16ff_main_2_hsdivout5_clk", "pllfracf_ssmod_16fft_main_2_foutpostdiv_clk", 0x682094, 0, 7, 0, 0), |
| 163 | CLK_DIV("postdiv4_16ff_main_2_hsdivout8_clk", "pllfracf_ssmod_16fft_main_2_foutpostdiv_clk", 0x6820a0, 0, 7, 0, 0), |
| 164 | CLK_DIV("postdiv4_16ff_main_2_hsdivout9_clk", "pllfracf_ssmod_16fft_main_2_foutpostdiv_clk", 0x6820a4, 0, 7, 0, 0), |
| 165 | CLK_MUX("clk_32k_rc_sel_out0", clk_32k_rc_sel_out0_parents, 4, 0x4508058, 0, 2, 0), |
| 166 | CLK_MUX("main_emmcsd0_io_clklb_sel_out0", main_emmcsd0_io_clklb_sel_out0_parents, 2, 0x108160, 16, 1, 0), |
| 167 | CLK_MUX("main_emmcsd1_io_clklb_sel_out0", main_emmcsd1_io_clklb_sel_out0_parents, 2, 0x108168, 16, 1, 0), |
| 168 | CLK_MUX("main_ospi_loopback_clk_sel_out0", main_ospi_loopback_clk_sel_out0_parents, 2, 0x108500, 4, 1, 0), |
| 169 | CLK_MUX("main_usb0_refclk_sel_out0", main_usb0_refclk_sel_out0_parents, 2, 0x43008190, 0, 1, 0), |
| 170 | CLK_MUX("main_usb1_refclk_sel_out0", main_usb1_refclk_sel_out0_parents, 2, 0x43008194, 0, 1, 0), |
| 171 | CLK_DIV("hsdiv0_16fft_main_12_hsdivout0_clk", "pllfracf_ssmod_16fft_main_12_foutvcop_clk", 0x68c080, 0, 7, 0, 0), |
| 172 | CLK_DIV("hsdiv0_16fft_main_8_hsdivout0_clk", "pllfracf_ssmod_16fft_main_8_foutvcop_clk", 0x688080, 0, 7, 0, 0), |
| 173 | CLK_DIV("hsdiv2_16fft_main_15_hsdivout0_clk", "pllfracf_ssmod_16fft_main_15_foutvcop_clk", 0x68f080, 0, 7, 0, 0), |
| 174 | CLK_DIV("hsdiv4_16fft_main_0_hsdivout0_clk", "pllfracf_ssmod_16fft_main_0_foutvcop_clk", 0x680080, 0, 7, 0, 0), |
| 175 | CLK_DIV("hsdiv4_16fft_main_0_hsdivout1_clk", "pllfracf_ssmod_16fft_main_0_foutvcop_clk", 0x680084, 0, 7, 0, 0), |
| 176 | CLK_DIV("hsdiv4_16fft_main_0_hsdivout2_clk", "pllfracf_ssmod_16fft_main_0_foutvcop_clk", 0x680088, 0, 7, 0, 0), |
| 177 | CLK_DIV("hsdiv4_16fft_main_0_hsdivout3_clk", "pllfracf_ssmod_16fft_main_0_foutvcop_clk", 0x68008c, 0, 7, 0, 0), |
| 178 | CLK_DIV("hsdiv4_16fft_main_0_hsdivout4_clk", "pllfracf_ssmod_16fft_main_0_foutvcop_clk", 0x680090, 0, 7, 0, 0), |
| 179 | CLK_DIV_DEFFREQ("hsdiv4_16fft_main_1_hsdivout0_clk", "pllfracf_ssmod_16fft_main_1_foutvcop_clk", 0x681080, 0, 7, 0, 0, 192000000), |
| 180 | CLK_DIV("hsdiv4_16fft_main_1_hsdivout1_clk", "pllfracf_ssmod_16fft_main_1_foutvcop_clk", 0x681084, 0, 7, 0, 0), |
| 181 | CLK_DIV("hsdiv4_16fft_main_1_hsdivout2_clk", "pllfracf_ssmod_16fft_main_1_foutvcop_clk", 0x681088, 0, 7, 0, 0), |
| 182 | CLK_DIV("hsdiv4_16fft_main_2_hsdivout1_clk", "pllfracf_ssmod_16fft_main_2_foutvcop_clk", 0x682084, 0, 7, 0, 0), |
| 183 | CLK_DIV("hsdiv4_16fft_main_2_hsdivout2_clk", "pllfracf_ssmod_16fft_main_2_foutvcop_clk", 0x682088, 0, 7, 0, 0), |
| 184 | CLK_DIV("hsdiv4_16fft_mcu_0_hsdivout0_clk", "pllfracf_ssmod_16fft_mcu_0_foutvcop_clk", 0x4040080, 0, 7, 0, 0), |
| 185 | CLK_MUX_PLLCTRL("sam62_pll_ctrl_wrap_main_0_sysclkout_clk", sam62_pll_ctrl_wrap_main_0_sysclkout_clk_parents, 2, 0x410000, 0), |
| 186 | CLK_DIV("sam62_pll_ctrl_wrap_main_0_chip_div1_clk_clk", "sam62_pll_ctrl_wrap_main_0_sysclkout_clk", 0x410118, 0, 5, 0, 0), |
| 187 | CLK_MUX_PLLCTRL("sam62_pll_ctrl_wrap_mcu_0_sysclkout_clk", sam62_pll_ctrl_wrap_mcu_0_sysclkout_clk_parents, 2, 0x4020000, 0), |
| 188 | CLK_DIV("sam62_pll_ctrl_wrap_mcu_0_chip_div1_clk_clk", "sam62_pll_ctrl_wrap_mcu_0_sysclkout_clk", 0x4020118, 0, 5, 0, 0), |
| 189 | CLK_MUX("clkout0_ctrl_out0", clkout0_ctrl_out0_parents, 2, 0x108010, 0, 1, 0), |
| 190 | CLK_MUX("main_emmcsd0_refclk_sel_out0", main_emmcsd0_refclk_sel_out0_parents, 2, 0x108160, 0, 1, 0), |
| 191 | CLK_MUX("main_emmcsd1_refclk_sel_out0", main_emmcsd1_refclk_sel_out0_parents, 2, 0x108168, 0, 1, 0), |
| 192 | CLK_MUX("main_gtcclk_sel_out0", main_gtcclk_sel_out0_parents, 8, 0x43008030, 0, 3, 0), |
| 193 | CLK_MUX("main_ospi_ref_clk_sel_out0", main_ospi_ref_clk_sel_out0_parents, 2, 0x108500, 0, 1, 0), |
| 194 | CLK_DIV_DEFFREQ("usart_programmable_clock_divider_out0", "hsdiv4_16fft_main_1_hsdivout0_clk", 0x108240, 0, 2, 0, 0, 48000000), |
| 195 | CLK_MUX("wkup_clkout_sel_out0", wkup_clkout_sel_out0_parents, 8, 0x43008020, 0, 3, 0), |
| 196 | CLK_MUX("wkup_clkout_sel_io_out0", wkup_clkout_sel_io_out0_parents, 2, 0x43008020, 24, 1, 0), |
| 197 | CLK_MUX("wkup_clksel_out0", wkup_clksel_out0_parents, 2, 0x43008010, 0, 1, 0), |
| 198 | CLK_MUX("main_usart0_fclk_sel_out0", main_usart0_fclk_sel_out0_parents, 2, 0x108280, 0, 1, 0), |
| 199 | CLK_DIV("hsdiv4_16fft_mcu_0_hsdivout1_clk", "pllfracf_ssmod_16fft_mcu_0_foutvcop_clk", 0x4040084, 0, 7, 0, 0), |
| 200 | CLK_FIXED_RATE("mshsi2c_wkup_0_porscl", 0, 0), |
| 201 | CLK_DIV("sam62_pll_ctrl_wrap_main_0_chip_div24_clk_clk", "sam62_pll_ctrl_wrap_main_0_sysclkout_clk", 0x41011c, 0, 5, 0, 0), |
| 202 | CLK_DIV("sam62_pll_ctrl_wrap_mcu_0_chip_div24_clk_clk", "sam62_pll_ctrl_wrap_mcu_0_sysclkout_clk", 0x402011c, 0, 5, 0, 0), |
| 203 | }; |
| 204 | |
| 205 | static const struct dev_clk soc_dev_clk_data[] = { |
| 206 | DEV_CLK(16, 0, "hsdiv4_16fft_main_0_hsdivout1_clk"), |
| 207 | DEV_CLK(16, 1, "hsdiv4_16fft_main_0_hsdivout2_clk"), |
| 208 | DEV_CLK(16, 2, "hsdiv4_16fft_main_0_hsdivout3_clk"), |
| 209 | DEV_CLK(16, 3, "hsdiv4_16fft_main_0_hsdivout4_clk"), |
| 210 | DEV_CLK(16, 4, "gluelogic_hfosc0_clkout"), |
| 211 | DEV_CLK(16, 5, "board_0_ext_refclk1_out"), |
| 212 | DEV_CLK(16, 6, "sam62_pll_ctrl_wrap_main_0_chip_div1_clk_clk"), |
| 213 | DEV_CLK(16, 7, "postdiv4_16ff_main_2_hsdivout8_clk"), |
| 214 | DEV_CLK(16, 8, "gluelogic_hfosc0_clkout"), |
| 215 | DEV_CLK(16, 9, "board_0_ext_refclk1_out"), |
| 216 | DEV_CLK(16, 10, "gluelogic_rcosc_clkout"), |
| 217 | DEV_CLK(16, 11, "sam62_pll_ctrl_wrap_main_0_chip_div1_clk_clk"), |
| 218 | DEV_CLK(16, 12, "sam62_pll_ctrl_wrap_main_0_chip_div1_clk_clk"), |
| 219 | DEV_CLK(57, 0, "main_emmcsd0_io_clklb_sel_out0"), |
| 220 | DEV_CLK(57, 1, "board_0_mmc0_clklb_out"), |
| 221 | DEV_CLK(57, 2, "board_0_mmc0_clk_out"), |
| 222 | DEV_CLK(57, 5, "sam62_pll_ctrl_wrap_main_0_chip_div1_clk_clk"), |
| 223 | DEV_CLK(57, 6, "main_emmcsd0_refclk_sel_out0"), |
| 224 | DEV_CLK(57, 7, "postdiv4_16ff_main_0_hsdivout5_clk"), |
| 225 | DEV_CLK(57, 8, "hsdiv4_16fft_main_2_hsdivout2_clk"), |
| 226 | DEV_CLK(58, 0, "main_emmcsd1_io_clklb_sel_out0"), |
| 227 | DEV_CLK(58, 1, "board_0_mmc1_clklb_out"), |
| 228 | DEV_CLK(58, 2, "board_0_mmc1_clk_out"), |
| 229 | DEV_CLK(58, 5, "sam62_pll_ctrl_wrap_main_0_chip_div1_clk_clk"), |
| 230 | DEV_CLK(58, 6, "main_emmcsd1_refclk_sel_out0"), |
| 231 | DEV_CLK(58, 7, "postdiv4_16ff_main_0_hsdivout5_clk"), |
| 232 | DEV_CLK(58, 8, "hsdiv4_16fft_main_2_hsdivout2_clk"), |
| 233 | DEV_CLK(61, 0, "main_gtcclk_sel_out0"), |
| 234 | DEV_CLK(61, 1, "postdiv4_16ff_main_2_hsdivout5_clk"), |
| 235 | DEV_CLK(61, 2, "postdiv4_16ff_main_0_hsdivout6_clk"), |
| 236 | DEV_CLK(61, 3, "board_0_cp_gemac_cpts0_rft_clk_out"), |
| 237 | DEV_CLK(61, 5, "board_0_mcu_ext_refclk0_out"), |
| 238 | DEV_CLK(61, 6, "board_0_ext_refclk1_out"), |
| 239 | DEV_CLK(61, 7, "sam62_pll_ctrl_wrap_mcu_0_chip_div1_clk_clk"), |
| 240 | DEV_CLK(61, 8, "sam62_pll_ctrl_wrap_main_0_chip_div1_clk_clk"), |
| 241 | DEV_CLK(61, 9, "wkup_clksel_out0"), |
| 242 | DEV_CLK(61, 10, "hsdiv2_16fft_main_15_hsdivout0_clk"), |
| 243 | DEV_CLK(61, 11, "hsdiv4_16fft_mcu_0_hsdivout0_clk"), |
| 244 | DEV_CLK(75, 0, "board_0_ospi0_dqs_out"), |
| 245 | DEV_CLK(75, 1, "sam62_pll_ctrl_wrap_main_0_chip_div1_clk_clk"), |
| 246 | DEV_CLK(75, 2, "main_ospi_loopback_clk_sel_out0"), |
| 247 | DEV_CLK(75, 3, "board_0_ospi0_dqs_out"), |
| 248 | DEV_CLK(75, 4, "board_0_ospi0_lbclko_out"), |
| 249 | DEV_CLK(75, 6, "sam62_pll_ctrl_wrap_main_0_chip_div1_clk_clk"), |
| 250 | DEV_CLK(75, 7, "main_ospi_ref_clk_sel_out0"), |
| 251 | DEV_CLK(75, 8, "hsdiv4_16fft_main_0_hsdivout1_clk"), |
| 252 | DEV_CLK(75, 9, "postdiv1_16fft_main_1_hsdivout5_clk"), |
| 253 | DEV_CLK(77, 0, "sam62_pll_ctrl_wrap_main_0_chip_div1_clk_clk"), |
| 254 | DEV_CLK(95, 0, "gluelogic_rcosc_clkout"), |
| 255 | DEV_CLK(95, 1, "gluelogic_hfosc0_clkout"), |
| 256 | DEV_CLK(95, 2, "wkup_clksel_out0"), |
| 257 | DEV_CLK(95, 3, "hsdiv2_16fft_main_15_hsdivout0_clk"), |
| 258 | DEV_CLK(95, 4, "hsdiv4_16fft_mcu_0_hsdivout0_clk"), |
| 259 | DEV_CLK(102, 0, "sam62_pll_ctrl_wrap_main_0_chip_div1_clk_clk"), |
| 260 | DEV_CLK(102, 1, "board_0_i2c0_scl_out"), |
| 261 | DEV_CLK(102, 2, "hsdiv4_16fft_main_1_hsdivout0_clk"), |
| 262 | DEV_CLK(107, 0, "wkup_clksel_out0"), |
| 263 | DEV_CLK(107, 1, "hsdiv2_16fft_main_15_hsdivout0_clk"), |
| 264 | DEV_CLK(107, 2, "hsdiv4_16fft_mcu_0_hsdivout0_clk"), |
| 265 | DEV_CLK(107, 4, "hsdiv4_16fft_mcu_0_hsdivout1_clk"), |
| 266 | DEV_CLK(135, 0, "hsdiv0_16fft_main_8_hsdivout0_clk"), |
| 267 | DEV_CLK(140, 0, "sam62_pll_ctrl_wrap_mcu_0_chip_div1_clk_clk"), |
| 268 | DEV_CLK(140, 1, "sam62_pll_ctrl_wrap_mcu_0_chip_div1_clk_clk"), |
| 269 | DEV_CLK(146, 0, "main_usart0_fclk_sel_out0"), |
| 270 | DEV_CLK(146, 1, "usart_programmable_clock_divider_out0"), |
| 271 | DEV_CLK(146, 2, "hsdiv4_16fft_main_1_hsdivout1_clk"), |
| 272 | DEV_CLK(146, 5, "sam62_pll_ctrl_wrap_main_0_chip_div1_clk_clk"), |
| 273 | DEV_CLK(157, 20, "clkout0_ctrl_out0"), |
| 274 | DEV_CLK(157, 21, "hsdiv4_16fft_main_2_hsdivout1_clk"), |
| 275 | DEV_CLK(157, 22, "hsdiv4_16fft_main_2_hsdivout1_clk"), |
| 276 | DEV_CLK(157, 24, "sam62_pll_ctrl_wrap_main_0_chip_div1_clk_clk"), |
| 277 | DEV_CLK(157, 25, "board_0_ddr0_ck0_out"), |
| 278 | DEV_CLK(157, 40, "mshsi2c_main_0_porscl"), |
| 279 | DEV_CLK(157, 77, "sam62_pll_ctrl_wrap_mcu_0_sysclkout_clk"), |
| 280 | DEV_CLK(157, 83, "emmcsd8ss_main_0_emmcsdss_io_clk_o"), |
| 281 | DEV_CLK(157, 85, "emmcsd8ss_main_0_emmcsdss_io_clk_o"), |
| 282 | DEV_CLK(157, 87, "emmcsd4ss_main_0_emmcsdss_io_clk_o"), |
| 283 | DEV_CLK(157, 89, "emmcsd4ss_main_0_emmcsdss_io_clk_o"), |
| 284 | DEV_CLK(157, 130, "fss_ul_main_0_ospi_0_ospi_oclk_clk"), |
| 285 | DEV_CLK(157, 146, "sam62_pll_ctrl_wrap_main_0_sysclkout_clk"), |
| 286 | DEV_CLK(157, 159, "wkup_clkout_sel_io_out0"), |
| 287 | DEV_CLK(157, 160, "wkup_clkout_sel_out0"), |
| 288 | DEV_CLK(157, 161, "gluelogic_hfosc0_clkout"), |
| 289 | DEV_CLK(161, 0, "sam62_pll_ctrl_wrap_main_0_chip_div1_clk_clk"), |
| 290 | DEV_CLK(161, 1, "sam62_pll_ctrl_wrap_main_0_chip_div1_clk_clk"), |
| 291 | DEV_CLK(161, 2, "sam62_pll_ctrl_wrap_main_0_chip_div1_clk_clk"), |
| 292 | DEV_CLK(161, 3, "main_usb0_refclk_sel_out0"), |
| 293 | DEV_CLK(161, 4, "gluelogic_hfosc0_clkout"), |
| 294 | DEV_CLK(161, 5, "postdiv4_16ff_main_0_hsdivout8_clk"), |
| 295 | DEV_CLK(161, 10, "board_0_tck_out"), |
| 296 | DEV_CLK(162, 0, "sam62_pll_ctrl_wrap_main_0_chip_div1_clk_clk"), |
| 297 | DEV_CLK(162, 1, "sam62_pll_ctrl_wrap_main_0_chip_div1_clk_clk"), |
| 298 | DEV_CLK(162, 2, "sam62_pll_ctrl_wrap_main_0_chip_div1_clk_clk"), |
| 299 | DEV_CLK(162, 3, "main_usb1_refclk_sel_out0"), |
| 300 | DEV_CLK(162, 4, "gluelogic_hfosc0_clkout"), |
| 301 | DEV_CLK(162, 5, "postdiv4_16ff_main_0_hsdivout8_clk"), |
| 302 | DEV_CLK(162, 10, "board_0_tck_out"), |
| 303 | DEV_CLK(166, 3, "hsdiv0_16fft_main_8_hsdivout0_clk"), |
| 304 | DEV_CLK(166, 5, "sam62_pll_ctrl_wrap_main_0_chip_div1_clk_clk"), |
| 305 | DEV_CLK(169, 0, "sam62_pll_ctrl_wrap_main_0_chip_div1_clk_clk"), |
| 306 | DEV_CLK(169, 1, "sam62_pll_ctrl_wrap_main_0_chip_div1_clk_clk"), |
| 307 | DEV_CLK(170, 1, "hsdiv0_16fft_main_12_hsdivout0_clk"), |
| 308 | DEV_CLK(170, 2, "board_0_tck_out"), |
| 309 | DEV_CLK(170, 3, "sam62_pll_ctrl_wrap_main_0_chip_div1_clk_clk"), |
| 310 | }; |
| 311 | |
| 312 | const struct ti_k3_clk_platdata am62ax_clk_platdata = { |
| 313 | .clk_list = clk_list, |
| 314 | .clk_list_cnt = 80, |
| 315 | .soc_dev_clk_data = soc_dev_clk_data, |
| 316 | .soc_dev_clk_data_cnt = 104, |
| 317 | }; |