public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] MPC8377: SerDes config
@ 2010-11-05 16:52 Andre Schwarz
  0 siblings, 0 replies; only message in thread
From: Andre Schwarz @ 2010-11-05 16:52 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-11-05 16:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-05 16:52 [U-Boot] MPC8377: SerDes config Andre Schwarz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox