summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorTimur Tabi <timur@freescale.com>2010-10-20 15:44:17 -0500
committerKumar Gala <galak@kernel.crashing.org>2011-09-29 19:01:05 -0500
commitcba4614862c15b2199f412520de1994da33c013c (patch)
tree512d0589ded1c5e51370cdfcc7d06602f5f6a95e /include/linux
parent2915609a91bac614d1fe881f928359028cd47e0f (diff)
downloadu-boot-imx-cba4614862c15b2199f412520de1994da33c013c.zip
u-boot-imx-cba4614862c15b2199f412520de1994da33c013c.tar.gz
u-boot-imx-cba4614862c15b2199f412520de1994da33c013c.tar.bz2
powerpc/hydra: Add ethernet support on P5020/P3041 DS boards
Add support for RGMII, SGMII, and XAUI (10Gb) Ethernet on P3041DS & P5020DS ("Hydra"). The lane_to_slot[] array is initialized dynamically, since board switches can be used to control the muxing of SERDES lanes to slots. The BRDCFG1 PIXIS register is used to route the MII bus to the appropriate slot. The SERDES configuration is queried to help determine the routing between MACs and slot/phy combination. If a XAUI card is inserted, muxing for that card is enabled and never turned off. The PHY address for the 10G XAUI card depends on the slot in which it's inserted. If it's in slot 1, the address is 4. If it's in slot 2, the address is 0. Update the MDIO routing in the P3041DS and P5020DS device trees based on the board-level muxing. The SERDES configuration determines which SGMII/XGMII boards are located in which slots, and so the MDIO bus needs to be muxed correctly whenever talking to a PHY connected to any Fman MAC. The Fman Ethernet nodes in the device tree also need to be routed to the correct PHYs. Removed CONFIG_SYS_FMAN_FW as its not used anywhere. Signed-off-by: Ioana Radulescu <ruxandra.radulescu@freescale.com> Signed-off-by: Timur Tabi <timur@freescale.com> Signed-off-by: Andy Fleming <afleming@freescale.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions