Re: DT && i.MX USB

Alexander Shiyan shc_work at mail.ru
Tue Oct 29 05:04:57 EDT 2013


> On Mon, Oct 28, 2013 at 07:50:21PM +0400, Alexander Shiyan wrote:
> > Hello.
> > 
> > I am trying to migrate i.MX51 ConnectCore board for use DT.
> > Most stuff are done but I cannot understand how USB subsystem
> > works with devicetree.
> > 
> > First, why barebox uses own "barebox,dr_mode" and "barebox,phy_type"
> > properties instead of use kernel "dr_mode" and "phy_type"?
> 
> By the time I created this binding the binding for the kernel was not
> mainline, so I decided to use barebox,x to not end up with an
> incompatible binding. As the binding made it mainline now we can drop
> the "barebox," now.

Understood.

> > Second, how specify flags for USB ports, for example MXC_EHCI_INTERNAL_PHY?
> > In DT case we can not do it and as result desired port not functional...
> 
> Could it be that this flag should simply be dropped? According to the
> Block diagram (Freescale i.MX53 ref manual v2.1, page 4700) the otg port
> is hardwired to the internal utmi phy, so having this configurable makes
> no sense.

I checked it for i.MX51. Everything works.
Will it be the right solution for all i.MX CPUs?
If so, I will write a patch for both issues. Or you?
Thanks.

---


More information about the barebox mailing list