usb/eth DTS nodes for custom board based on mpc5200

Angelo s104259 at yahoo.it
Sat Dec 6 02:02:38 EST 2008


Ok.

Tha main problem is that if I cross-compile kernel for ARCH=ppc everythings work fine. 

>"Configuring the Ethernet pins for USB IO is just a pin routing board setup task."

What should I do for this?!?!?

* I've configured the port_config in  lite5200_setup_cpu(void) function [arch/powerpc/platforms/52xx/lite5200.c]. I put in port_config the same value that I put with ARCH=ppc!

However I'm sure that my u-boot sets-up the port_config register because fatls usb 0:1 / show me the content of usb-storage.

Thanks,
@ngel
--- Ven 5/12/08, Grant Likely <grant.likely at secretlab.ca> ha scritto:
Da: Grant Likely <grant.likely at secretlab.ca>
Oggetto: Re: usb/eth DTS nodes for custom board based on mpc5200
A: s104259 at yahoo.it
Cc: devicetree-discuss at ozlabs.org, "linuxppc-dev" <linuxppc-dev at ozlabs.org>
Data: Venerdì 5 dicembre 2008, 15:40

On Fri, Dec 5, 2008 at 4:22 AM, Angelo <s104259 at yahoo.it> wrote:
> Hi all.
>
> I'd like to know if it's necessary to modify my DTS.
>
> On my board I have:
> * u-boot 1.2.0
> * kernel 2.6.21
> * arch=powerpc
> * dts based on lite5200b.dts
> * USB port (USB2) configured on the Ethernet port
>
> Is it necessary to combine Ethernet and usb nodes into the device tree
> source?

No.  Configuring the Ethernet pins for USB IO is just a pin routing
board setup task.  You do need to make sure U-Boot sets up the
port_config register correctly, but it doesn't impact the device tree.
 You don't need to change any of the values in the USB node.

However, if the Ethernet device is unused then you should remove the
Ethernet node from your device tree.

g.

-- 
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/devicetree-discuss/attachments/20081205/29fae2b7/attachment.htm>


More information about the devicetree-discuss mailing list