1 /* 2 * K2E EVM : Board initialization 3 * 4 * (C) Copyright 2014 5 * Texas Instruments Incorporated, <www.ti.com> 6 * 7 * SPDX-License-Identifier: GPL-2.0+ 8 */ 9 10 #include <common.h> 11 #include <asm/arch/ddr3.h> 12 #include <asm/arch/hardware.h> 13 14 DECLARE_GLOBAL_DATA_PTR; 15 16 unsigned int external_clk[ext_clk_count] = { 17 [sys_clk] = 100000000, 18 [alt_core_clk] = 100000000, 19 [pa_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, 26 }; 27 28 static struct pll_init_data pll_config[] = { 29 CORE_PLL_1200, 30 PASS_PLL_1000, 31 }; 32 33 #if defined(CONFIG_BOARD_EARLY_INIT_F) 34 int board_early_init_f(void) 35 { 36 init_plls(ARRAY_SIZE(pll_config), pll_config); 37 return 0; 38 } 39 #endif 40