ARM: OMAP: musb: Add ti81xx phy power function
[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
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>
4e65331c 25#include "common.h"
2c87fb2e 26
a890b676 27static struct omap_board_config_kernel ti81xx_evm_config[] __initdata = {
2c87fb2e
HP
28};
29
a890b676 30static void __init ti81xx_evm_init(void)
2c87fb2e
HP
31{
32 omap_serial_init();
a4ca9dbe 33 omap_sdrc_init(NULL, NULL);
a890b676
HP
34 omap_board_config = ti81xx_evm_config;
35 omap_board_config_size = ARRAY_SIZE(ti81xx_evm_config);
2c87fb2e
HP
36}
37
2c87fb2e
HP
38MACHINE_START(TI8168EVM, "ti8168evm")
39 /* Maintainer: Texas Instruments */
5e52b435 40 .atag_offset = 0x100,
a920360f
HP
41 .map_io = ti81xx_map_io,
42 .init_early = ti81xx_init_early,
43 .init_irq = ti81xx_init_irq,
e74984e4 44 .timer = &omap3_timer,
a890b676
HP
45 .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,
2c87fb2e 56MACHINE_END
This page took 0.08508 seconds and 5 git commands to generate.