brcm63xx: add USB status LED in 01_leds for ADP P.DG A4001N
authorDaniele Castro <danielecastro@hotmail.it>
Mon, 14 Sep 2020 01:49:30 +0000 (03:49 +0200)
committerÁlvaro Fernández Rojas <noltari@gmail.com>
Fri, 4 Dec 2020 07:29:44 +0000 (08:29 +0100)
Add a status LED in 01_leds for USB 2-1 connected devices.

Signed-off-by: Daniele Castro <danielecastro@hotmail.it>
target/linux/bcm63xx/base-files/etc/board.d/01_leds

index b84009313f277549d622aba90b3dadef68b3345e..cfd4cf3c317faf32f4fd9c5c08b57dcdf1648f3f 100755 (executable)
@@ -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"