diff options
author | Ravi Babu <ravibabu@ti.com> | 2011-12-13 13:50:59 -0500 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2011-12-13 13:50:59 -0500 |
commit | f36217f3a5b5b945619192c033c2785007931e49 (patch) | |
tree | dd17310ccac0afe9bba00aa7fedf3e2491506b97 /arch/arm/mach-omap2/board-ti8168evm.c | |
parent | 8f718d2414c2c13f7c886df1d1802ad0d32faaca (diff) |
ARM: OMAP: musb: Add support for ti816evm
Adding musb support in ti816 EVM board file.
Signed-off-by: Ajay Kumar Gupta <ajay.gupta@ti.com>
Signed-off-by: Ravi Babu <ravibabu@ti.com>
Acked-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/board-ti8168evm.c')
-rw-r--r-- | arch/arm/mach-omap2/board-ti8168evm.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/board-ti8168evm.c b/arch/arm/mach-omap2/board-ti8168evm.c index b3ca997a44fa..5b6ad6e3ccb4 100644 --- a/arch/arm/mach-omap2/board-ti8168evm.c +++ b/arch/arm/mach-omap2/board-ti8168evm.c | |||
@@ -23,6 +23,14 @@ | |||
23 | #include <plat/irqs.h> | 23 | #include <plat/irqs.h> |
24 | #include <plat/board.h> | 24 | #include <plat/board.h> |
25 | #include "common.h" | 25 | #include "common.h" |
26 | #include <plat/usb.h> | ||
27 | |||
28 | static struct omap_musb_board_data musb_board_data = { | ||
29 | .set_phy_power = ti81xx_musb_phy_power, | ||
30 | .interface_type = MUSB_INTERFACE_ULPI, | ||
31 | .mode = MUSB_OTG, | ||
32 | .power = 500, | ||
33 | }; | ||
26 | 34 | ||
27 | static struct omap_board_config_kernel ti81xx_evm_config[] __initdata = { | 35 | static struct omap_board_config_kernel ti81xx_evm_config[] __initdata = { |
28 | }; | 36 | }; |
@@ -33,6 +41,7 @@ static void __init ti81xx_evm_init(void) | |||
33 | omap_sdrc_init(NULL, NULL); | 41 | omap_sdrc_init(NULL, NULL); |
34 | omap_board_config = ti81xx_evm_config; | 42 | omap_board_config = ti81xx_evm_config; |
35 | omap_board_config_size = ARRAY_SIZE(ti81xx_evm_config); | 43 | omap_board_config_size = ARRAY_SIZE(ti81xx_evm_config); |
44 | usb_musb_init(&musb_board_data); | ||
36 | } | 45 | } |
37 | 46 | ||
38 | MACHINE_START(TI8168EVM, "ti8168evm") | 47 | MACHINE_START(TI8168EVM, "ti8168evm") |