aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorDavid Bauer <mail@david-bauer.net>2020-02-23 12:50:30 +0100
committerDavid Bauer <mail@david-bauer.net>2020-02-23 16:17:59 +0100
commit55c153538d894f6fe71404fa3b73cb52ad946d63 (patch)
tree073aa6e5cf1a5746a2f2ccd4b6f14f35a5bdc522 /target/linux
parent33c1d5eee48d98afc0f31a72d50df31f496a6166 (diff)
downloadupstream-55c153538d894f6fe71404fa3b73cb52ad946d63.tar.gz
upstream-55c153538d894f6fe71404fa3b73cb52ad946d63.tar.bz2
upstream-55c153538d894f6fe71404fa3b73cb52ad946d63.zip
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 <mail@david-bauer.net>
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/ath79/dts/ar9132_tplink_tl-wa901nd-v2.dts6
1 files changed, 6 insertions, 0 deletions
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>;
};
};