armv8: ls1012a: RGMII ports require internal delay

The correct setting for the RGMII ports on LS1012ARDB is to
enable delay on both Rx and Tx so the interface mode used should
be PHY_INTERFACE_MODE_RGMII_ID

Signed-off-by: Chaitanya Sakinam <chaitanya.sakinam@nxp.com>
Signed-off-by: Anji J <anji.jagarlmudi@nxp.com>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
This commit is contained in:
Chaitanya Sakinam 2020-06-09 16:21:48 +05:30 committed by Priyanka Jain
parent 3fba2311a3
commit cb1de6067a
2 changed files with 2 additions and 2 deletions

View file

@ -113,7 +113,7 @@ int pfe_eth_board_init(struct udevice *dev)
/* MAC2 */
pfe_set_phy_address_mode(priv->gemac_port,
CONFIG_PFE_EMAC2_PHY_ADDR,
PHY_INTERFACE_MODE_RGMII_TXID);
PHY_INTERFACE_MODE_RGMII_ID);
}
break;
case 0x2208:

View file

@ -33,7 +33,7 @@ struct gemac_s gem_info[] = {
/* phy iface */
.phy_address = CONFIG_PFE_EMAC2_PHY_ADDR,
.phy_mode = PHY_INTERFACE_MODE_RGMII_TXID,
.phy_mode = PHY_INTERFACE_MODE_RGMII_ID,
},
};