diff options
author | Felipe Balbi <felipe.balbi@nokia.com> | 2009-11-22 13:11:01 -0500 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2009-11-22 13:24:32 -0500 |
commit | 58a5491c936957011c92f8cc5097fb3231ee3f9c (patch) | |
tree | 8fd45f11ec46785900635279e40fca62cda8ecb5 /arch/arm/mach-omap2/board-omap3pandora.c | |
parent | 83720a8230f87008deba8619428438f0276b83ca (diff) |
omap: Add platform init code for EHCI driver
Add platform init code for EHCI driver.
Various fixes to the original patch by Ajay Kumar Gupta <ajay.gupta@ti.com>
and Anand Gadiyar <gadiyar@ti.com>.
Overo support added by Olof Johansson <olof@lixom.net>
Beagle support added by Koen Kooi <koen@beagleboard.org>
CM-T32 support added by Mike Rapoport <mike@compulab.co.il>
Signed-off-by: Signed-off-by: Olof Johansson <olof@lixom.net>
Acked-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Koen Kooi <koen@beagleboard.org>
Signed-off-by: Mike Rapoport <mike@compulab.co.il>
Signed-off-by: Ajay Kumar Gupta <ajay.gupta@ti.com>
Signed-off-by: Anand Gadiyar <gadiyar@ti.com>
Signed-off-by: Felipe Balbi <felipe.balbi@nokia.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/board-omap3pandora.c')
-rw-r--r-- | arch/arm/mach-omap2/board-omap3pandora.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/board-omap3pandora.c b/arch/arm/mach-omap2/board-omap3pandora.c index 3b2e5463fc5d..2db5ba5b3bf7 100644 --- a/arch/arm/mach-omap2/board-omap3pandora.c +++ b/arch/arm/mach-omap2/board-omap3pandora.c | |||
@@ -397,6 +397,18 @@ static struct platform_device *omap3pandora_devices[] __initdata = { | |||
397 | &pandora_keys_gpio, | 397 | &pandora_keys_gpio, |
398 | }; | 398 | }; |
399 | 399 | ||
400 | static struct ehci_hcd_omap_platform_data ehci_pdata __initconst = { | ||
401 | |||
402 | .port_mode[0] = EHCI_HCD_OMAP_MODE_PHY, | ||
403 | .port_mode[1] = EHCI_HCD_OMAP_MODE_UNKNOWN, | ||
404 | .port_mode[2] = EHCI_HCD_OMAP_MODE_UNKNOWN, | ||
405 | |||
406 | .phy_reset = true, | ||
407 | .reset_gpio_port[0] = 16, | ||
408 | .reset_gpio_port[1] = -EINVAL, | ||
409 | .reset_gpio_port[2] = -EINVAL | ||
410 | }; | ||
411 | |||
400 | static void __init omap3pandora_init(void) | 412 | static void __init omap3pandora_init(void) |
401 | { | 413 | { |
402 | omap3pandora_i2c_init(); | 414 | omap3pandora_i2c_init(); |
@@ -406,6 +418,7 @@ static void __init omap3pandora_init(void) | |||
406 | spi_register_board_info(omap3pandora_spi_board_info, | 418 | spi_register_board_info(omap3pandora_spi_board_info, |
407 | ARRAY_SIZE(omap3pandora_spi_board_info)); | 419 | ARRAY_SIZE(omap3pandora_spi_board_info)); |
408 | omap3pandora_ads7846_init(); | 420 | omap3pandora_ads7846_init(); |
421 | usb_ehci_init(&ehci_pdata); | ||
409 | pandora_keys_gpio_init(); | 422 | pandora_keys_gpio_init(); |
410 | usb_musb_init(); | 423 | usb_musb_init(); |
411 | 424 | ||