From: Scott Wood <scottwood@freescale.com>
To: Peter Pan <pppeterpppan@gmail.com>
Cc: linuxppc-dev@lists.ozlabs.org
Subject: Re: How to support scc-enet on MPC8247 in Linux 2.6.32.6
Date: Thu, 22 Apr 2010 12:11:38 -0500 [thread overview]
Message-ID: <4BD0834A.3020508@freescale.com> (raw)
In-Reply-To: <q2g48abf2c21004212341oe37ed471g63c646ae12914ab3@mail.gmail.com>
Peter Pan wrote:
> I'm porting Linux 2.6.32.6 to our MPC8247 based board. We use SCC3 and
> SCC4 as ethernet port. These two ports are connect with LXT905 PHY
> chip.
> I'm now using fs_enet driver, how should I config the scc port in dtc
> file. I copied from mgcoge.dts file, and my dtc file of scc enet is
> follows:
>
> eth2: ethernet@11a40 {
> device_type = "network";
> compatible = "fsl,mpc8247-scc-enet",
> "fsl,cpm2-scc-enet";
> reg = <0x11a40 0x20 0x8200 0x100 0x11390 0x1>;
> local-mac-address = [ 00 00 00 00 00 00 ]; /* filled
> by U-Boot */
> interrupts = <42 8>;
> interrupt-parent = <&PIC>;
> linux,network-index = <0x2>;
> fsl,cpm-command = <0x8c00000>;
> fixed-link = < 0 0 10 0 0 >;
> };
> But i does not working. Linux says that PHY 0:00 is not found. I dive
> into the code, and that's according to the fixed-link property.
> I'm wondering how to support scc-enet in my situation.
Do you really want fixed-link, or does the board have a working MDIO
interface? If the latter, you need a phy-handle property instead,
pointing to a PHY node under an MDIO bus node that represents how MDIO
is wired on your board.
-Scott
next prev parent reply other threads:[~2010-04-22 17:11 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-22 6:41 How to support scc-enet on MPC8247 in Linux 2.6.32.6 Peter Pan
2010-04-22 17:11 ` Scott Wood [this message]
2010-04-23 1:56 ` Peter Pan
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=4BD0834A.3020508@freescale.com \
--to=scottwood@freescale.com \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=pppeterpppan@gmail.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.