Skip to content
Snippets Groups Projects
Commit 5d267ec6 authored by Alison Wang's avatar Alison Wang Committed by York Sun
Browse files

arm: ls1021atwr: Enable RGMII TX/RX clock internal delay for AR8033


Since commit ce412b79, 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: default avatarAlison Wang <alison.wang@nxp.com>
Reviewed-by: default avatarYork Sun <york.sun@nxp.com>
parent 3c476d84
No related branches found
No related tags found
No related merge requests found
......@@ -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) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment