R: usb/eth DTS nodes for custom board based on mpc5200

gianfranco.casanova at alice.it gianfranco.casanova at alice.it
Sat Dec 6 02:16:06 EST 2008


Hi Grant

we have already tested what you are suggesting, but nothing happens.

I'm supposing the problem comes from interrupts.

In fact USB is still alive, every 5 sec. we can see some timeout messages.

(from previous post)

root at RadioNav: ~ #[   24.027842] usb 1-2: khubd timed out on ep0in len=0/64
root at RadioNav: ~ #[   29.199841] usb 1-2: khubd timed out on ep0in len=0/64
root at RadioNav: ~ #[   34.307841] usb 1-2: khubd timed out on ep0in len=0/64
root at RadioNav: ~ #[   34.382786] ppc-of-ohci f0001000.usb: GetStatus roothub.portstatus [1] = 0x00100103 PRSC PPS PES CCS
root at RadioNav: ~ #[   34.446789] usb 1-2: device descriptor read/64, error -110
root at RadioNav: ~ #
root at RadioNav: ~ #cat /proc/interrupts
           CPU0
134:       5689  MPC52xx Peripherals Edge      ohci_hcd:usb1
139:        207  MPC52xx Peripherals Edge      mpc52xx_psc_uart
143:          0  MPC52xx Peripherals Edge      i2c-mpc
144:          0  MPC52xx Peripherals Edge      i2c-mpc
BAD:          0

Ideas :( ??
Thanks J

P.S. Using lite5200 EVB USB works well using almost same drivers.

-----Messaggio originale-----
Da: linuxppc-dev-bounces+gianfranco.casanova=alice.it at ozlabs.org per conto di Grant Likely
Inviato: ven 05/12/2008 15.40
A: s104259 at yahoo.it
Cc: linuxppc-dev; devicetree-discuss at ozlabs.org
Oggetto: Re: usb/eth DTS nodes for custom board based on mpc5200
 
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.
_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev at ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev

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


More information about the devicetree-discuss mailing list