aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/kirkwood/base-files
diff options
context:
space:
mode:
authorPawel Dembicki <paweldembicki@gmail.com>2020-05-01 21:16:58 +0200
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-06-14 21:16:20 +0200
commitbbe712494596cc4a7c317b73ffdf800f04641912 (patch)
treeeb4e299932f124c5427ac86bda41e35fbbcfe91d /target/linux/kirkwood/base-files
parent373f4460497bad899bb97e7af00aad157ab0922a (diff)
downloadupstream-bbe712494596cc4a7c317b73ffdf800f04641912.tar.gz
upstream-bbe712494596cc4a7c317b73ffdf800f04641912.tar.bz2
upstream-bbe712494596cc4a7c317b73ffdf800f04641912.zip
kirkwood: move led triggers to dts
This patch moves led trigger settings from 01_leds file to dts. Now "linux,default-trigger" property is used. Tested-by: Alberto Bursi <bobafetthotmail@gmail.com> [nsa310,nsa325] Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com>
Diffstat (limited to 'target/linux/kirkwood/base-files')
-rwxr-xr-xtarget/linux/kirkwood/base-files/etc/board.d/01_leds10
1 files changed, 0 insertions, 10 deletions
diff --git a/target/linux/kirkwood/base-files/etc/board.d/01_leds b/target/linux/kirkwood/base-files/etc/board.d/01_leds
index bba845eae5..bbe689bbb5 100755
--- a/target/linux/kirkwood/base-files/etc/board.d/01_leds
+++ b/target/linux/kirkwood/base-files/etc/board.d/01_leds
@@ -16,16 +16,6 @@ case "$board" in
"linksys,viper")
ucidef_set_led_default "pulse" "pulse" "viper:white:pulse" "1"
;;
-"zyxel,nsa310b")
- ucidef_set_led_usbhost "usb" "USB" "nsa310:green:usb"
- ucidef_set_led_ataport "hdd" "HDD" "nsa310:green:hdd" "1"
- ucidef_set_led_ataport "esata" "eSata" "nsa310:green:esata" "2"
- ;;
-"zyxel,nsa325")
- ucidef_set_led_usbhost "usb" "USB" "nsa325:green:usb"
- ucidef_set_led_ataport "hdd1" "HDD1" "nsa325:green:hdd1" "1"
- ucidef_set_led_ataport "hdd2" "HDD2" "nsa325:green:hdd2" "2"
- ;;
esac
board_config_flush