blob: b3ca997a44fa0a7157f9d427f9f4e3c501db3f96 [file] [log] [blame]
Hemant Pedanekar2c87fb22011-02-15 23:06:08 +05301/*
Hemant Pedanekara890b672011-12-13 10:48:55 -08002 * Code for TI8168/TI8148 EVM.
Hemant Pedanekar2c87fb22011-02-15 23:06:08 +05303 *
4 * Copyright (C) 2010 Texas Instruments, Inc. - http://www.ti.com/
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License as
8 * published by the Free Software Foundation version 2.
9 *
10 * This program is distributed "as is" WITHOUT ANY WARRANTY of any
11 * kind, whether express or implied; without even the implied warranty
12 * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 */
15#include <linux/kernel.h>
16#include <linux/init.h>
17
18#include <mach/hardware.h>
19#include <asm/mach-types.h>
20#include <asm/mach/arch.h>
21#include <asm/mach/map.h>
22
23#include <plat/irqs.h>
24#include <plat/board.h>
Tony Lindgren4e653312011-11-10 22:45:17 +010025#include "common.h"
Hemant Pedanekar2c87fb22011-02-15 23:06:08 +053026
Hemant Pedanekara890b672011-12-13 10:48:55 -080027static struct omap_board_config_kernel ti81xx_evm_config[] __initdata = {
Hemant Pedanekar2c87fb22011-02-15 23:06:08 +053028};
29
Hemant Pedanekara890b672011-12-13 10:48:55 -080030static void __init ti81xx_evm_init(void)
Hemant Pedanekar2c87fb22011-02-15 23:06:08 +053031{
32 omap_serial_init();
Tony Lindgrena4ca9db2011-08-22 23:57:23 -070033 omap_sdrc_init(NULL, NULL);
Hemant Pedanekara890b672011-12-13 10:48:55 -080034 omap_board_config = ti81xx_evm_config;
35 omap_board_config_size = ARRAY_SIZE(ti81xx_evm_config);
Hemant Pedanekar2c87fb22011-02-15 23:06:08 +053036}
37
Hemant Pedanekar2c87fb22011-02-15 23:06:08 +053038MACHINE_START(TI8168EVM, "ti8168evm")
39 /* Maintainer: Texas Instruments */
Nicolas Pitre5e52b432011-07-05 22:38:15 -040040 .atag_offset = 0x100,
Hemant Pedanekara9203602011-12-13 10:46:44 -080041 .map_io = ti81xx_map_io,
42 .init_early = ti81xx_init_early,
43 .init_irq = ti81xx_init_irq,
Tony Lindgrene74984e2011-03-29 15:54:48 -070044 .timer = &omap3_timer,
Hemant Pedanekara890b672011-12-13 10:48:55 -080045 .init_machine = ti81xx_evm_init,
46MACHINE_END
47
48MACHINE_START(TI8148EVM, "ti8148evm")
49 /* Maintainer: Texas Instruments */
50 .atag_offset = 0x100,
51 .map_io = ti81xx_map_io,
52 .init_early = ti81xx_init_early,
53 .init_irq = ti81xx_init_irq,
54 .timer = &omap3_timer,
55 .init_machine = ti81xx_evm_init,
Hemant Pedanekar2c87fb22011-02-15 23:06:08 +053056MACHINE_END