[U-Boot] MPC8377: SerDes config
Andre Schwarz
andre.schwarz at matrix-vision.de
Fri Nov 5 17:52:45 CET 2010
All,
I'm a little confused how to setup SerDes properly on MPC8377, i.e.
which function uses which port ...
I'd expect the following :
- SATA Ports 1+2 used on SerDes 1
- PCIe Ports 3+4 (2 times x1) on SerDes 2
This is what I've done :
CONFIG_SYS_SCCR_PCIEXP1CM = 0 (disabled)
CONFIG_SYS_SCCR_PCIEXP2CM = 2
CONFIG_SYS_SCCR_SATACM = 0xA0 (Port 1+2 used / 3+4 disabled)
Still both SerDes are active :
#define CONFIG_FSL_SERDES
#define CONFIG_FSL_SERDES1 0xe3000
#define CONFIG_FSL_SERDES2 0xe3100
PCIe only gets one LAW @ CONFIG_SYS_PCIE2_BASE
Board init code calls
fsl_setup_serdes(CONFIG_FSL_SERDES1, FSL_SERDES_PROTO_SATA,
FSL_SERDES_CLK_100, FSL_SERDES_VDD_1V);
fsl_setup_serdes(CONFIG_FSL_SERDES2, FSL_SERDES_PROTO_PEX,
FSL_SERDES_CLK_100, FSL_SERDES_VDD_1V)
Is this supposed to be correct or have I swapped something ?
Is it save to disable PEX-1 ?
--
Regards,
Andre
MATRIX VISION GmbH, Talstrasse 16, DE-71570 Oppenweiler
Registergericht: Amtsgericht Stuttgart, HRB 271090
Geschaeftsfuehrer: Gerhard Thullner, Werner Armingeon, Uwe Furtner
More information about the U-Boot
mailing list