diff options
Diffstat (limited to 'arch/arm/mach-omap2/board-omap3evm.c')
-rw-r--r-- | arch/arm/mach-omap2/board-omap3evm.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/board-omap3evm.c b/arch/arm/mach-omap2/board-omap3evm.c index e0cac96a7860..1edf06adbe3c 100644 --- a/arch/arm/mach-omap2/board-omap3evm.c +++ b/arch/arm/mach-omap2/board-omap3evm.c | |||
@@ -307,6 +307,18 @@ static struct platform_device *omap3_evm_devices[] __initdata = { | |||
307 | &omap3evm_smc911x_device, | 307 | &omap3evm_smc911x_device, |
308 | }; | 308 | }; |
309 | 309 | ||
310 | static struct ehci_hcd_omap_platform_data ehci_pdata __initconst = { | ||
311 | |||
312 | .port_mode[0] = EHCI_HCD_OMAP_MODE_UNKNOWN, | ||
313 | .port_mode[1] = EHCI_HCD_OMAP_MODE_PHY, | ||
314 | .port_mode[2] = EHCI_HCD_OMAP_MODE_UNKNOWN, | ||
315 | |||
316 | .phy_reset = true, | ||
317 | .reset_gpio_port[0] = -EINVAL, | ||
318 | .reset_gpio_port[1] = 135, | ||
319 | .reset_gpio_port[2] = -EINVAL | ||
320 | }; | ||
321 | |||
310 | static void __init omap3_evm_init(void) | 322 | static void __init omap3_evm_init(void) |
311 | { | 323 | { |
312 | omap3_evm_i2c_init(); | 324 | omap3_evm_i2c_init(); |
@@ -322,6 +334,9 @@ static void __init omap3_evm_init(void) | |||
322 | usb_nop_xceiv_register(); | 334 | usb_nop_xceiv_register(); |
323 | #endif | 335 | #endif |
324 | usb_musb_init(); | 336 | usb_musb_init(); |
337 | /* Setup EHCI phy reset padconfig */ | ||
338 | omap_cfg_reg(AF4_34XX_GPIO135_OUT); | ||
339 | usb_ehci_init(&ehci_pdata); | ||
325 | ads7846_dev_init(); | 340 | ads7846_dev_init(); |
326 | } | 341 | } |
327 | 342 | ||