From 334bbc51987c6694e130af25876f178babf37140 Mon Sep 17 00:00:00 2001 From: Roger Pueyo Centelles Date: Thu, 4 Jul 2019 14:08:10 +0200 Subject: ath79: add support for ALFA Network AP121F This commit ports support for the ALFA Network AP121F, a pocket-size router with 1 Ethernet and 2.4 GHz WiFi based on the AR9331 SoC, to the ath79 target (it was already supported in ar71xx; see commit 0c6165d2 for more details). Signed-off-by: Roger Pueyo Centelles [pepe2k@gmail.com: fixed GPIO polarity, included USB support, changed DTS nodes order, moved WLAN LED trigger define to DTS, made U-Boot env partition writable] Signed-off-by: Piotr Dymacz --- target/linux/ath79/base-files/etc/board.d/01_leds | 3 +++ 1 file changed, 3 insertions(+) (limited to 'target/linux/ath79/base-files/etc/board.d/01_leds') diff --git a/target/linux/ath79/base-files/etc/board.d/01_leds b/target/linux/ath79/base-files/etc/board.d/01_leds index f3bf43a247..d68c1ee9ef 100755 --- a/target/linux/ath79/base-files/etc/board.d/01_leds +++ b/target/linux/ath79/base-files/etc/board.d/01_leds @@ -12,6 +12,9 @@ case "$board" in ucidef_set_led_netdev "lan" "LAN" "$boardname:orange:eth0" "eth0" ucidef_set_led_switch "wan" "WAN" "$boardname:orange:eth1" "switch0" "0x04" ;; +alfa-network,ap121f) + ucidef_set_led_netdev "lan" "LAN" "$boardname:green:lan" "eth0" + ;; avm,fritz300e) ucidef_set_led_netdev "lan" "LAN" "$boardname:green:lan" "eth0" ucidef_set_rssimon "wlan0" "200000" "1" -- cgit v1.2.3