2
0
forked from Ivasoft/openwrt

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
This commit is contained in:
John Crispin
2016-03-23 12:52:35 +00:00
parent 9213fefb4d
commit 5b2d89f060
2 changed files with 129 additions and 6 deletions

View File

@@ -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"