<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from rtf -->
<style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<font face="Calibri, sans-serif" size="2">
<div>Hi I’m having difficulty getting an Ethernet device up on a dev board with an MPX8349 controller.</div>
<div> </div>
<div>The contents of my .dts file are as follows (based on mpc8349emitx.dts):</div>
<div> </div>
<div> soc8349@e0000000 {</div>
<div> …</div>
<div> </div>
<div> mdio@24520 {</div>
<div> #address-cells = <1>;</div>
<div> #size-cells = <0>;</div>
<div> compatible = "fsl,gianfar-mdio";</div>
<div> reg = <24520 20>;</div>
<div> </div>
<div> /* Vitesse 8201 */</div>
<div> phy1c: ethernet-phy@1c {</div>
<div> interrupt-parent = <&ipic>;</div>
<div> interrupts = <3 8>;</div>
<div> reg = <0>;</div>
<div> device_type = "ethernet-phy";</div>
<div> };</div>
<div> tbi0: tbi-phy@11 {</div>
<div> reg = <11>;</div>
<div> device_type = "tbi-phy";</div>
<div> };</div>
<div> };</div>
<div> </div>
<div> mdio@25520 {</div>
<div> #address-cells = <1>;</div>
<div> #size-cells = <0>;</div>
<div> compatible = "fsl,gianfar-tbi";</div>
<div> reg = <25520 20>;</div>
<div> </div>
<div> tbi1: tbi-phy@11 {</div>
<div> reg = <11>;</div>
<div> device_type = "tbi-phy";</div>
<div> };</div>
<div> };</div>
<div> </div>
<div> ethernet@24000 {</div>
<div> cell-index = <0>;</div>
<div> device_type = "network";</div>
<div> model = "TSEC";</div>
<div> compatible = "gianfar";</div>
<div> reg = <24000 1000>;</div>
<div> local-mac-address = [ 00 00 00 00 00 00 ];</div>
<div> interrupts = <20 8 21 8 22 8>;</div>
<div> interrupt-parent = <&ipic>;</div>
<div> tbi-handle = <&tbi0>;</div>
<div> phy-handle = <&phy1c>;</div>
<div> linux,network-index = <0>;</div>
<div> };</div>
<div> </div>
<div> ethernet@25000 {</div>
<div> cell-index = <1>;</div>
<div> device_type = "network";</div>
<div> model = "TSEC";</div>
<div> compatible = "gianfar";</div>
<div> reg = <25000 1000>;</div>
<div> local-mac-address = [ 00 00 00 00 00 00 ];</div>
<div> interrupts = <23 8 24 8 25 8>;</div>
<div> interrupt-parent = <&ipic>;</div>
<div> /* Vitesse 7385 isn't on the MDIO bus */</div>
<div> fixed-link = <1 1 1000 0 0>;</div>
<div> linux,network-index = <1>;</div>
<div> tbi-handle = <&tbi1>;</div>
<div> phy-connection-type = "gmii";</div>
<div> };</div>
<div> };</div>
<div> </div>
<div>I get the following error during the boot sequence:</div>
<div> </div>
<div>IP-Config: Device `eth0' not found</div>
<div> </div>
<div>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.</div>
<div> </div>
<div>What am I missing?</div>
<div> </div>
<div>Thanks in advance.</div>
<div>D</div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>
</font>
</body>
</html>