u-boot-brain/board/freescale/corenet_ds
Timur Tabi cba4614862 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>
2011-09-29 19:01:05 -05:00
..
corenet_ds.c powerpc/85xx: Add FMan ethernet support to P4080DS 2011-09-29 19:01:05 -05:00
corenet_ds.h powerpc/85xx: Add FMan ethernet support to P4080DS 2011-09-29 19:01:05 -05:00
ddr.c MPC8xxx: drop redundant boot messages 2011-07-29 08:53:39 -05:00
eth_hydra.c powerpc/hydra: Add ethernet support on P5020/P3041 DS boards 2011-09-29 19:01:05 -05:00
eth_p4080.c powerpc/85xx: Add FMan ethernet support to P4080DS 2011-09-29 19:01:05 -05:00
law.c powerpc/85xx: Adding configuration for DCSRCR to enable 32M access 2011-07-29 08:53:37 -05:00
Makefile powerpc/hydra: Add ethernet support on P5020/P3041 DS boards 2011-09-29 19:01:05 -05:00
p3041ds_ddr.c powerpc: Add P3041DS/P5020DS board support (uses corenet_ds code) 2011-04-27 22:29:04 -05:00
p4080ds_ddr.c powerpc/85xx: Update fixed DDR3 timing table for P4080DS 2011-04-04 09:24:41 -05:00
p5020ds_ddr.c powerpc: Add P3041DS/P5020DS board support (uses corenet_ds code) 2011-04-27 22:29:04 -05:00
pci.c powerpc/85xx: Rework corenet_ds pci_init_board to use common FSL PCIe code 2011-01-14 01:32:21 -06:00
tlb.c powerpc/85xx: corenet_ds - Remove unused 'execute' perm in TLB entries 2011-09-29 19:01:05 -05:00