From: Alison Wang Date: Tue, 11 Apr 2017 07:02:13 +0000 (+0800) Subject: arm: ls1021atwr: Enable RGMII TX/RX clock internal delay for AR8033 X-Git-Tag: v2017.05-rc3~56^2~9 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=5d267ec67901d9e5fd6e535eec84bd9176501403;p=oweals%2Fu-boot.git arm: ls1021atwr: Enable RGMII TX/RX clock internal delay for AR8033 Since commit ce412b7, RGMII TX clock internal delay is not enabled for AR8033 unconditionally. On LS1021ATWR board, the third port eTSEC3 uses AR8033 in RGMII mode. The TX/RX internal delay needs to be enabled. This patch will set PHY_INTERFACE_MODE_RGMII_ID to enable RGMII TX/RX clock internal delay for AR8033 on the third port. Signed-off-by: Alison Wang Reviewed-by: York Sun --- diff --git a/board/freescale/ls1021atwr/ls1021atwr.c b/board/freescale/ls1021atwr/ls1021atwr.c index d96fd774d3..ff32d5cb28 100644 --- a/board/freescale/ls1021atwr/ls1021atwr.c +++ b/board/freescale/ls1021atwr/ls1021atwr.c @@ -273,6 +273,7 @@ int board_eth_init(bd_t *bis) #endif #ifdef CONFIG_TSEC3 SET_STD_TSEC_INFO(tsec_info[num], 3); + tsec_info[num].interface = PHY_INTERFACE_MODE_RGMII_ID; num++; #endif if (!num) {