diff options
author | David Bauer <mail@david-bauer.net> | 2020-02-23 12:50:30 +0100 |
---|---|---|
committer | David Bauer <mail@david-bauer.net> | 2020-02-23 16:17:59 +0100 |
commit | 55c153538d894f6fe71404fa3b73cb52ad946d63 (patch) | |
tree | 073aa6e5cf1a5746a2f2ccd4b6f14f35a5bdc522 | |
parent | 33c1d5eee48d98afc0f31a72d50df31f496a6166 (diff) | |
download | upstream-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>
-rw-r--r-- | target/linux/ath79/dts/ar9132_tplink_tl-wa901nd-v2.dts | 6 |
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>; }; }; |