summaryrefslogtreecommitdiff
path: root/arch/arm/mach-omap2
diff options
context:
space:
mode:
authorMaulik Mankad <x0082077@ti.com>2009-10-29 11:34:41 +0530
committerSantosh Shilimkar <santosh.shilimkar@ti.com>2009-10-31 19:29:36 +0530
commitc7348c7ff4f35240e93054861ffd1f4eefbe9a17 (patch)
tree311df7c0766bfbc40fd9e10e9e5d51cc580a4cee /arch/arm/mach-omap2
parent39a64fb46bc27f1f91ae3b0feb3bc21dbd35c642 (diff)
OMAP4: Add EHCI USB init and board specific data for OMAP4430 SDP
Signed-off-by: Maulik Mankad <x0082077@ti.com>
Diffstat (limited to 'arch/arm/mach-omap2')
-rw-r--r--arch/arm/mach-omap2/board-4430sdp.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/board-4430sdp.c b/arch/arm/mach-omap2/board-4430sdp.c
index 02e59b541282..9c9a6954e60f 100644
--- a/arch/arm/mach-omap2/board-4430sdp.c
+++ b/arch/arm/mach-omap2/board-4430sdp.c
@@ -536,6 +536,15 @@ static void omap_phoenix_init(void)
omap_cfg_reg(PAD0_4430_SYS_NIRQ2);
}
+static struct omap_usbhost_port_data sdp_usbhost_port_data[] = {
+ [0] = {
+ .mode = OMAP_USB_PORT_MODE_ULPI_PHY,
+ },
+ [1] = {
+ .mode = OMAP_USB_PORT_MODE_ULPI_PHY,
+ },
+};
+
static void __init omap_4430sdp_init(void)
{
omap4_i2c_init();
@@ -556,6 +565,9 @@ static void __init omap_4430sdp_init(void)
#endif
usb_musb_init(MUSB_INTERFACE_UTMI);
+ usb_host_and_tll_init(sdp_usbhost_port_data,
+ ARRAY_SIZE(sdp_usbhost_port_data));
+ usb_ehci_init(EHCI_HCD_OMAP_MODE_PHY, true, true, 57, 61);
}