From 55c153538d894f6fe71404fa3b73cb52ad946d63 Mon Sep 17 00:00:00 2001 From: David Bauer Date: Sun, 23 Feb 2020 12:50:30 +0100 Subject: [PATCH] ath79: fix TP-Link TL-WA901ND v2 PHY stuck in reset Some newer bootloaders for the TP-Link TL-WA901ND put the ethernet PHY in reset before loading the kernel, thus the LAN interface is not working in OpenWrt. Clear the reset to restore ethernet functionality. Signed-off-by: David Bauer --- target/linux/ath79/dts/ar9132_tplink_tl-wa901nd-v2.dts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/target/linux/ath79/dts/ar9132_tplink_tl-wa901nd-v2.dts b/target/linux/ath79/dts/ar9132_tplink_tl-wa901nd-v2.dts index e55affdf203..6542ce9e4df 100644 --- a/target/linux/ath79/dts/ar9132_tplink_tl-wa901nd-v2.dts +++ b/target/linux/ath79/dts/ar9132_tplink_tl-wa901nd-v2.dts @@ -113,6 +113,12 @@ phy12: ethernet-phy@c { reg = <0xc>; phy-mode = "mii"; + + resets = <&rst 8>; + reset-names = "phy"; + + reset-assert-us = <10000>; + reset-deassert-us = <10000>; }; };