85xx Device tree problems: e0024520:02 not found

robert lazarski robertlazarski at gmail.com
Wed Nov 14 07:17:37 EST 2007


Hi all,

I'm trying to bring up a new 8548 board on 2.6.23.1 . When booting,
Some times I can get as far mounting over nfs. However, it gets stuck
here:

NET: Registered protocol family 1
NET: Registered protocol family 17
e0024520:02 not found
eth2: Could not attach to PHY
IP-Config: Failed to open eth2
IP-Config: Device `eth2' not found.

I can ping and tftp via u-boot just fine over eth2 - which runs
marvells 88E1111 . Here's the relavent part of my device tree:

               mdio at 24520 {
                       #address-cells = <1>;
                       #size-cells = <0>;
                       device_type = "mdio";
                       compatible = "gianfar";
                       reg = <24520 20>;
                       phy0: ethernet-phy at 0 {
                               interrupt-parent = <&mpic>;
                               interrupts = <0 1>;
                               reg = <0>;
                               device_type = "ethernet-phy";
                       };
                       phy1: ethernet-phy at 1 {
                               interrupt-parent = <&mpic>;
                               interrupts = <1 1>;
                               reg = <1>;
                               device_type = "ethernet-phy";
                       };
                       phy2: ethernet-phy at 2 {
                               interrupt-parent = <&mpic>;
                               interrupts = <2 1>;
                               reg = <2>;
                               device_type = "ethernet-phy";
                       };
                       phy3: ethernet-phy at 3 {
                               interrupt-parent = <&mpic>;
                               interrupts = <3 1>;
                               reg = <3>;
                               device_type = "ethernet-phy";
                       };
               };
               ethernet at 24000 {
                       #address-cells = <1>;
                       #size-cells = <0>;
                       device_type = "network";
                       model = "eTSEC";
                       compatible = "gianfar";
                       reg = <24000 1000>;
                       local-mac-address = [ 00 E0 0C 00 73 00 ];
                       interrupts = <d 2 e 2 12 2>;
                       interrupt-parent = <&mpic>;
                       phy-handle = <&phy0>;
               };

               ethernet at 25000 {
                       #address-cells = <1>;
                       #size-cells = <0>;
                       device_type = "network";
                       model = "eTSEC";
                       compatible = "gianfar";
                       reg = <25000 1000>;
                       local-mac-address = [ 00 E0 0C 00 73 01 ];
                       interrupts = <13 2 14 2 18 2>;
                       interrupt-parent = <&mpic>;
                       phy-handle = <&phy1>;
               };

               ethernet at 26000 {
                       #address-cells = <1>;
                       #size-cells = <0>;
                       device_type = "network";
                       model = "eTSEC";
                       compatible = "gianfar";
                       reg = <26000 1000>;
                       local-mac-address = [ 00 E0 0C 00 73 02 ];
                       interrupts = <f 2 10 2 11 2>;
                       interrupt-parent = <&mpic>;
                       phy-handle = <&phy2>;
               };

               ethernet at 27000 {
                       #address-cells = <1>;
                       #size-cells = <0>;
                       device_type = "network";
                       model = "eTSEC";
                       compatible = "gianfar";
                       reg = <27000 1000>;
                       local-mac-address = [ 00 E0 0C 00 73 03 ];
                       interrupts = <15 2 16 2 17 2>;
                       interrupt-parent = <&mpic>;
                       phy-handle = <&phy3>;
               };


Any ideas?
Robert


More information about the Linuxppc-embedded mailing list