fs_enet: Add MPC5125 FEC support and PHY interface selection
authorVladimir Ermakov <vooon341@gmail.com>
Sat, 17 Mar 2012 13:10:50 +0000 (13:10 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 19 Mar 2012 22:02:05 +0000 (18:02 -0400)
commitba568335b089e0a27829e3a6117a7e1bf957ad07
tree460d6569c4ad623ec8f1aee8d0fcb571b3ac1b4d
parentdc72d99dabb870ca5bd6d9fff674be853bb4a88d
fs_enet: Add MPC5125 FEC support and PHY interface selection

Add compatible string for MPC5125 FEC. The FEC on MPC5125 additionally
supports RMII PHY interface. Configure controller/PHY interface type
according to the optional phy-connection-type property in the ethernet
node. This property should be either "rmii" or "mii".

Signed-off-by: Vladimir Ermakov <vooon341@gmail.com>
Signed-off-by: Anatolij Gustschin <agust@denx.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/fs_enet/fec.h
drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c
drivers/net/ethernet/freescale/fs_enet/mac-fec.c