Can you look into your board specific file Like board/freescale/mpc8249_mds/mpc8349_mds.c
And check if the buses are getting probed. For example static struct of_device_id mpc834x_ids[] = { { .type = "soc", }, { .compatible = "soc", }, { .compatible = "simple-bus", }, {}, }; static int __init mpc834x_declare_of_platform_devices(void) { of_platform_bus_probe(NULL, mpc834x_ids, NULL); return 0; } machine_device_initcall(mpc834x_mds, mpc834x_declare_of_platform_devices); Regards Poonam > -----Original Message----- > From: > linuxppc-dev-bounces+poonam.aggrwal=freescale....@ozlabs.org > [mailto:linuxppc-dev-bounces+poonam.aggrwal=freescale....@ozla > bs.org] On Behalf Of Li Yang-R58472 > Sent: Thursday, February 19, 2009 10:52 AM > To: Dushara Jayasinghe; linuxppc-dev@ozlabs.org > Subject: RE: Newby trying to get Ethernet going on MPC83xx > series device. > > > -----Original Message----- > > From: linuxppc-dev-bounces+leoli=freescale....@ozlabs.org > > [mailto:linuxppc-dev-bounces+leoli=freescale....@ozlabs.org] > > On Behalf Of Dushara Jayasinghe > > Sent: Thursday, February 19, 2009 12:27 PM > > To: 'linuxppc-dev@ozlabs.org' > > Subject: Newby trying to get Ethernet going on MPC83xx > series device. > > > > 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): > > > > soc8...@e0000000 { > > ... > > > > m...@24520 { > > #address-cells = <1>; > > #size-cells = <0>; > > compatible = "fsl,gianfar-mdio"; > > reg = <24520 20>; > > > > /* Vitesse 8201 */ > > phy1c: ethernet-...@1c { > > interrupt-parent = <&ipic>; > > interrupts = <3 8>; > > reg = <0>; > > device_type = "ethernet-phy"; > > }; > > tbi0: tbi-...@11 { > > reg = <11>; > > device_type = "tbi-phy"; > > }; > > }; > > > > m...@25520 { > > #address-cells = <1>; > > #size-cells = <0>; > > compatible = "fsl,gianfar-tbi"; > > reg = <25520 20>; > > > > tbi1: tbi-...@11 { > > reg = <11>; > > device_type = "tbi-phy"; > > }; > > }; > > > > ether...@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>; > > }; > > > > ether...@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? > > Don't find any obvious problem. I suggest you to debug > gfar_of_init() in arch/powerpc/sysdev/fsl_soc.c to see if it > works correctly. > > - Leo > _______________________________________________ > Linuxppc-dev mailing list > Linuxppc-dev@ozlabs.org > https://ozlabs.org/mailman/listinfo/linuxppc-dev > >
_______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev