USB Host support on mpc 8313

Li Yang LeoLi at freescale.com
Mon Nov 24 18:12:23 EST 2008


> -----Original Message-----
> From: 
> linuxppc-embedded-bounces+leoli=freescale.com at ozlabs.org 
> [mailto:linuxppc-embedded-bounces+leoli=freescale.com at ozlabs.o
> rg] On Behalf Of Joaquin Luna
> Sent: Monday, November 24, 2008 11:24 AM
> To: linuxppc-embedded at ozlabs.org
> Subject: USB Host support on mpc 8313
> 
> Is there anyone out there who has tried getting usb to work 
> under the 2.6.27 kernel?  I am using the Freescale MPC831x 
> RDB platform and when I enable "Support for Freescale on-chip 
> EHCI USB controller" (USB_EHCI_FSL) I get stuck during boot 
> up.  The last two lines of my boot log are:
> 
>  
> 
> fsl-ehci fsl-ehci.0: Freescale On-Chip EHCI Host Controller
> 
> fsl-ehci fsl-ehci.0: new USB bus registered, assigned bus number 1
> 
>  
> 
>  
> 
> With the 2.6.20 kernel I had usb working and my boot log looked like:
> 
>  
> 
> fsl-ehci fsl-ehci.0: Freescale On-Chip EHCI Host Controller
> 
> fsl-ehci fsl-ehci.0: new USB bus registered, assigned bus number 1
> 
> fsl-ehci fsl-ehci.0: irq 38, io base 0xe0023000
> 
> fsl-ehci fsl-ehci.0: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
> 
>  
> 
>  
> 
> I did notice that there were a few usb bug fixes that went 
> into 2.6.27.7 so I updated to the latest version, but it did 
> not help.  Any idea how or where I can begin looking for a solution?


There are two settings of the board (USB internal PHY/ USB external
PHY).  They are described in the board UM.

Is the phy_type property in DTS matching the board setting?
utmi_wide for internal PHY
ulpi for external PHY

- Leo


More information about the Linuxppc-embedded mailing list