diff options
author | Johann Neuhauser <johann@it-neuhauser.de> | 2018-06-16 08:13:09 +0200 |
---|---|---|
committer | Mathias Kresin <dev@kresin.me> | 2018-06-16 10:08:51 +0200 |
commit | 14cb05909a8dc6e42008697b4fe47b8fa00789d8 (patch) | |
tree | 725dd3d2a12a6f8f0770f9c18a6d7aeaa1f8451c /target/linux/ath79/base-files/etc/board.d | |
parent | 25ea21d765fd49631ab64bac75bfb98f076483e6 (diff) | |
download | upstream-14cb05909a8dc6e42008697b4fe47b8fa00789d8.tar.gz upstream-14cb05909a8dc6e42008697b4fe47b8fa00789d8.tar.bz2 upstream-14cb05909a8dc6e42008697b4fe47b8fa00789d8.zip |
ath79: clean up led config script files for all devices
1. Move all status led definitions out of diag.sh into device dt
as we use here a generic script hook.
2. Encode "phy0ptp" led trigger in dt of device for all ath79 devices.
Signed-off-by: Johann Neuhauser <johann@it-neuhauser.de>
Diffstat (limited to 'target/linux/ath79/base-files/etc/board.d')
-rwxr-xr-x | target/linux/ath79/base-files/etc/board.d/01_leds | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/target/linux/ath79/base-files/etc/board.d/01_leds b/target/linux/ath79/base-files/etc/board.d/01_leds index 4a8b82786e..d1906f9231 100755 --- a/target/linux/ath79/base-files/etc/board.d/01_leds +++ b/target/linux/ath79/base-files/etc/board.d/01_leds @@ -10,7 +10,6 @@ boardname="${board##*,}" case "$board" in "avm,fritz300e") ucidef_set_led_netdev "lan" "LAN" "$boardname:green:lan" "eth0" - ucidef_set_led_wlan "wlan" "WLAN" "$boardname:green:wlan" "phy0tpt" ucidef_set_rssimon "wlan0" "200000" "1" ucidef_set_led_rssi "rssilow" "RSSILOW" "$boardname:green:rssi0" "wlan0" "1" "100" ucidef_set_led_rssi "rssimediumlow" "RSSIMEDIUMLOW" "$boardname:green:rssi1" "wlan0" "20" "100" @@ -20,13 +19,9 @@ case "$board" in ;; "etactica,eg200") ucidef_set_led_netdev "lan" "LAN" "$boardname:red:eth0" "eth0" - ucidef_set_led_wlan "wlan" "WLAN" "$boardname:red:wlan" "phy0tpt" ucidef_set_led_oneshot "modbus" "Modbus" "$boardname:red:modbus" "100" "33" ucidef_set_led_default "etactica" "etactica" "$boardname:red:etactica" "ignore" ;; -"glinet,ar150") - ucidef_set_led_wlan "wlan" "WLAN" "gl-ar150:orange:wlan" "phy0tpt" - ;; "tplink,tl-mr3020-v1") ucidef_set_led_switch "lan" "LAN" "tp-link:green:lan" "switch0" "0x02" ;; |