From: "Steven A. Falco" <sfalco@harris•com>
To: "linuxppc-dev@ozlabs•org" <linuxppc-dev@ozlabs•org>
Subject: [Question] PPC440EPx SMII ethernet
Date: Wed, 22 Apr 2009 17:44:37 -0400 [thread overview]
Message-ID: <49EF8FC5.7080602@harris.com> (raw)
We have built a new board based on the PPC440EPx. We are
using an SMII-mode phy for the ethernet.
The .dts file started as the one for Sequoia, and I have
changed the phy specifier to phy-mode = "smii" - I've also
removed the has-mdio property from RGMII0. The ethernet
is working in U-Boot, but when Linux tries to start the
emac I get:
PPC 4xx OCP EMAC driver, version 3.54
MAL v2 /plb/mcmal, 2 TX channels, 2 RX channels
ZMII /plb/opb/emac-zmii@ef600d00 initialized
RGMII /plb/opb/emac-rgmii@ef601000 initialized without MDIO support
/plb/opb/emac-zmii@ef600d00: bridge in SMII mode
/plb/opb/emac-rgmii@ef601000: unsupported settings !
/plb/opb/emac-rgmii@ef601000: unsupported settings !
and the ethernet is not functional. I don't see any
example .dts files for smii mode. If anyone can tell me
what the .dts settings should be for this configuration,
I'd appreciate it.
The kernel version is 2.6.28.7 - I know that is a bit old
now, but hopefully I can still make progress with it.
Here is the whole .dts section for reference:
ZMII0: emac-zmii@ef600d00 {
compatible = "ibm,zmii-440epx", "ibm,zmii";
reg = <0xef600d00 0x0000000c>;
};
RGMII0: emac-rgmii@ef601000 {
compatible = "ibm,rgmii-440epx", "ibm,rgmii";
reg = <0xef601000 0x00000008>;
/* has-mdio; */
};
EMAC0: ethernet@ef600e00 {
device_type = "network";
compatible = "ibm,emac-440epx", "ibm,emac4";
interrupt-parent = <&EMAC0>;
interrupts = <0x0 0x1>;
#interrupt-cells = <1>;
#address-cells = <0>;
#size-cells = <0>;
interrupt-map = </*Status*/ 0x0 &UIC0 0x18 0x4
/*Wake*/ 0x1 &UIC1 0x1d 0x4>;
reg = <0xef600e00 0x00000074>;
local-mac-address = [000000000000];
mal-device = <&MAL0>;
mal-tx-channel = <0>;
mal-rx-channel = <0>;
cell-index = <0>;
max-frame-size = <9000>;
rx-fifo-size = <4096>;
tx-fifo-size = <2048>;
phy-mode = "smii";
phy-map = <0x00000000>;
zmii-device = <&ZMII0>;
zmii-channel = <0>;
rgmii-device = <&RGMII0>;
rgmii-channel = <0>;
has-inverted-stacr-oc;
has-new-stacr-staopc;
};
reply other threads:[~2009-04-22 21:44 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=49EF8FC5.7080602@harris.com \
--to=sfalco@harris$(echo .)com \
--cc=linuxppc-dev@ozlabs$(echo .)org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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