
On 07/25/2014 04:07 AM, shh.xie@gmail.com wrote:
From: Shaohui Xie Shaohui.Xie@freescale.com
1000BASE-KX(1GKX) uses same SGMII interface but the serdes lane run in 1GKX mode. By default, the lane runs in SGMII mode, when a MAC runs in 1GKX mode, the corresponding lane mode needs to be set accordingly. DTB needs the fixup for kernel to do proper initialization.
hwconfig "fsl_1gkx" is used to indicate a MAC runs in 1GKX mode, MAC 1/2/5/6/9/10 are available for 1GKX, MAC 3/4 run in RGMII mode. To set a MAC runs in 1GKX mode, set its' corresponding env in "fsl_1gkx", 'fm1_1g1' stands for MAC 1, 'fm1_1g2' stands for MAC 2, etc.
If all MAC 1/2/5/6/9/10 run in 1GKX mode, the hwconfig should has below setting:
fsl_1gkx:fm1_1g1,fm1_1g2,fm1_1g5,fm1_1g6,fm1_1g9,fm1_1g10
Same suggestion here. I would like to see this useful information in a README file. You can add more examples.
York