u-boot/board/freescale
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
..
common powerpc/85xx: Add FMan ethernet support to P4080DS 2011-09-29 19:01:05 -05:00
corenet_ds powerpc/hydra: Add ethernet support on P5020/P3041 DS boards 2011-09-29 19:01:05 -05:00
m547xevb ColdFire: Cleanup for partial linking and --gc-sections 2011-09-04 22:46:55 +08:00
m548xevb ColdFire: Cleanup for partial linking and --gc-sections 2011-09-04 22:46:55 +08:00
m5208evbe ColdFire: Cleanup for partial linking and --gc-sections 2011-09-04 22:46:55 +08:00
m5235evb rename _end to __bss_end__ 2011-03-27 19:18:37 +02:00
m5249evb rename _end to __bss_end__ 2011-03-27 19:18:37 +02:00
m5253demo ColdFire:Add mb for 5253 dram initialization 2011-09-04 22:46:55 +08:00
m5253evbe rename _end to __bss_end__ 2011-03-27 19:18:37 +02:00
m5271evb rename _end to __bss_end__ 2011-03-27 19:18:37 +02:00
m5272c3 rename _end to __bss_end__ 2011-03-27 19:18:37 +02:00
m5275evb rename _end to __bss_end__ 2011-03-27 19:18:37 +02:00
m5282evb rename _end to __bss_end__ 2011-03-27 19:18:37 +02:00
m5329evb ColdFire: Cleanup for partial linking and --gc-sections 2011-09-04 22:46:55 +08:00
m5373evb ColdFire: Cleanup for partial linking and --gc-sections 2011-09-04 22:46:55 +08:00
m52277evb ColdFire: Cleanup for partial linking and --gc-sections 2011-09-04 22:46:55 +08:00
m53017evb ColdFire: Cleanup for partial linking and --gc-sections 2011-09-04 22:46:55 +08:00
m54451evb ColdFire: Cleanup for partial linking and --gc-sections 2011-09-04 22:46:55 +08:00
m54455evb ColdFire: Cleanup for partial linking and --gc-sections 2011-09-04 22:46:55 +08:00
mpc832xemds Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
mpc837xemds fsl: Change fsl_phy_enet_if to phy_interface_t 2011-04-20 15:09:35 -05:00
mpc837xerdb Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
mpc5121ads Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
mpc7448hpc2 74xx_7xx: Cleanup for partial linking and --gc-sections 2010-11-27 23:35:12 +01:00
mpc8260ads miiphy: convert to linux/mii.h 2011-01-09 18:06:50 +01:00
mpc8266ads cleanup: Fix typos and misspellings in various files. 2011-07-28 21:27:36 +02:00
mpc8308rdb Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
mpc8313erdb Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
mpc8315erdb Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
mpc8323erdb powerpc/83xx: remove empty board_early_init_f() 2011-07-06 19:09:28 -05:00
mpc8349emds Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
mpc8349itx Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
mpc8360emds fsl: Change fsl_phy_enet_if to phy_interface_t 2011-04-20 15:09:35 -05:00
mpc8360erdk powerpc/83xx: remove empty board_early_init_f() 2011-07-06 19:09:28 -05:00
mpc8536ds tsec: Convert tsec to use PHY Lib 2011-04-20 15:09:34 -05:00
mpc8540ads powerpc/8xxx: Refactor fsl_ddr_get_spd into common code from board 2011-04-04 09:24:41 -05:00
mpc8541cds powerpc/8xxx: Refactor fsl_ddr_get_spd into common code from board 2011-04-04 09:24:41 -05:00
mpc8544ds tsec: Convert tsec to use PHY Lib 2011-04-20 15:09:34 -05:00
mpc8548cds powerpc/mpc8548cds: Cleanup mpc8548cds.c 2011-09-29 19:01:05 -05:00
mpc8555cds powerpc/8xxx: Refactor fsl_ddr_get_spd into common code from board 2011-04-04 09:24:41 -05:00
mpc8560ads powerpc/8xxx: Refactor fsl_ddr_get_spd into common code from board 2011-04-04 09:24:41 -05:00
mpc8568mds powerpc/mpc8568mds: set pci1_hose.config_table after fsl_setup_hose 2011-09-09 08:58:10 -05:00
mpc8569mds fsl: Change fsl_phy_enet_if to phy_interface_t 2011-04-20 15:09:35 -05:00
mpc8572ds powerpc/mpc85xx: Display a warning for unsupported DDR data rates 2011-07-11 13:24:20 -05:00
mpc8610hpcd powerpc/mpc8610hpcd: set pci1_hose.config_table after fsl_setup_hose 2011-09-09 08:58:11 -05:00
mpc8641hpcn MPC8xxx: drop redundant boot messages 2011-07-29 08:53:39 -05:00
mx31ads Remove volatile qualifier in get_ram_size() calls 2011-07-17 17:11:53 +02:00
mx31pdk Remove volatile qualifier in get_ram_size() calls 2011-07-17 17:11:53 +02:00
mx35pdk Makefile : fix generation of cpu related asm-offsets.h 2011-09-07 21:41:27 +02:00
mx51evk MX5: mx51evk: make use of GPIO framework 2011-09-04 11:36:12 +02:00
mx53ard MX5: mx53ard: make use of GPIO framework 2011-09-04 11:36:12 +02:00
mx53evk MX5: mx53evk: make use of GPIO framework 2011-09-04 11:36:12 +02:00
mx53loco MX5: mx53loco: make use of GPIO framework 2011-09-04 11:36:12 +02:00
mx53smd MX5: mx53smd: make use of GPIO framework 2011-09-04 11:36:12 +02:00
p1_p2_rdb qoriq/p1_p2_rdb: USB device-tree fixups for P1020 2011-07-11 13:24:20 -05:00
p1_p2_rdb_pc powerpc/85xx: Add support for new P102x/P2020 RDB style boards 2011-09-29 19:01:04 -05:00
p1010rdb powerpc/85xx: Add basic support for P1010RDB 2011-09-29 19:01:04 -05:00
p1022ds video: Add SHARP LQ084S3LG01 LCD support on P1022DS 2011-08-04 22:55:33 +02:00
p1023rds powerpc/85xx: Add basic support for P1023RDS board 2011-07-11 13:24:20 -05:00
p2020ds powerpc/mpc85xx: Display a warning for unsupported DDR data rates 2011-07-11 13:24:20 -05:00
p2041rdb MPC8xxx: drop redundant boot messages 2011-07-29 08:53:39 -05:00