diff options
Diffstat (limited to 'arch/arm/mach-omap2/board-omap3pandora.c')
-rw-r--r-- | arch/arm/mach-omap2/board-omap3pandora.c | 25 |
1 files changed, 19 insertions, 6 deletions
diff --git a/arch/arm/mach-omap2/board-omap3pandora.c b/arch/arm/mach-omap2/board-omap3pandora.c index c4be626c8422..2db5ba5b3bf7 100644 --- a/arch/arm/mach-omap2/board-omap3pandora.c +++ b/arch/arm/mach-omap2/board-omap3pandora.c | |||
@@ -34,13 +34,13 @@ | |||
34 | #include <asm/mach/arch.h> | 34 | #include <asm/mach/arch.h> |
35 | #include <asm/mach/map.h> | 35 | #include <asm/mach/map.h> |
36 | 36 | ||
37 | #include <mach/board.h> | 37 | #include <plat/board.h> |
38 | #include <mach/common.h> | 38 | #include <plat/common.h> |
39 | #include <mach/gpio.h> | 39 | #include <mach/gpio.h> |
40 | #include <mach/hardware.h> | 40 | #include <mach/hardware.h> |
41 | #include <mach/mcspi.h> | 41 | #include <plat/mcspi.h> |
42 | #include <mach/usb.h> | 42 | #include <plat/usb.h> |
43 | #include <mach/mux.h> | 43 | #include <plat/mux.h> |
44 | 44 | ||
45 | #include "sdram-micron-mt46h32m32lf-6.h" | 45 | #include "sdram-micron-mt46h32m32lf-6.h" |
46 | #include "mmc-twl4030.h" | 46 | #include "mmc-twl4030.h" |
@@ -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 | ||
@@ -422,7 +435,7 @@ static void __init omap3pandora_map_io(void) | |||
422 | 435 | ||
423 | MACHINE_START(OMAP3_PANDORA, "Pandora Handheld Console") | 436 | MACHINE_START(OMAP3_PANDORA, "Pandora Handheld Console") |
424 | .phys_io = 0x48000000, | 437 | .phys_io = 0x48000000, |
425 | .io_pg_offst = ((0xd8000000) >> 18) & 0xfffc, | 438 | .io_pg_offst = ((0xfa000000) >> 18) & 0xfffc, |
426 | .boot_params = 0x80000100, | 439 | .boot_params = 0x80000100, |
427 | .map_io = omap3pandora_map_io, | 440 | .map_io = omap3pandora_map_io, |
428 | .init_irq = omap3pandora_init_irq, | 441 | .init_irq = omap3pandora_init_irq, |