powerpc/85xx: Add FMan ethernet support to P4080DS
authorAndy Fleming <afleming@freescale.com>
Wed, 20 Oct 2010 20:35:16 +0000 (15:35 -0500)
committerKumar Gala <galak@kernel.crashing.org>
Fri, 30 Sep 2011 00:01:05 +0000 (19:01 -0500)
commit2915609a91bac614d1fe881f928359028cd47e0f
tree59c929093d6371b3eee778c4faa933705943720b
parentc916d7c914665347f057bf1506c02c5ac57e3184
powerpc/85xx: Add FMan ethernet support to P4080DS

Add support for RGMII, SGMII, and XAUI (10Gb) Ethernet on P4080DS.

The board supports add-on cards for SGMII and XAUI functionality.  Which
slots on the board these cards are in is a function of the SERDES option
selected and muxes on the board.

Additionally because of the high-configurablity which MDIO bus one is
connected to is "selected" via an FPGA register.  We create dummy MDIO
bus for the phy layer and hide the mux manipulation in this dummy layer.

Add fman fdt helper function in board common code it'll be used by several
freescale boards that do various muxing of the MDIO signals based on which
controller/interface one is trying to talk to.

Removed CONFIG_SYS_FMAN_FW as its not used anywhere.

Signed-off-by: Mingkai Hu <Mingkai.hu@freescale.com>
Signed-off-by: Andy Fleming <afleming@freescale.com>
Signed-off-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
board/freescale/common/Makefile
board/freescale/common/fman.c [new file with mode: 0644]
board/freescale/common/fman.h [new file with mode: 0644]
board/freescale/corenet_ds/Makefile
board/freescale/corenet_ds/corenet_ds.c
board/freescale/corenet_ds/corenet_ds.h [new file with mode: 0644]
board/freescale/corenet_ds/eth_p4080.c [new file with mode: 0644]
include/configs/corenet_ds.h