aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files
diff options
context:
space:
mode:
authorMathias Kresin <dev@kresin.me>2018-08-18 11:38:13 +0200
committerMathias Kresin <dev@kresin.me>2018-08-29 09:34:07 +0200
commit99045dfc5989e732f671de5d145532f0fe8c0ce1 (patch)
treeda007e85e6638b5eb713e07c14fceef532c80f22 /target/linux/ramips/base-files
parent111907e8d319eb05e7a5ef7a0cc6ec55cb069242 (diff)
downloadupstream-99045dfc5989e732f671de5d145532f0fe8c0ce1.tar.gz
upstream-99045dfc5989e732f671de5d145532f0fe8c0ce1.tar.bz2
upstream-99045dfc5989e732f671de5d145532f0fe8c0ce1.zip
ramips: express diag led handling via devicetree
Use the default-state property to express the desired led handling in the devicetree source file instead of the userspace. Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'target/linux/ramips/base-files')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/board.d/01_leds6
1 files changed, 0 insertions, 6 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 6da04ea9b1..c92712c453 100755
--- a/target/linux/ramips/base-files/etc/board.d/01_leds
+++ b/target/linux/ramips/base-files/etc/board.d/01_leds
@@ -117,9 +117,6 @@ d240)
set_wifi_led "$boardname:blue:wifi"
set_usb_led "$boardname:blue:usb"
;;
-dch-m225)
- ucidef_set_led_default "status" "STATUS" "$board:red:status" "0"
- ;;
dcs-930l-b1)
ucidef_set_led_netdev "wifi" "WiFi" "$boardname:blue:wps"
;;
@@ -143,7 +140,6 @@ wt1520-8M)
;;
dir-615-d|\
dir-615-h1)
- ucidef_set_led_default "status" "Status LED (amber)" "$boardname:amber:status" "0"
set_wifi_led "rt2800pci-phy0::radio"
;;
dir-620-d1|\
@@ -228,7 +224,6 @@ hiwifi,hc5861b)
set_wifi_led "$boardname:green:wlan2g"
;;
hpm)
- ucidef_set_led_default "power" "POWER" "$boardname:orange:power" "1"
ucidef_set_led_netdev "eth" "ETH" "$boardname:green:eth" "eth0"
set_wifi_led "$boardname:green:wifi"
;;
@@ -314,7 +309,6 @@ pbr-d1)
;;
pbr-m1)
ucidef_set_led_netdev "internet" "internet" "$boardname:blue:internet" "eth0.2"
- ucidef_set_led_default "sys" "sys" "$boardname:blue:sys" "1"
;;
d-team,newifi-d2)
set_usb_led "$boardname:blue:usb"