From mboxrd@z Thu Jan 1 00:00:00 1970 From: York Sun Date: Tue, 25 Nov 2014 09:44:46 -0800 Subject: [U-Boot] [PATCH 2/2][v2] powerpc/t2080qds: fix for 1000BASE-KX In-Reply-To: <1413805881-14353-1-git-send-email-shh.xie@gmail.com> References: <1413805881-14353-1-git-send-email-shh.xie@gmail.com> Message-ID: <5474C00E.8060301@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 10/20/2014 04:51 AM, shh.xie at gmail.com wrote: > From: Shaohui Xie > > 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 > --- > 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