2 * K2G EVM : Board initialization
5 * Texas Instruments Incorporated, <www.ti.com>
7 * SPDX-License-Identifier: GPL-2.0+
10 #include <asm/arch/clock.h>
12 #define SYS_CLK 24000000
14 unsigned int external_clk[ext_clk_count] = {
17 [tetris_clk] = SYS_CLK,
18 [ddr3a_clk] = SYS_CLK,
22 static struct pll_init_data main_pll_config = {MAIN_PLL, 100, 1, 4};
23 static struct pll_init_data tetris_pll_config = {TETRIS_PLL, 100, 1, 4};
24 static struct pll_init_data uart_pll_config = {UART_PLL, 64, 1, 4};
25 static struct pll_init_data nss_pll_config = {NSS_PLL, 250, 3, 2};
26 static struct pll_init_data ddr3_pll_config = {DDR3_PLL, 250, 3, 10};
28 struct pll_init_data *get_pll_init_data(int pll)
30 struct pll_init_data *data = NULL;
34 data = &main_pll_config;
37 data = &tetris_pll_config[speed];
40 data = &nss_pll_config;
43 data = &uart_pll_config;
46 data = &ddr_pll_config;
56 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1
59 #ifdef CONFIG_BOARD_EARLY_INIT_F
60 int board_early_init_f(void)
68 #ifdef CONFIG_SPL_BUILD
69 void spl_init_keystone_plls(void)