ipq806x/base-files: Add Archer C2600 LEDs and board
authorAsh Benz <ash.benz@bk.ru>
Fri, 27 May 2016 14:26:41 +0000 (22:26 +0800)
committerJohn Crispin <john@phrozen.org>
Fri, 27 May 2016 13:50:17 +0000 (15:50 +0200)
Signed-off-by: Ash Benz <ash.benz@bk.ru>
target/linux/ipq806x/base-files/etc/board.d/01_leds
target/linux/ipq806x/base-files/etc/board.d/02_network

index b32c1cc21d23b1763f577be97ac952dfe9b7007d..392dc8b5e7d8cb428a2a91b250d9c549f8d3615b 100755 (executable)
@@ -11,6 +11,13 @@ board_config_update
 board=$(ipq806x_board_name)
 
 case "$board" in
+c2600)
+       ucidef_set_led_usbdev "usb1" "USB 1" "usb_2:blue" "2-1"
+       ucidef_set_led_usbdev "usb2" "USB 2" "usb_4:blue" "4-1"
+       ucidef_set_led_netdev "wan" "WAN" "wan:blue" "eth0"
+       ucidef_set_led_netdev "lan" "LAN" "lan:blue" "br-lan"
+       ucidef_set_led_default "general" "general" "ledgnr:blue" "1"
+       ;;
 d7800 |\
 r7500)
        ucidef_set_led_usbdev "usb1" "USB 1" "r7500:white:usb1" "1-1"
index 6e18297e99607fc6d3db6c2c5b5b5c470b62d646..e3c9137a5a2d6e88e27448ca519227b98ba20bff 100755 (executable)
@@ -13,6 +13,7 @@ board=$(ipq806x_board_name)
 
 case "$board" in
 ap148 |\
+c2600 |\
 d7800 |\
 r7500)
        ucidef_add_switch "switch0" \