diff options
Diffstat (limited to 'arch/arm/mach-omap2/board-omap4panda.c')
-rw-r--r-- | arch/arm/mach-omap2/board-omap4panda.c | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/arch/arm/mach-omap2/board-omap4panda.c b/arch/arm/mach-omap2/board-omap4panda.c index 613bdd89bcfa..e001a048dc0c 100644 --- a/arch/arm/mach-omap2/board-omap4panda.c +++ b/arch/arm/mach-omap2/board-omap4panda.c | |||
@@ -144,10 +144,17 @@ error1: | |||
144 | 144 | ||
145 | static struct omap_musb_board_data musb_board_data = { | 145 | static struct omap_musb_board_data musb_board_data = { |
146 | .interface_type = MUSB_INTERFACE_UTMI, | 146 | .interface_type = MUSB_INTERFACE_UTMI, |
147 | .mode = MUSB_PERIPHERAL, | 147 | .mode = MUSB_OTG, |
148 | .power = 100, | 148 | .power = 100, |
149 | }; | 149 | }; |
150 | 150 | ||
151 | static struct twl4030_usb_data omap4_usbphy_data = { | ||
152 | .phy_init = omap4430_phy_init, | ||
153 | .phy_exit = omap4430_phy_exit, | ||
154 | .phy_power = omap4430_phy_power, | ||
155 | .phy_set_clock = omap4430_phy_set_clk, | ||
156 | }; | ||
157 | |||
151 | static struct omap2_hsmmc_info mmc[] = { | 158 | static struct omap2_hsmmc_info mmc[] = { |
152 | { | 159 | { |
153 | .mmc = 1, | 160 | .mmc = 1, |
@@ -357,6 +364,7 @@ static struct twl4030_platform_data omap4_panda_twldata = { | |||
357 | .vaux1 = &omap4_panda_vaux1, | 364 | .vaux1 = &omap4_panda_vaux1, |
358 | .vaux2 = &omap4_panda_vaux2, | 365 | .vaux2 = &omap4_panda_vaux2, |
359 | .vaux3 = &omap4_panda_vaux3, | 366 | .vaux3 = &omap4_panda_vaux3, |
367 | .usb = &omap4_usbphy_data, | ||
360 | }; | 368 | }; |
361 | 369 | ||
362 | static struct i2c_board_info __initdata omap4_panda_i2c_boardinfo[] = { | 370 | static struct i2c_board_info __initdata omap4_panda_i2c_boardinfo[] = { |
@@ -404,9 +412,7 @@ static void __init omap4_panda_init(void) | |||
404 | /* OMAP4 Panda uses internal transceiver so register nop transceiver */ | 412 | /* OMAP4 Panda uses internal transceiver so register nop transceiver */ |
405 | usb_nop_xceiv_register(); | 413 | usb_nop_xceiv_register(); |
406 | omap4_ehci_init(); | 414 | omap4_ehci_init(); |
407 | /* FIXME: allow multi-omap to boot until musb is updated for omap4 */ | 415 | usb_musb_init(&musb_board_data); |
408 | if (!cpu_is_omap44xx()) | ||
409 | usb_musb_init(&musb_board_data); | ||
410 | } | 416 | } |
411 | 417 | ||
412 | static void __init omap4_panda_map_io(void) | 418 | static void __init omap4_panda_map_io(void) |