[U-Boot] [PATCH] phy: atheros: set auto-negotiation for AR8021

Zhao Qiang qiang.zhao at nxp.com
Thu Dec 14 01:50:46 UTC 2017


Signed-off-by: Zhao Qiang <qiang.zhao at nxp.com>
---
 drivers/net/phy/atheros.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/net/phy/atheros.c b/drivers/net/phy/atheros.c
index b34cdd3d87..d7e76deeb7 100644
--- a/drivers/net/phy/atheros.c
+++ b/drivers/net/phy/atheros.c
@@ -19,6 +19,7 @@
 
 static int ar8021_config(struct phy_device *phydev)
 {
+	phy_write(phydev, MDIO_DEVAD_NONE, 0x00, 0x1200);
 	phy_write(phydev, MDIO_DEVAD_NONE, 0x1d, 0x05);
 	phy_write(phydev, MDIO_DEVAD_NONE, 0x1e, 0x3D47);
 
-- 
2.14.1



More information about the U-Boot mailing list