From mboxrd@z Thu Jan 1 00:00:00 1970 From: York Sun Date: Tue, 25 Nov 2014 09:44:03 -0800 Subject: [U-Boot] [PATCH 1/2][v2] powerpc/t2080qds: fixup dtb for 10g-kr In-Reply-To: <1413805699-14219-1-git-send-email-Shaohui.Xie@freescale.com> References: <1413805699-14219-1-git-send-email-Shaohui.Xie@freescale.com> Message-ID: <5474BFE3.1010704@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:48 AM, Shaohui Xie wrote: > XFI ports on t2080qds can work with fiber cable and direct attach > cable(copper). We use hwconfig to define cable type for XFI, and fixup > dtb based on the cable type. > > For copper cable, set below env in hwconfig: > > fsl_10gkr_copper:<10g_mac_name> > > the <10g_mac_name> can be fm1_10g1, fm1_10g2, fm1_10g3, fm1_10g4. > fm1_10g1 stands for FM1-MAC9, fm1_10g2 stands for FM1-MAC10, fm1_10g3 > stands for FM1-MAC1, fm1_10g4 stands for FM1-MAC2. The four > <10g_mac_name>s do not have to be coexist in hwconfig. For XFI ports, if > a given 10G port will use the copper cable for 10GBASE-KR, set the > <10g_mac_name> of the port in hwconfig, otherwise, fiber cable will be > assumed to be used for the port. > > For ex. if four XFI ports will both use copper cable, the hwconfig > should contain: > > fsl_10gkr_copper:fm1_10g1,fm1_10g2,fm1_10g3,fm1_10g4 > > Signed-off-by: Shaohui Xie > --- > changes for V2: > add XFI description in t208xqds README. > board/freescale/t208xqds/README | 23 ++++++++- > board/freescale/t208xqds/eth_t208xqds.c | 86 +++++++++++++++++++++++++++++---- > 2 files changed, 98 insertions(+), 11 deletions(-) > Applied to u-boot-mpc85xx master. Awaiting upstream. Thanks. York