From 3f971c0dc86c820628f32fae5dd328950cd0629f Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sat, 5 Mar 2016 09:45:15 +0000 Subject: ar71xx: WNR612v2: enable control of all LEDs and buttons This patch provides full GPIO support for WNR612v2 (LEDs and buttons). It exposes all LEDs to operating system, including Ethernet ones. Signed-off-by: Michal Cieslakiewicz SVN-Revision: 48924 --- target/linux/ar71xx/base-files/etc/board.d/01_leds | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'target/linux/ar71xx/base-files/etc') 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 37ee3d32a7..6cec5dfbdd 100755 --- a/target/linux/ar71xx/base-files/etc/board.d/01_leds +++ b/target/linux/ar71xx/base-files/etc/board.d/01_leds @@ -700,6 +700,13 @@ wnr2000-v4) ucidef_set_led_usbdev "usb" "USB" "netgear:amber:status" "1-1" ;; +wnr612-v2) + ucidef_set_led_netdev "wan" "WAN" "netgear:green:wan" "eth0" + ucidef_set_led_netdev "wlan" "WLAN" "netgear:green:wlan" "wlan0" + ucidef_set_led_switch "lan1" "LAN1" "netgear:green:lan1" "switch0" "0x02" "0x0f" + ucidef_set_led_switch "lan2" "LAN2" "netgear:green:lan2" "switch0" "0x04" "0x0f" + ;; + wpn824n) ucidef_set_led_netdev "wan-amber" "WAN (amber)" "netgear:amber:wan" "eth0" ucidef_set_led_wlan "wlan" "WLAN" "netgear:blue:wlan" "phy0tpt" -- cgit v1.2.3