ramips: dts: Unify naming of gpio-led nodes
[openwrt/staging/wigyori.git] / target / linux / ramips / dts / 11ACNAS.dts
index b8c326889c56a87509c885185b1d1d23092bfacc..2b1556696854c78814d484b9db3a9923ea74ab93 100644 (file)
                reg = <0x0 0x10000000>;
        };
 
-       gpio-leds {
+       leds {
                compatible = "gpio-leds";
 
-               // Only USB LED is connected to GPIO.
-               // All of other LEDs are connected directly to
-               // switch, WiFi chip, Vcc, so they are not controllable
-               // via GPIO
-
                usb {
                        label = "11acnas:green:usb";
                        gpios = <&gpio0 27 GPIO_ACTIVE_LOW>;
+                       trigger-sources = <&xhci_ehci_port1>, <&ehci_port2>;
+                       linux,default-trigger = "usbport";
                };
        };
 };