]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
powerpc/t2080qds: fixup dtb for 10g-kr
authorshaohui xie <shaohui.xie@freescale.com>
Mon, 20 Oct 2014 11:48:19 +0000 (19:48 +0800)
committerYork Sun <yorksun@freescale.com>
Wed, 19 Nov 2014 18:32:03 +0000 (10:32 -0800)
commitf0644da50ebbfb371f859ef0b247db3a1a23667c
tree73be89910e12d47050db82c8147dd4a161054dc3
parent6c3c575008586d1600ccd8595e5558b70e1b219b
powerpc/t2080qds: fixup dtb for 10g-kr

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 <Shaohui.Xie@freescale.com>
Reviewed-by: York Sun <yorksun@freescale.com>
board/freescale/t208xqds/README
board/freescale/t208xqds/eth_t208xqds.c