ramips: set usb led trigger via devicetree
[openwrt/staging/wigyori.git] / target / linux / ramips / dts / TL-WR842NV5.dts
index c20e780617796ee39d91a32027a696c3a8d966c6..2d6307de729a160dfc899ae433022f80bd0f37a1 100644 (file)
@@ -46,6 +46,8 @@
                usb {
                        label = "tl-wr842n-v5:green:usb";
                        gpios = <&gpio0 3 GPIO_ACTIVE_LOW>;
+                       trigger-sources = <&ohci_port1>, <&ehci_port1>;
+                       linux,default-trigger = "usbport";
                };
 
                wan {