]> git.baikalelectronics.ru Git - kernel.git/commit
[POWERPC] Fix MPC5200 (not B!) device tree so FEC ethernet works
authorRené Bürgel <r.buergel@unicontrol.de>
Thu, 3 Apr 2008 08:58:37 +0000 (19:58 +1100)
committerPaul Mackerras <paulus@samba.org>
Thu, 3 Apr 2008 11:11:12 +0000 (22:11 +1100)
commit5606fa7ac36ffbf3098e68a5ea5f379ed28c7785
treebec234d73fde8109e2bdbdfd9ce7d86739e18004
parent1411ee2fe77429d86e067347289bdef7bed9e216
[POWERPC] Fix MPC5200 (not B!) device tree so FEC ethernet works

This gets the FEC ethernet driver working again on the lite5200
platform.

The FEC driver is also compatible with the MPC5200, not only with the
MPC5200B, so this adds a suitable entry to the driver's match list.
Furthermore this adds the settings for the PHY in the dts file for the
Lite5200.  Note, that this is not exactly the same as in the
Lite5200B, because the PHY is located at f0003000:01 for the 5200, and
at :00 for the 5200B.  This was tested on a Lite5200 and a Lite5200B,
both booted a kernel via tftp and mounted the root via nfs
successfully.

Signed-off-by: René Bürgel <r.buergel@unicontrol.de>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/boot/dts/lite5200.dts
drivers/net/fec_mpc52xx.c
drivers/net/fec_mpc52xx_phy.c