[openwrt/openwrt] brcm63xx: add USB status LED in 01_leds for ADP P.DG A4001N
LEDE Commits
lede-commits at lists.infradead.org
Fri Dec 4 02:30:01 EST 2020
noltari pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/9e7a0f45d8c4e8ccde67f80c24c7145be0130105
commit 9e7a0f45d8c4e8ccde67f80c24c7145be0130105
Author: Daniele Castro <danielecastro at hotmail.it>
AuthorDate: Mon Sep 14 03:49:30 2020 +0200
brcm63xx: add USB status LED in 01_leds for ADP P.DG A4001N
Add a status LED in 01_leds for USB 2-1 connected devices.
Signed-off-by: Daniele Castro <danielecastro at hotmail.it>
---
target/linux/bcm63xx/base-files/etc/board.d/01_leds | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/target/linux/bcm63xx/base-files/etc/board.d/01_leds b/target/linux/bcm63xx/base-files/etc/board.d/01_leds
index b84009313f..cfd4cf3c31 100755
--- a/target/linux/bcm63xx/base-files/etc/board.d/01_leds
+++ b/target/linux/bcm63xx/base-files/etc/board.d/01_leds
@@ -29,7 +29,8 @@ adb,pdg-a4001n-a-000-1a1-ax)
ucidef_set_led_netdev "lan" "LAN" "green:internet" "eth0.1"
ucidef_set_led_netdev "wan" "WAN" "green:adsl" "eth0.2"
ucidef_set_led_netdev "wlan0" "WIFI" "green:wifi" "wlan0"
- ucidef_set_led_usbdev "usb" "USB" "green:service" "1-1"
+ ucidef_set_led_usbdev "usb1" "USB1" "green:service" "1-1"
+ ucidef_set_led_usbdev "usb2" "USB2" "red:service" "2-1"
;;
adb,av4202n)
ucidef_set_led_netdev "wlan0" "WLAN" "blue:wifi" "wlan0"
More information about the lede-commits
mailing list