mirror of
https://xff.cz/git/u-boot/
synced 2025-09-02 09:12:08 +02:00
phy: atheros: set auto-negotiation for AR8021
Signed-off-by: Zhao Qiang <qiang.zhao@nxp.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com>
This commit is contained in:
committed by
Joe Hershberger
parent
dcd18eaf61
commit
1e2d2597a6
@@ -19,6 +19,7 @@
|
|||||||
|
|
||||||
static int ar8021_config(struct phy_device *phydev)
|
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, 0x1d, 0x05);
|
||||||
phy_write(phydev, MDIO_DEVAD_NONE, 0x1e, 0x3D47);
|
phy_write(phydev, MDIO_DEVAD_NONE, 0x1e, 0x3D47);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user