diff options
Diffstat (limited to 'arch/arm/mach-omap2/board-omap3pandora.c')
-rw-r--r-- | arch/arm/mach-omap2/board-omap3pandora.c | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/arch/arm/mach-omap2/board-omap3pandora.c b/arch/arm/mach-omap2/board-omap3pandora.c index 2bba362148a0..1004d2aaa68f 100644 --- a/arch/arm/mach-omap2/board-omap3pandora.c +++ b/arch/arm/mach-omap2/board-omap3pandora.c | |||
@@ -346,7 +346,7 @@ static struct regulator_consumer_supply pandora_vcc_lcd_supply[] = { | |||
346 | }; | 346 | }; |
347 | 347 | ||
348 | static struct regulator_consumer_supply pandora_usb_phy_supply[] = { | 348 | static struct regulator_consumer_supply pandora_usb_phy_supply[] = { |
349 | REGULATOR_SUPPLY("hsusb1", "ehci-omap.0"), | 349 | REGULATOR_SUPPLY("vcc", "nop_usb_xceiv.2"), /* hsusb port 2 */ |
350 | }; | 350 | }; |
351 | 351 | ||
352 | /* ads7846 on SPI and 2 nub controllers on I2C */ | 352 | /* ads7846 on SPI and 2 nub controllers on I2C */ |
@@ -561,6 +561,14 @@ fail: | |||
561 | printk(KERN_ERR "wl1251 board initialisation failed\n"); | 561 | printk(KERN_ERR "wl1251 board initialisation failed\n"); |
562 | } | 562 | } |
563 | 563 | ||
564 | static struct usbhs_phy_data phy_data[] __initdata = { | ||
565 | { | ||
566 | .port = 2, | ||
567 | .reset_gpio = 16, | ||
568 | .vcc_gpio = -EINVAL, | ||
569 | }, | ||
570 | }; | ||
571 | |||
564 | static struct platform_device *omap3pandora_devices[] __initdata = { | 572 | static struct platform_device *omap3pandora_devices[] __initdata = { |
565 | &pandora_leds_gpio, | 573 | &pandora_leds_gpio, |
566 | &pandora_keys_gpio, | 574 | &pandora_keys_gpio, |
@@ -569,15 +577,7 @@ static struct platform_device *omap3pandora_devices[] __initdata = { | |||
569 | }; | 577 | }; |
570 | 578 | ||
571 | static struct usbhs_omap_platform_data usbhs_bdata __initdata = { | 579 | static struct usbhs_omap_platform_data usbhs_bdata __initdata = { |
572 | |||
573 | .port_mode[0] = OMAP_USBHS_PORT_MODE_UNUSED, | ||
574 | .port_mode[1] = OMAP_EHCI_PORT_MODE_PHY, | 580 | .port_mode[1] = OMAP_EHCI_PORT_MODE_PHY, |
575 | .port_mode[2] = OMAP_USBHS_PORT_MODE_UNUSED, | ||
576 | |||
577 | .phy_reset = true, | ||
578 | .reset_gpio_port[0] = -EINVAL, | ||
579 | .reset_gpio_port[1] = 16, | ||
580 | .reset_gpio_port[2] = -EINVAL | ||
581 | }; | 581 | }; |
582 | 582 | ||
583 | #ifdef CONFIG_OMAP_MUX | 583 | #ifdef CONFIG_OMAP_MUX |
@@ -601,7 +601,10 @@ static void __init omap3pandora_init(void) | |||
601 | spi_register_board_info(omap3pandora_spi_board_info, | 601 | spi_register_board_info(omap3pandora_spi_board_info, |
602 | ARRAY_SIZE(omap3pandora_spi_board_info)); | 602 | ARRAY_SIZE(omap3pandora_spi_board_info)); |
603 | omap_ads7846_init(1, OMAP3_PANDORA_TS_GPIO, 0, NULL); | 603 | omap_ads7846_init(1, OMAP3_PANDORA_TS_GPIO, 0, NULL); |
604 | |||
605 | usbhs_init_phys(phy_data, ARRAY_SIZE(phy_data)); | ||
604 | usbhs_init(&usbhs_bdata); | 606 | usbhs_init(&usbhs_bdata); |
607 | |||
605 | usb_bind_phy("musb-hdrc.0.auto", 0, "twl4030_usb"); | 608 | usb_bind_phy("musb-hdrc.0.auto", 0, "twl4030_usb"); |
606 | usb_musb_init(NULL); | 609 | usb_musb_init(NULL); |
607 | gpmc_nand_init(&pandora_nand_data, NULL); | 610 | gpmc_nand_init(&pandora_nand_data, NULL); |