diff options
author | Zhao Qiang <qiang.zhao@nxp.com> | 2017-12-13 09:36:24 (GMT) |
---|---|---|
committer | Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com> | 2018-01-10 03:31:40 (GMT) |
commit | e2033e9ab973b07f3048abc7549b580832422913 (patch) | |
tree | 7f49566c8901e592775d530f46ad43c94843b0a6 | |
parent | 704ff63c118abdac109744da559ae71a40c31278 (diff) | |
download | u-boot-e2033e9ab973b07f3048abc7549b580832422913.tar.xz |
phy: atheros: set auto-negotiation for AR8021
Signed-off-by: Zhao Qiang <qiang.zhao@nxp.com>
-rw-r--r-- | drivers/net/phy/atheros.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/phy/atheros.c b/drivers/net/phy/atheros.c index b34cdd3..d7e76de 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); |