public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Andre Schwarz <andre.schwarz@matrix-vision.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] MPC8377: SerDes config
Date: Fri, 05 Nov 2010 17:52:45 +0100	[thread overview]
Message-ID: <4CD4365D.8080904@matrix-vision.de> (raw)

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

                 reply	other threads:[~2010-11-05 16:52 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4CD4365D.8080904@matrix-vision.de \
    --to=andre.schwarz@matrix-vision.de \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox