aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/etc/board.d/01_leds
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2015-06-18 20:24:05 +0000
committerJohn Crispin <blogic@openwrt.org>2015-06-18 20:24:05 +0000
commit33343146d54a76b20b2fad8a77ad0738ab355b27 (patch)
treede1d0678530013a49b075be8f2bc855a3e648a0d /target/linux/ramips/base-files/etc/board.d/01_leds
parent48a944c9cb79c4819a9a54b4ba6d172f91f9ef27 (diff)
downloadupstream-33343146d54a76b20b2fad8a77ad0738ab355b27.tar.gz
upstream-33343146d54a76b20b2fad8a77ad0738ab355b27.tar.bz2
upstream-33343146d54a76b20b2fad8a77ad0738ab355b27.zip
ramips: add support for PandoraBox PBR-M1
This patch is for PandoraBox PBR-M1 which is based on mt7621, all the features work fine, including rtc, leds, button, usb3.0, etc. Signed-off-by: tymon <banglang.huang@foxmail.com> Backport of r46041 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46051 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips/base-files/etc/board.d/01_leds')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/board.d/01_leds5
1 files changed, 5 insertions, 0 deletions
diff --git a/target/linux/ramips/base-files/etc/board.d/01_leds b/target/linux/ramips/base-files/etc/board.d/01_leds
index ad0062a56b..c63ff47585 100755
--- a/target/linux/ramips/base-files/etc/board.d/01_leds
+++ b/target/linux/ramips/base-files/etc/board.d/01_leds
@@ -175,6 +175,11 @@ case $board in
set_wifi_led "7links:orange:wifi"
set_usb_led "7links:blue:storage"
;;
+ pbr-m1)
+ ucidef_set_led_netdev "internet" "internet" "pbr-m1:green:internet" "eth0.2"
+ ucidef_set_led_default "power" "power" "pbr-m1:green:power" "1"
+ ucidef_set_led_default "sys" "sys" "pbr-m1:green:sys" "1"
+ ;;
sl-r7205)
set_wifi_led "rt2800pci-phy0::radio"
;;