Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ath79: add support for TP-Link TL-WA901ND v3
This ports support for the TL-WA901ND v3 from ar71xx to ath79. Most of the hardware is shared with the TL-WA850/860RE v1 range extenders. It completes the TL-WA901ND series in ath79. Specifications: Board: AP123 / AR9341 Flash/RAM: 4/32 MiB CPU: 535 MHz WiFi: 2.4 GHz b/g/n Ethernet: 1 port (100M) Flashing instructions: Upload the factory image via the vendor firmware upgrade option. This has not been tested on device, but port from ar71xx is straightforward and the device will be disabled by default anyway. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
- Loading branch information
Showing
4 changed files
with
64 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT | ||
/dts-v1/; | ||
|
||
#include "ar9341_tplink_tl-wa.dtsi" | ||
|
||
/ { | ||
model = "TP-Link TL-WA901ND v3"; | ||
compatible = "tplink,tl-wa901nd-v3", "qca,ar9341"; | ||
|
||
aliases { | ||
led-boot = &led_system; | ||
led-failsafe = &led_system; | ||
led-running = &led_system; | ||
led-upgrade = &led_system; | ||
}; | ||
|
||
keys { | ||
compatible = "gpio-keys"; | ||
|
||
reset { | ||
label = "Reset"; | ||
linux,code = <KEY_RESTART>; | ||
gpios = <&gpio 17 GPIO_ACTIVE_LOW>; | ||
debounce-interval = <60>; | ||
}; | ||
}; | ||
|
||
leds { | ||
compatible = "gpio-leds"; | ||
|
||
lan { | ||
label = "tp-link:green:lan"; | ||
gpios = <&gpio 18 GPIO_ACTIVE_LOW>; | ||
}; | ||
|
||
wlan { | ||
label = "tp-link:green:wlan"; | ||
gpios = <&gpio 13 GPIO_ACTIVE_LOW>; | ||
linux,default-trigger = "phy0tpt"; | ||
}; | ||
|
||
qss { | ||
label = "tp-link:green:qss"; | ||
gpios = <&gpio 15 GPIO_ACTIVE_LOW>; | ||
}; | ||
|
||
led_system: system { | ||
label = "tp-link:green:system"; | ||
gpios = <&gpio 14 GPIO_ACTIVE_LOW>; | ||
}; | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters