aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2016-03-23 12:52:35 +0000
committerJohn Crispin <john@openwrt.org>2016-03-23 12:52:35 +0000
commit5b2d89f060a7346a6d20a514b6ec3f31f73adf01 (patch)
treec82ad4bf18584f782a1ef5f7d35239be119b3e13 /target/linux/ar71xx/base-files
parent9213fefb4dafe08b6b3e4f341581d18d520f7228 (diff)
downloadupstream-5b2d89f060a7346a6d20a514b6ec3f31f73adf01.tar.gz
upstream-5b2d89f060a7346a6d20a514b6ec3f31f73adf01.tar.bz2
upstream-5b2d89f060a7346a6d20a514b6ec3f31f73adf01.zip
ar71xx: WNR1000v2: enable control of all LEDs and buttons
This patch provides full GPIO support for WNR1000v2 (LEDs and buttons). It exposes all LEDs to operating system, including Ethernet ones. Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl> SVN-Revision: 49076
Diffstat (limited to 'target/linux/ar71xx/base-files')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/board.d/01_leds1
1 files changed, 1 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/etc/board.d/01_leds b/target/linux/ar71xx/base-files/etc/board.d/01_leds
index cfe5f1d739..453704654b 100755
--- a/target/linux/ar71xx/base-files/etc/board.d/01_leds
+++ b/target/linux/ar71xx/base-files/etc/board.d/01_leds
@@ -686,6 +686,7 @@ wlae-ag300n)
ucidef_set_led_netdev "wireless" "WIRELESS" "buffalo:green:wireless" "wlan0"
;;
+wnr1000-v2 |\
wnr2000-v3)
ucidef_set_led_netdev "wan-amber" "WAN (amber)" "netgear:amber:wan" "eth0"
ucidef_set_led_default "wan-green" "WAN (green)" "netgear:green:wan" "0"