2 * am3517evm.c - board file for TI's AM3517 family of devices.
4 * Author: Vaibhav Hiremath <hvaibhav@ti.com>
6 * Based on ti/evm/evm.c
9 * Texas Instruments Incorporated - http://www.ti.com/
11 * This program is free software; you can redistribute it and/or modify
12 * it under the terms of the GNU General Public License as published by
13 * the Free Software Foundation; either version 2 of the License, or
14 * (at your option) any later version.
16 * This program is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
21 * You should have received a copy of the GNU General Public License
22 * along with this program; if not, write to the Free Software
23 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
28 #include <asm/arch/mem.h>
29 #include <asm/arch/mux.h>
30 #include <asm/arch/sys_proto.h>
31 #include <asm/mach-types.h>
33 #include "am3517evm.h"
35 DECLARE_GLOBAL_DATA_PTR;
39 * Description: Early hardware init.
43 gpmc_init(); /* in SRAM or SDRAM, finish GPMC */
44 /* board id for Linux */
45 gd->bd->bi_arch_number = MACH_TYPE_OMAP3517EVM;
47 gd->bd->bi_boot_params = (OMAP34XX_SDRC_CS0 + 0x100);
53 * Routine: misc_init_r
54 * Description: Init i2c, ethernet, etc... (done here so udelay works)
58 #ifdef CONFIG_DRIVER_OMAP34XX_I2C
59 i2c_init(CONFIG_SYS_I2C_SPEED, CONFIG_SYS_I2C_SLAVE);
68 * Routine: set_muxconf_regs
69 * Description: Setting up the configuration Mux registers specific to the
70 * hardware. Many pins need to be moved from protect to primary
73 void set_muxconf_regs(void)