aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq/xrx200/base-files/etc/board.d/01_leds
diff options
context:
space:
mode:
authorMathias Kresin <dev@kresin.me>2021-02-17 20:52:12 +0100
committerMathias Kresin <dev@kresin.me>2021-03-01 00:19:58 +0100
commit5662f5b1142142f449a319b17c5a8c0f3f07cccb (patch)
tree36c881e6bec30c4505bf93fdba594ef7b5cd7df8 /target/linux/lantiq/xrx200/base-files/etc/board.d/01_leds
parent348e09805441d04a54d82451c3ce7060179c4123 (diff)
downloadupstream-5662f5b1142142f449a319b17c5a8c0f3f07cccb.tar.gz
upstream-5662f5b1142142f449a319b17c5a8c0f3f07cccb.tar.bz2
upstream-5662f5b1142142f449a319b17c5a8c0f3f07cccb.zip
lantiq: vr9: set the usb led trigger via devicetree
Assign the usbdev trigger via devicetree and drop the userspace handling of the usb leds. Drop the now unused userspace helper code as well. Signed-off-by: Mathias Kresin <dev@kresin.me> Acked-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target/linux/lantiq/xrx200/base-files/etc/board.d/01_leds')
-rwxr-xr-xtarget/linux/lantiq/xrx200/base-files/etc/board.d/01_leds6
1 files changed, 0 insertions, 6 deletions
diff --git a/target/linux/lantiq/xrx200/base-files/etc/board.d/01_leds b/target/linux/lantiq/xrx200/base-files/etc/board.d/01_leds
index 6a19f52a1e..6fd8151a4f 100755
--- a/target/linux/lantiq/xrx200/base-files/etc/board.d/01_leds
+++ b/target/linux/lantiq/xrx200/base-files/etc/board.d/01_leds
@@ -11,12 +11,6 @@ board_config_update
led_wifi="$(get_dt_led wifi)"
[ -n "$led_wifi" ] && ucidef_set_led_wlan "wifi" "wifi" "$led_wifi" "phy0tpt"
-led_usb="$(get_dt_led usb)"
-[ -n "$led_usb" ] && ucidef_set_led_usbdev "usb" "usb" "$led_usb" "1-1"
-
-led_usb2="$(get_dt_led usb2)"
-[ -n "$led_usb2" ] && ucidef_set_led_usbdev "usb2" "usb2" "$led_usb2" "2-1"
-
led_dsl="$(get_dt_led dsl)"
[ -n "$led_dsl" ] && {
led_internet="$(get_dt_led internet)"