diff options
author | Ash Benz <ash.benz@bk.ru> | 2016-05-27 22:26:41 +0800 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2016-05-27 15:50:17 +0200 |
commit | 98b50f0beff0c6f7691a0433fc43b959b56f9a4f (patch) | |
tree | 6312b6fba01ea3f2ff08acb661da5120b524336e /target/linux | |
parent | ef02e8967cac02ebec78fadd063b367e67f8fbc6 (diff) | |
download | mtk-20170518-98b50f0beff0c6f7691a0433fc43b959b56f9a4f.zip mtk-20170518-98b50f0beff0c6f7691a0433fc43b959b56f9a4f.tar.gz mtk-20170518-98b50f0beff0c6f7691a0433fc43b959b56f9a4f.tar.bz2 |
ipq806x/base-files: Add Archer C2600 LEDs and board
Signed-off-by: Ash Benz <ash.benz@bk.ru>
Diffstat (limited to 'target/linux')
-rwxr-xr-x | target/linux/ipq806x/base-files/etc/board.d/01_leds | 7 | ||||
-rwxr-xr-x | target/linux/ipq806x/base-files/etc/board.d/02_network | 1 |
2 files changed, 8 insertions, 0 deletions
diff --git a/target/linux/ipq806x/base-files/etc/board.d/01_leds b/target/linux/ipq806x/base-files/etc/board.d/01_leds index b32c1cc..392dc8b 100755 --- a/target/linux/ipq806x/base-files/etc/board.d/01_leds +++ b/target/linux/ipq806x/base-files/etc/board.d/01_leds @@ -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" diff --git a/target/linux/ipq806x/base-files/etc/board.d/02_network b/target/linux/ipq806x/base-files/etc/board.d/02_network index 6e18297..e3c9137 100755 --- a/target/linux/ipq806x/base-files/etc/board.d/02_network +++ b/target/linux/ipq806x/base-files/etc/board.d/02_network @@ -13,6 +13,7 @@ board=$(ipq806x_board_name) case "$board" in ap148 |\ +c2600 |\ d7800 |\ r7500) ucidef_add_switch "switch0" \ |