ramips: add support for indicating the boot state using multiple leds
[openwrt/openwrt.git] / target / linux / ramips / dts / 3G300M.dts
index 8d55020e74a7867dceb49737407fc998837e52d4..e9879085524052a274a7a1b9591e9b68bd8ae2f1 100644 (file)
        model = "Tenda 3G300M";
 
        aliases {
-               led-status = &led_ap;
+               led-boot = &led_ap;
+               led-failsafe = &led_ap;
+               led-running = &led_ap;
+               led-upgrade = &led_ap;
        };
 
        gpio-leds {
@@ -39,6 +42,8 @@
                3g {
                        label = "3g300m:blue:3g";
                        gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
+                       trigger-sources = <&otg_port1>;
+                       linux,default-trigger = "usbport";
                };
 
                wpsreset {