2 * K2E EVM : Board initialization
5 * Texas Instruments Incorporated, <www.ti.com>
7 * SPDX-License-Identifier: GPL-2.0+
11 #include <asm/arch/ddr3.h>
12 #include <asm/arch/hardware.h>
14 DECLARE_GLOBAL_DATA_PTR;
16 unsigned int external_clk[ext_clk_count] = {
17 [sys_clk] = 100000000,
18 [alt_core_clk] = 100000000,
20 [ddr3_clk] = 100000000,
21 [mcm_clk] = 312500000,
22 [pcie_clk] = 100000000,
23 [sgmii_clk] = 156250000,
24 [xgmii_clk] = 156250000,
25 [usb_clk] = 100000000,
28 static struct pll_init_data core_pll_config[] = {
39 static struct pll_init_data pa_pll_config =
42 #if defined(CONFIG_BOARD_EARLY_INIT_F)
43 int board_early_init_f(void)
47 speed = get_max_dev_speed();
48 init_pll(&core_pll_config[speed]);
50 init_pll(&pa_pll_config);