All of lore.kernel.org
 help / color / mirror / Atom feed
From: York Sun <yorksun@freescale.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 2/2][v2] powerpc/t2080qds: fix for 1000BASE-KX
Date: Tue, 25 Nov 2014 09:44:46 -0800	[thread overview]
Message-ID: <5474C00E.8060301@freescale.com> (raw)
In-Reply-To: <1413805881-14353-1-git-send-email-shh.xie@gmail.com>

On 10/20/2014 04:51 AM, shh.xie at gmail.com wrote:
> From: Shaohui Xie <Shaohui.Xie@freescale.com>
> 
> 1000BASE-KX(1G-KX) uses SGMII protocol but the serdes lane runs in 1G-KX
> mode. By default, the lane runs in SGMII mode, when a MAC uses a lane
> in 1G-KX mode, corresponding bit in PCCR1 for the lane needs to be set,
> and needs to fixup dtb accordingly for kernel to do proper initialization.
> 
> Hwconfig "fsl_1gkx" is used to indicate a MAC runs in 1G-KX mode, FM1 MAC
> 1/2/5/6/9/10 are available for 1G-KX, MAC 3/4 run in RGMII mode. To set a
> MAC runs in 1G-KX mode, set its' corresponding env in "fsl_1gkx",
> 'fm1_1g1' stands for FM1-MAC1, 'fm1_1g2' stands for FM1-MAC2, etc.
> 
> If all MAC 1/2/5/6/9/10 run in 1G-KX mode, the hwconfig should has below
> setting:
> 
> fsl_1gkx:fm1_1g1,fm1_1g2,fm1_1g5,fm1_1g6,fm1_1g9,fm1_1g10
> 
> Signed-off-by: Shaohui Xie <Shaohui.Xie@freescale.com>
> ---
> changes for V2:
> - add 1G-KX description in t208xqds README.
> - refined commit message.
>  board/freescale/t208xqds/README         | 12 +++++
>  board/freescale/t208xqds/eth_t208xqds.c | 86 +++++++++++++++++++++++++++++++++
>  2 files changed, 98 insertions(+)

Applied to u-boot-mpc85xx master. Awaiting upstream. Thanks.

York

      reply	other threads:[~2014-11-25 17:44 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-20 11:51 [U-Boot] [PATCH 2/2][v2] powerpc/t2080qds: fix for 1000BASE-KX shh.xie at gmail.com
2014-11-25 17:44 ` York Sun [this message]

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=5474C00E.8060301@freescale.com \
    --to=yorksun@freescale.com \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.