ramips: set usb led trigger via devicetree
[openwrt/staging/mkresin.git] / target / linux / ramips / dts / Y1.dts
index d9d00f082fca3c57936f92e102016e67bac074af..1ce64daee00970d8897da7e6cf87ccc15e0ff589 100644 (file)
@@ -31,6 +31,8 @@
                usb {
                        label = "y1:blue:usb";
                        gpios = <&gpio2 12 GPIO_ACTIVE_LOW>;
+                       trigger-sources = <&ohci_port1>, <&ehci_port1>;
+                       linux,default-trigger = "usbport";
                };
 
                lan {