Merge branch 'kirkwood/cleanup' of git://git.infradead.org/users/jcooper/linux into...
[deliverable/linux.git] / arch / arm / mach-omap2 / board-ti8168evm.c
CommitLineData
2c87fb2e 1/*
a890b676 2 * Code for TI8168/TI8148 EVM.
2c87fb2e
HP
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
2c87fb2e
HP
18#include <asm/mach-types.h>
19#include <asm/mach/arch.h>
20#include <asm/mach/map.h>
21
4e65331c 22#include "common.h"
f36217f3
RB
23#include <plat/usb.h>
24
25static struct omap_musb_board_data musb_board_data = {
26 .set_phy_power = ti81xx_musb_phy_power,
27 .interface_type = MUSB_INTERFACE_ULPI,
28 .mode = MUSB_OTG,
29 .power = 500,
30};
2c87fb2e 31
a890b676 32static void __init ti81xx_evm_init(void)
2c87fb2e
HP
33{
34 omap_serial_init();
a4ca9dbe 35 omap_sdrc_init(NULL, NULL);
f36217f3 36 usb_musb_init(&musb_board_data);
2c87fb2e
HP
37}
38
2c87fb2e
HP
39MACHINE_START(TI8168EVM, "ti8168evm")
40 /* Maintainer: Texas Instruments */
5e52b435 41 .atag_offset = 0x100,
a920360f
HP
42 .map_io = ti81xx_map_io,
43 .init_early = ti81xx_init_early,
44 .init_irq = ti81xx_init_irq,
e74984e4 45 .timer = &omap3_timer,
a890b676 46 .init_machine = ti81xx_evm_init,
bbd707ac 47 .init_late = ti81xx_init_late,
421b759b 48 .restart = omap_prcm_restart,
a890b676
HP
49MACHINE_END
50
51MACHINE_START(TI8148EVM, "ti8148evm")
52 /* Maintainer: Texas Instruments */
53 .atag_offset = 0x100,
54 .map_io = ti81xx_map_io,
55 .init_early = ti81xx_init_early,
56 .init_irq = ti81xx_init_irq,
57 .timer = &omap3_timer,
58 .init_machine = ti81xx_evm_init,
bbd707ac 59 .init_late = ti81xx_init_late,
baa95883 60 .restart = omap_prcm_restart,
2c87fb2e 61MACHINE_END
This page took 0.099699 seconds and 5 git commands to generate.