From: Domen Puncer <domen.puncer@telargo.com>
To: galak@kernel.crashing.org, jgarzik@pobox.com
Cc: linuxppc-dev@ozlabs.org, netdev@vger.kernel.org
Subject: [PATCH v3 1/4] FEC mpc52xx: device tree changes
Date: Sun, 14 Oct 2007 09:57:11 +0200 [thread overview]
Message-ID: <20071014075711.GD3000@nd47.coderock.org> (raw)
In-Reply-To: <20071014075511.GC3000@nd47.coderock.org>
Add device tree entries for lite5200b's FEC's PHY.
Signed-off-by: Domen Puncer <domen.puncer@telargo.com>
---
arch/powerpc/boot/dts/lite5200b.dts | 18 +++++++++++++++++-
1 files changed, 17 insertions(+), 1 deletion(-)
Index: linux.git/arch/powerpc/boot/dts/lite5200b.dts
===================================================================
--- linux.git.orig/arch/powerpc/boot/dts/lite5200b.dts
+++ linux.git/arch/powerpc/boot/dts/lite5200b.dts
@@ -277,10 +277,26 @@
ethernet@3000 {
device_type = "network";
compatible = "mpc5200b-fec","mpc5200-fec";
- reg = <3000 800>;
+ reg = <3000 400>;
mac-address = [ 02 03 04 05 06 07 ]; // Bad!
interrupts = <2 5 0>;
interrupt-parent = <&mpc5200_pic>;
+ phy-handle = <&phy0>;
+ };
+
+ mdio@3000 {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ device_type = "mdio";
+ compatible = "mpc5200b-fec-phy";
+ reg = <3000 400>; // fec range, since we need to setup fec interrupts
+ interrupts = <2 5 0>; // these are for "mii command finished", not link changes & co.
+ interrupt-parent = <&mpc5200_pic>;
+
+ phy0:ethernet-phy@0 {
+ device_type = "ethernet-phy";
+ reg = <0>;
+ };
};
ata@3a00 {
next prev parent reply other threads:[~2007-10-14 7:57 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-14 7:55 [PATCH v3 0/4] FEC - fast ethernet controller for mpc52xx Domen Puncer
2007-10-14 7:57 ` Domen Puncer [this message]
2007-10-14 7:58 ` [PATCH v3 2/4] FEC mpc52xx: add some bestcomm flags Domen Puncer
2007-10-14 7:59 ` [PATCH v3 3/4] FEC mpc52xx: the driver Domen Puncer
2007-10-14 21:43 ` Grant Likely
2007-10-14 7:59 ` [PATCH v3 4/4] FEC mpc52xx: phy part of " Domen Puncer
2007-10-14 22:05 ` Grant Likely
2007-10-15 10:56 ` [PATCH v3 4/4] FEC mpc52xx: phy part of the driver\ Domen Puncer
2007-10-15 14:30 ` Grant Likely
2007-10-15 19:06 ` [PATCH v3 0/4] FEC - fast ethernet controller for mpc52xx Jeff Garzik
2007-10-15 19:19 ` Grant Likely
2007-10-18 14:15 ` Grant Likely
2007-10-18 19:14 ` Jeff Garzik
2007-10-19 11:27 ` [PATCH v4] " Domen Puncer
2007-10-21 18:32 ` Grant Likely
2007-10-25 9:29 ` Jeff Garzik
2007-10-25 14:10 ` Domen Puncer
2007-10-25 18:57 ` Dale Farnsworth
2007-10-25 19:41 ` Domen Puncer
2007-10-25 20:29 ` Dale Farnsworth
2007-10-25 22:46 ` Jeff Garzik
2007-10-25 23:50 ` Stephen Hemminger
2007-10-26 11:59 ` [PATCH v4.2] " Domen Puncer
2007-10-26 14:18 ` Dale Farnsworth
2007-10-26 16:07 ` [PATCH v4.3] " Domen Puncer
2007-10-29 9:59 ` Jeff Garzik
2007-10-29 15:37 ` Grant Likely
2007-11-01 11:31 ` [PATCH v4] " tnt
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=20071014075711.GD3000@nd47.coderock.org \
--to=domen.puncer@telargo.com \
--cc=galak@kernel.crashing.org \
--cc=jgarzik@pobox.com \
--cc=linuxppc-dev@ozlabs.org \
--cc=netdev@vger.kernel.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).