aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/board-overo.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-omap2/board-overo.c')
-rw-r--r--arch/arm/mach-omap2/board-overo.c16
1 files changed, 10 insertions, 6 deletions
diff --git a/arch/arm/mach-omap2/board-overo.c b/arch/arm/mach-omap2/board-overo.c
index 630833235cbc..f9101407cd56 100644
--- a/arch/arm/mach-omap2/board-overo.c
+++ b/arch/arm/mach-omap2/board-overo.c
@@ -457,14 +457,16 @@ static int __init overo_spi_init(void)
457 return 0; 457 return 0;
458} 458}
459 459
460static struct usbhs_phy_data phy_data[] __initdata = {
461 {
462 .port = 2,
463 .reset_gpio = OVERO_GPIO_USBH_NRESET,
464 .vcc_gpio = -EINVAL,
465 },
466};
467
460static struct usbhs_omap_platform_data usbhs_bdata __initdata = { 468static struct usbhs_omap_platform_data usbhs_bdata __initdata = {
461 .port_mode[0] = OMAP_USBHS_PORT_MODE_UNUSED,
462 .port_mode[1] = OMAP_EHCI_PORT_MODE_PHY, 469 .port_mode[1] = OMAP_EHCI_PORT_MODE_PHY,
463 .port_mode[2] = OMAP_USBHS_PORT_MODE_UNUSED,
464 .phy_reset = true,
465 .reset_gpio_port[0] = -EINVAL,
466 .reset_gpio_port[1] = OVERO_GPIO_USBH_NRESET,
467 .reset_gpio_port[2] = -EINVAL
468}; 470};
469 471
470#ifdef CONFIG_OMAP_MUX 472#ifdef CONFIG_OMAP_MUX
@@ -501,6 +503,8 @@ static void __init overo_init(void)
501 ARRAY_SIZE(overo_nand_partitions), NAND_CS, 0, NULL); 503 ARRAY_SIZE(overo_nand_partitions), NAND_CS, 0, NULL);
502 usb_bind_phy("musb-hdrc.0.auto", 0, "twl4030_usb"); 504 usb_bind_phy("musb-hdrc.0.auto", 0, "twl4030_usb");
503 usb_musb_init(NULL); 505 usb_musb_init(NULL);
506
507 usbhs_init_phys(phy_data, ARRAY_SIZE(phy_data));
504 usbhs_init(&usbhs_bdata); 508 usbhs_init(&usbhs_bdata);
505 overo_spi_init(); 509 overo_spi_init();
506 overo_init_smsc911x(); 510 overo_init_smsc911x();