lantiq: disable phy led complex (test) functions by default
authorMathias Kresin <dev@kresin.me>
Sat, 21 May 2016 10:09:36 +0000 (12:09 +0200)
committerJohn Crispin <john@phrozen.org>
Mon, 23 May 2016 09:03:23 +0000 (11:03 +0200)
They can be added using the phy led device tree bindings if required.

Signed-off-by: Mathias Kresin <dev@kresin.me>
target/linux/lantiq/patches-4.4/0023-NET-PHY-adds-driver-for-lantiq-PHY11G.patch

index 93bb4275ec1d261f398afb8fdc879c1dd973f997..3af676297dc8214c0fdfeeb463eef9852f72570d 100644 (file)
@@ -163,8 +163,8 @@ Signed-off-by: John Crispin <blogic@openwrt.org>
 +      /* Clear all pending interrupts */
 +      phy_read(phydev, MII_VR9_11G_ISTAT);
 +
-+      vr9_gphy_mmd_write(phydev, 0x1e0, 0xc5);
-+      vr9_gphy_mmd_write(phydev, 0x1e1, 0x67);
++      vr9_gphy_mmd_write(phydev, 0x1e0, 0xc0);
++      vr9_gphy_mmd_write(phydev, 0x1e1, 0x00);
 +      vr9_gphy_mmd_write(phydev, 0x1e2, 0x70);
 +      vr9_gphy_mmd_write(phydev, 0x1e3, 0x03);
 +      vr9_gphy_mmd_write(phydev, 0x1e4, 0x70);