From: David Bauer Date: Sun, 23 Feb 2020 11:50:30 +0000 (+0100) Subject: ath79: fix TP-Link TL-WA901ND v2 PHY stuck in reset X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=55c153538d894f6fe71404fa3b73cb52ad946d63;p=openwrt%2Fstaging%2Frobimarko.git 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 --- 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 e55affdf20..6542ce9e4d 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>; }; };