Newby trying to get Ethernet going on MPC83xx series device.

Dushara Jayasinghe DusharaJ at optiscan.com
Thu Feb 19 15:26:41 EST 2009


Hi I'm having difficulty getting an Ethernet device up on a dev board with an MPX8349 controller.

The contents of my .dts file are as follows (based on mpc8349emitx.dts):

        soc8349 at e0000000 {
                ...

                mdio at 24520 {
                        #address-cells = <1>;
                        #size-cells = <0>;
                        compatible = "fsl,gianfar-mdio";
                        reg = <24520 20>;

                        /* Vitesse 8201 */
                        phy1c: ethernet-phy at 1c {
                                interrupt-parent = <&ipic>;
                                interrupts = <3 8>;
                                reg = <0>;
                                device_type = "ethernet-phy";
                        };
                        tbi0: tbi-phy at 11 {
                                reg = <11>;
                                device_type = "tbi-phy";
                        };
                };

                mdio at 25520 {
                        #address-cells = <1>;
                        #size-cells = <0>;
                        compatible = "fsl,gianfar-tbi";
                        reg = <25520 20>;

                        tbi1: tbi-phy at 11 {
                                reg = <11>;
                                device_type = "tbi-phy";
                        };
                };

                ethernet at 24000 {
                        cell-index = <0>;
                        device_type = "network";
                        model = "TSEC";
                        compatible = "gianfar";
                        reg = <24000 1000>;
                        local-mac-address = [ 00 00 00 00 00 00 ];
                        interrupts = <20 8 21 8 22 8>;
                        interrupt-parent = <&ipic>;
                        tbi-handle = <&tbi0>;
                        phy-handle = <&phy1c>;
                        linux,network-index = <0>;
                };

                ethernet at 25000 {
                        cell-index = <1>;
                        device_type = "network";
                        model = "TSEC";
                        compatible = "gianfar";
                        reg = <25000 1000>;
                        local-mac-address = [ 00 00 00 00 00 00 ];
                        interrupts = <23 8 24 8 25 8>;
                        interrupt-parent = <&ipic>;
                        /* Vitesse 7385 isn't on the MDIO bus */
                        fixed-link = <1 1 1000 0 0>;
                        linux,network-index = <1>;
                        tbi-handle = <&tbi1>;
                        phy-connection-type = "gmii";
                };
        };

I get the following error during the boot sequence:

IP-Config: Device `eth0' not found

I also found that both gfar_init (in gianfar.c) and gfar_mdio_init (in gianfar_mii.c) are called but the probe handlers of either of these devices are not executed.

What am I missing?

Thanks in advance.
D




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20090219/c87f3e1f/attachment.htm>


More information about the Linuxppc-dev mailing list