ramips: set usb led trigger via devicetree
[openwrt/openwrt.git] / target / linux / ramips / dts / PBR-D1.dts
index 01ac2a127721a56a134f7f1a82db73f1679dfe1d..038978bc6829cbde0e254c07aceac8b69e8d11a2 100644 (file)
@@ -32,6 +32,8 @@
                usb {
                        label = "pbr-d1:orange:usb";
                        gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
+                       trigger-sources = <&ohci_port1>, <&ehci_port1>;
+                       linux,default-trigger = "usbport";
                        default-state = "off";
                };