summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/board-ti8168evm.c
diff options
context:
space:
mode:
authorRavi Babu <ravibabu@ti.com>2011-12-13 10:50:59 -0800
committerTony Lindgren <tony@atomide.com>2011-12-13 10:50:59 -0800
commitf36217f3a5b5b945619192c033c2785007931e49 (patch)
treedd17310ccac0afe9bba00aa7fedf3e2491506b97 /arch/arm/mach-omap2/board-ti8168evm.c
parent8f718d2414c2c13f7c886df1d1802ad0d32faaca (diff)
ARM: OMAP: musb: Add support for ti816evm
Adding musb support in ti816 EVM board file. Signed-off-by: Ajay Kumar Gupta <ajay.gupta@ti.com> Signed-off-by: Ravi Babu <ravibabu@ti.com> Acked-by: Felipe Balbi <balbi@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/board-ti8168evm.c')
-rw-r--r--arch/arm/mach-omap2/board-ti8168evm.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/board-ti8168evm.c b/arch/arm/mach-omap2/board-ti8168evm.c
index b3ca997a44f..5b6ad6e3ccb 100644
--- a/arch/arm/mach-omap2/board-ti8168evm.c
+++ b/arch/arm/mach-omap2/board-ti8168evm.c
@@ -23,6 +23,14 @@
#include <plat/irqs.h>
#include <plat/board.h>
#include "common.h"
+#include <plat/usb.h>
+
+static struct omap_musb_board_data musb_board_data = {
+ .set_phy_power = ti81xx_musb_phy_power,
+ .interface_type = MUSB_INTERFACE_ULPI,
+ .mode = MUSB_OTG,
+ .power = 500,
+};
static struct omap_board_config_kernel ti81xx_evm_config[] __initdata = {
};
@@ -33,6 +41,7 @@ static void __init ti81xx_evm_init(void)
omap_sdrc_init(NULL, NULL);
omap_board_config = ti81xx_evm_config;
omap_board_config_size = ARRAY_SIZE(ti81xx_evm_config);
+ usb_musb_init(&musb_board_data);
}
MACHINE_START(TI8168EVM, "ti8168evm")