linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Newby trying to get Ethernet going on MPC83xx series device.
@ 2009-02-19  4:26 Dushara Jayasinghe
  2009-02-19  5:21 ` Li Yang-R58472
  2009-02-19 18:38 ` Scott Wood
  0 siblings, 2 replies; 15+ messages in thread
From: Dushara Jayasinghe @ 2009-02-19  4:26 UTC (permalink / raw)
  To: 'linuxppc-dev@ozlabs.org'

[-- Attachment #1: Type: text/plain, Size: 3081 bytes --]

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@e0000000 {
                ...

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

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

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

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

                ethernet@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@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





[-- Attachment #2: Type: text/html, Size: 11246 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2009-02-23 18:14 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-19  4:26 Newby trying to get Ethernet going on MPC83xx series device Dushara Jayasinghe
2009-02-19  5:21 ` Li Yang-R58472
2009-02-19  6:33   ` Dushara Jayasinghe
2009-02-19  6:41     ` Li Yang-R58472
2009-02-19  6:48   ` Aggrwal Poonam-B10812
2009-02-19  6:58     ` Dushara Jayasinghe
2009-02-19  7:19       ` Li Yang
2009-02-19  7:25         ` Aggrwal Poonam-B10812
2009-02-20  0:36           ` Dushara Jayasinghe
2009-02-20  5:00             ` Michael Bergandi
2009-02-20  7:18               ` Dushara Jayasinghe
2009-02-23  5:28                 ` Dushara Jayasinghe
2009-02-23 18:14                   ` Michael Bergandi
2009-02-19 15:17       ` Timur Tabi
2009-02-19 18:38 ` Scott Wood

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).