ramips: set usb led trigger via devicetree
[openwrt/staging/mkresin.git] / target / linux / ramips / dts / W502U.dts
index 6b8775ef38f4ef0d26a91c7cd971e2460eea5036..9276ce8714442b1be8c9f1ab0f0aad724dd017cf 100644 (file)
@@ -59,6 +59,8 @@
                usb {
                        label = "w502u:blue:usb";
                        gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
+                       trigger-sources = <&otg_port1>;
+                       linux,default-trigger = "usbport";
                };
 
                led_wps: wps {