The port 2 of OHCI controller is connected to external PHY. 
The Unidirection 6 pin serial mode is configured.

Signed-off-by: Keshava Munegowda <keshava_mgo...@ti.com>
Signed-off-by: Anand Gadiyar <gadi...@ti.com>
---
 arch/arm/mach-omap2/board-4430sdp.c |    6 ++++++
 1 file changed, 6 insertions(+)

Index: linux-2.6/arch/arm/mach-omap2/board-4430sdp.c
===================================================================
--- linux-2.6.orig/arch/arm/mach-omap2/board-4430sdp.c
+++ linux-2.6/arch/arm/mach-omap2/board-4430sdp.c
@@ -424,6 +424,11 @@ static const struct ehci_hcd_omap_platfo
        .reset_gpio_port[2]  = -EINVAL
 };
 
+static const struct ohci_hcd_omap_platform_data ohci_pdata __initconst = {
+       .port_mode[0] = OMAP_OHCI_PORT_MODE_UNUSED,
+       .port_mode[1] = OMAP_OHCI_PORT_MODE_PHY_6PIN_DATSE0,
+       .port_mode[2] = OMAP_OHCI_PORT_MODE_UNUSED,
+};
 static int __init omap4_i2c_init(void)
 {
        /*
@@ -454,6 +459,7 @@ static void __init omap_4430sdp_init(voi
                gpio_direction_output(OMAP4SDP_MDM_PWR_EN_GPIO, 1);
        }
        usb_ehci_init(&ehci_pdata);
+       usb_ohci_init(&ohci_pdata);
        /* OMAP4 SDP uses internal transceiver so register nop transceiver */
        usb_nop_xceiv_register();
        /* FIXME: allow multi-omap to boot until musb is updated for omap4 */
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to