ramips: w2914ns-v2: consolidate leds nodes into dtsi
[openwrt/staging/981213.git] / target / linux / ramips / dts / mt7621_wevo_w2914ns-v2.dtsi
index 06b301ba0be514066a0905e5dbc1d0857a1da45a..005cc619c6177102e46798a51057f4433284b954 100644 (file)
@@ -8,6 +8,17 @@
                label-mac-device = &wan;
        };
 
+       leds {
+               compatible = "gpio-leds";
+
+               usb {
+                       label = "green:usb";
+                       gpios = <&gpio 27 GPIO_ACTIVE_LOW>;
+                       trigger-sources = <&xhci_ehci_port1>, <&ehci_port2>;
+                       linux,default-trigger = "usbport";
+               };
+       };
+
        keys {
                compatible = "gpio-keys";