blob: 74713e3993e5f4b8d43bc3d20adf84a88d1944b8 [file] [log] [blame]
Hemant Pedanekar2c87fb22011-02-15 23:06:08 +05301/*
2 * Code for TI8168 EVM.
3 *
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
27static struct omap_board_config_kernel ti8168_evm_config[] __initdata = {
28};
29
Hemant Pedanekar2c87fb22011-02-15 23:06:08 +053030static void __init ti8168_evm_init(void)
31{
32 omap_serial_init();
Tony Lindgrena4ca9db2011-08-22 23:57:23 -070033 omap_sdrc_init(NULL, NULL);
Tony Lindgrene41cccf2011-02-24 14:36:03 -080034 omap_board_config = ti8168_evm_config;
35 omap_board_config_size = ARRAY_SIZE(ti8168_evm_config);
Hemant Pedanekar2c87fb22011-02-15 23:06:08 +053036}
37
38static void __init ti8168_evm_map_io(void)
39{
Hemant Pedanekar2c87fb22011-02-15 23:06:08 +053040 omapti816x_map_common_io();
41}
42
43MACHINE_START(TI8168EVM, "ti8168evm")
44 /* Maintainer: Texas Instruments */
Nicolas Pitre5e52b432011-07-05 22:38:15 -040045 .atag_offset = 0x100,
Hemant Pedanekar2c87fb22011-02-15 23:06:08 +053046 .map_io = ti8168_evm_map_io,
Tony Lindgren8f5b5a42011-08-22 23:57:24 -070047 .init_early = ti816x_init_early,
Tony Lindgren741e3a82011-05-17 03:51:26 -070048 .init_irq = ti816x_init_irq,
Tony Lindgrene74984e2011-03-29 15:54:48 -070049 .timer = &omap3_timer,
Hemant Pedanekar2c87fb22011-02-15 23:06:08 +053050 .init_machine = ti8168_evm_init,
Russell Kingbaa95882011-11-05 17:06:28 +000051 .restart = omap_prcm_restart,
Hemant Pedanekar2c87fb22011-02-15 23:06:08 +053052MACHINE_END