[LEDE-DEV] [PATCH] lantiq: disable phy led complex (test) functions by default

Mathias Kresin dev at kresin.me
Sat May 21 03:09:36 PDT 2016


They can be added using the phy led device tree bindings if required.

Signed-off-by: Mathias Kresin <dev at kresin.me>
---
 .../patches-4.4/0023-NET-PHY-adds-driver-for-lantiq-PHY11G.patch      | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/target/linux/lantiq/patches-4.4/0023-NET-PHY-adds-driver-for-lantiq-PHY11G.patch b/target/linux/lantiq/patches-4.4/0023-NET-PHY-adds-driver-for-lantiq-PHY11G.patch
index 93bb427..3af6762 100644
--- a/target/linux/lantiq/patches-4.4/0023-NET-PHY-adds-driver-for-lantiq-PHY11G.patch
+++ b/target/linux/lantiq/patches-4.4/0023-NET-PHY-adds-driver-for-lantiq-PHY11G.patch
@@ -163,8 +163,8 @@ Signed-off-by: John Crispin <blogic at 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);
-- 
1.9.1




More information about the Lede-dev mailing list