Devicetree
 help / color / mirror / Atom feed
From: Angelo <s104259-whZMOeQn8C0@public.gmane.org>
To: Grant Likely <grant.likely-s3s/WqlpOiPyB63q8FvJNQ@public.gmane.org>
Cc: devicetree-discuss-mnsaURCQ41sdnm+yROfE0A@public.gmane.org
Subject: Re: usb/eth DTS nodes for custom board based on mpc5200
Date: Fri, 5 Dec 2008 15:02:38 +0000 (GMT)	[thread overview]
Message-ID: <537065.14124.qm@web23104.mail.ird.yahoo.com> (raw)
In-Reply-To: <fa686aa40812050640m4b4afe2egef638ca950cff041-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>


[-- Attachment #1.1: Type: text/plain, Size: 1870 bytes --]

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-s3s/WqlpOiPyB63q8FvJNQ@public.gmane.org> ha scritto:
Da: Grant Likely <grant.likely-s3s/WqlpOiPyB63q8FvJNQ@public.gmane.org>
Oggetto: Re: usb/eth DTS nodes for custom board based on mpc5200
A: s104259-whZMOeQn8C0@public.gmane.org
Cc: devicetree-discuss-mnsaURCQ41sdnm+yROfE0A@public.gmane.org, "linuxppc-dev" <linuxppc-dev-mnsaURCQ41sdnm+yROfE0A@public.gmane.org>
Data: Venerdì 5 dicembre 2008, 15:40

On Fri, Dec 5, 2008 at 4:22 AM, Angelo <s104259-whZMOeQn8C0@public.gmane.org> 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.



      

[-- Attachment #1.2: Type: text/html, Size: 2322 bytes --]

[-- Attachment #2: Type: text/plain, Size: 194 bytes --]

_______________________________________________
devicetree-discuss mailing list
devicetree-discuss-mnsaURCQ41sdnm+yROfE0A@public.gmane.org
https://ozlabs.org/mailman/listinfo/devicetree-discuss

  parent reply	other threads:[~2008-12-05 15:02 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-05 11:22 usb/eth DTS nodes for custom board based on mpc5200 Angelo
     [not found] ` <504269.31435.qm-oikRafiNRKjyX4RqAA4FmIglqE1Y4D90QQ4Iyu8u01E@public.gmane.org>
2008-12-05 14:40   ` Grant Likely
     [not found]     ` <fa686aa40812050640m4b4afe2egef638ca950cff041-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2008-12-05 15:02       ` Angelo [this message]
     [not found]         ` <537065.14124.qm-ZN+ubyTWu4PyX4RqAA4FmIglqE1Y4D90QQ4Iyu8u01E@public.gmane.org>
2008-12-05 15:16           ` Grant Likely
2008-12-05 15:16     ` R: " gianfranco.casanova
     [not found]       ` <47602D18F269934AB73B7E550804A1E002137987-irmLqLvCarwRdKFfnreRio2P0GrZ+RbP@public.gmane.org>
2008-12-05 15:25         ` Grant Likely
2008-12-05 15:40           ` Angelo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=537065.14124.qm@web23104.mail.ird.yahoo.com \
    --to=s104259-whzmoeqn8c0@public.gmane.org \
    --cc=devicetree-discuss-mnsaURCQ41sdnm+yROfE0A@public.gmane.org \
    --cc=grant.likely-s3s/WqlpOiPyB63q8FvJNQ@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox