summaryrefslogtreecommitdiff
path: root/target/linux/ramips/base-files/etc/uci-defaults/01_leds
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2013-04-25 19:02:53 +0000
committerJohn Crispin <john@openwrt.org>2013-04-25 19:02:53 +0000
commit7bfab6e308a54d4fc2b99d9f80b4a4cd735de5b1 (patch)
tree06893d1710354402f866b6c875f85bbdb93b8793 /target/linux/ramips/base-files/etc/uci-defaults/01_leds
parentc7216d0cab295b2bf18f63b7b05d202bb5d68ee6 (diff)
downloadmtk-20170518-7bfab6e308a54d4fc2b99d9f80b4a4cd735de5b1.zip
mtk-20170518-7bfab6e308a54d4fc2b99d9f80b4a4cd735de5b1.tar.gz
mtk-20170518-7bfab6e308a54d4fc2b99d9f80b4a4cd735de5b1.tar.bz2
ramips: Add Alpha ASL-26555 support.
This board uses a TrendChip SOC with its own RAM/Flash for ADSL support. We know both SOCs are connected through ethernet and use some kind of protocol for UART communication, but due to the lack of GPL sources we couldn't get it to work. For this reason the network is configured only for LAN. There are two versions (Chile 8MB and Spain 16MB). Wiki: http://wiki.openwrt.org/toh/alpha/asl26555 Signed-off-by: Esteban Benito <estebanjbs@gmail.com> Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Patchwork: http://patchwork.openwrt.org/patch/3571/ Acked-by: John Crispin <blogic@openwrt.org> SVN-Revision: 36433
Diffstat (limited to 'target/linux/ramips/base-files/etc/uci-defaults/01_leds')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/uci-defaults/01_leds6
1 files changed, 6 insertions, 0 deletions
diff --git a/target/linux/ramips/base-files/etc/uci-defaults/01_leds b/target/linux/ramips/base-files/etc/uci-defaults/01_leds
index cfe5c62..ec03188 100755
--- a/target/linux/ramips/base-files/etc/uci-defaults/01_leds
+++ b/target/linux/ramips/base-files/etc/uci-defaults/01_leds
@@ -35,6 +35,12 @@ case $board in
ucidef_set_led_rssi "rssihigh" "RSSIHIGH" "all0256n:green:rssihigh" "wlan0" "70" "100" "-69" "8"
set_wifi_led "rt2800pci-phy0::radio"
;;
+ asl26555)
+ ucidef_set_led_default "power" "POWER" "asl26555:green:power" "1"
+ ucidef_set_led_netdev "eth" "ETH" "asl26555:green:eth" "eth0"
+ set_wifi_led "asl26555:green:wlan"
+ set_usb_led "asl26555:green:3g"
+ ;;
bc2)
set_usb_led "bc2:blue:usb"
;;