From 2cf81cea37d410701bf8bd05913b8f54d7fa6613 Mon Sep 17 00:00:00 2001 From: Domen Puncer Date: Sun, 14 Oct 2007 17:57:11 +1000 Subject: [PATCH] --- yaml --- r: 70895 b: refs/heads/master c: b147d93d62d161559a49e0108767122caa4d2576 h: refs/heads/master i: 70893: a1b32de063ff226bc746efe04c19eaa98f3536f9 70891: 85cb32d04b37f61bae417d95d3bd20beed22483c 70887: 7b4d5b073bda9d3e23fb7bcdc2cbd3369cd13cc1 70879: 6a48907a657d241dcf6ea4ac3f6f8336a3c37708 v: v3 --- [refs] | 2 +- trunk/arch/powerpc/boot/dts/lite5200b.dts | 18 +++++++++++++++++- 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 0cb6947b1bd9..bfc766ed9709 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 7acb939130ff054f195f827ed1cb389232dd8560 +refs/heads/master: b147d93d62d161559a49e0108767122caa4d2576 diff --git a/trunk/arch/powerpc/boot/dts/lite5200b.dts b/trunk/arch/powerpc/boot/dts/lite5200b.dts index a6bb1d0558ef..6582c9a39b27 100644 --- a/trunk/arch/powerpc/boot/dts/lite5200b.dts +++ b/trunk/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 {