ramips: dts: Unify naming of gpio-led nodes
[openwrt/staging/wigyori.git] / target / linux / ramips / dts / 11ACNAS.dts
index 55678f532b0eb9a14a65bb609a91f6948c16668d..2b1556696854c78814d484b9db3a9923ea74ab93 100644 (file)
@@ -3,10 +3,22 @@
 #include "W2914NSV2.dtsi"
 
 / {
+       compatible = "wevo,11acnas", "wevo,w2914ns-v2", "mediatek,mt7621-soc";
        model = "WeVO 11AC NAS Router";
 
        memory@0 {
                device_type = "memory";
                reg = <0x0 0x10000000>;
        };
+
+       leds {
+               compatible = "gpio-leds";
+
+               usb {
+                       label = "11acnas:green:usb";
+                       gpios = <&gpio0 27 GPIO_ACTIVE_LOW>;
+                       trigger-sources = <&xhci_ehci_port1>, <&ehci_port2>;
+                       linux,default-trigger = "usbport";
+               };
+       };
 };