diff options
Diffstat (limited to 'arch/arm/mach-omap2/board-overo.c')
-rw-r--r-- | arch/arm/mach-omap2/board-overo.c | 16 |
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 f790ce5aaa34..4ca6b680aa72 100644 --- a/arch/arm/mach-omap2/board-overo.c +++ b/arch/arm/mach-omap2/board-overo.c | |||
@@ -428,14 +428,16 @@ static int __init overo_spi_init(void) | |||
428 | return 0; | 428 | return 0; |
429 | } | 429 | } |
430 | 430 | ||
431 | static struct usbhs_phy_data phy_data[] __initdata = { | ||
432 | { | ||
433 | .port = 2, | ||
434 | .reset_gpio = OVERO_GPIO_USBH_NRESET, | ||
435 | .vcc_gpio = -EINVAL, | ||
436 | }, | ||
437 | }; | ||
438 | |||
431 | static struct usbhs_omap_platform_data usbhs_bdata __initdata = { | 439 | static struct usbhs_omap_platform_data usbhs_bdata __initdata = { |
432 | .port_mode[0] = OMAP_USBHS_PORT_MODE_UNUSED, | ||
433 | .port_mode[1] = OMAP_EHCI_PORT_MODE_PHY, | 440 | .port_mode[1] = OMAP_EHCI_PORT_MODE_PHY, |
434 | .port_mode[2] = OMAP_USBHS_PORT_MODE_UNUSED, | ||
435 | .phy_reset = true, | ||
436 | .reset_gpio_port[0] = -EINVAL, | ||
437 | .reset_gpio_port[1] = OVERO_GPIO_USBH_NRESET, | ||
438 | .reset_gpio_port[2] = -EINVAL | ||
439 | }; | 441 | }; |
440 | 442 | ||
441 | #ifdef CONFIG_OMAP_MUX | 443 | #ifdef CONFIG_OMAP_MUX |
@@ -472,6 +474,8 @@ static void __init overo_init(void) | |||
472 | ARRAY_SIZE(overo_nand_partitions), NAND_CS, 0, NULL); | 474 | ARRAY_SIZE(overo_nand_partitions), NAND_CS, 0, NULL); |
473 | usb_bind_phy("musb-hdrc.0.auto", 0, "twl4030_usb"); | 475 | usb_bind_phy("musb-hdrc.0.auto", 0, "twl4030_usb"); |
474 | usb_musb_init(NULL); | 476 | usb_musb_init(NULL); |
477 | |||
478 | usbhs_init_phys(phy_data, ARRAY_SIZE(phy_data)); | ||
475 | usbhs_init(&usbhs_bdata); | 479 | usbhs_init(&usbhs_bdata); |
476 | overo_spi_init(); | 480 | overo_spi_init(); |
477 | overo_init_smsc911x(); | 481 | overo_init_smsc911x(); |