Add device tree entries for lite5200b's FEC's PHY.
Signed-off-by: Domen Puncer <[EMAIL PROTECTED]> --- 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 @@ [EMAIL PROTECTED] { 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>; + }; + + [EMAIL PROTECTED] { + #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:[EMAIL PROTECTED] { + device_type = "ethernet-phy"; + reg = <0>; + }; }; [EMAIL PROTECTED] { - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html