From: Peter Pan <pppeterpppan@gmail.com>
To: linuxppc-dev@lists.ozlabs.org
Subject: How to support scc-enet on MPC8247 in Linux 2.6.32.6
Date: Thu, 22 Apr 2010 14:41:29 +0800 [thread overview]
Message-ID: <q2g48abf2c21004212341oe37ed471g63c646ae12914ab3@mail.gmail.com> (raw)
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.
next reply other threads:[~2010-04-22 6:41 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-22 6:41 Peter Pan [this message]
2010-04-22 17:11 ` How to support scc-enet on MPC8247 in Linux 2.6.32.6 Scott Wood
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=q2g48abf2c21004212341oe37ed471g63c646ae12914ab3@mail.gmail.com \
--to=pppeterpppan@gmail.com \
--cc=linuxppc-dev@lists.ozlabs.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;
as well as URLs for NNTP newsgroup(s).