openwrtv3/target/linux/ramips/dts/W2914NSV2.dts
Mathias Kresin a58535771f ramips: set usb led trigger via devicetree
Assign the usbdev trigger via devicetree for all subtargets and drop
the userspace handling of the usb leds.

With the change all usb ports are triggering the usb led instead of
only usb 1.1 XOR usb 2.0 XOR usb 3.0 as it was before.

Signed-off-by: Mathias Kresin <dev@kresin.me>
2018-10-07 11:34:18 +02:00

23 lines
369 B
Text

/dts-v1/;
#include "W2914NSV2.dtsi"
/ {
model = "WeVO W2914NS v2";
memory@0 {
device_type = "memory";
reg = <0x0 0x8000000>;
};
gpio-leds {
compatible = "gpio-leds";
usb {
label = "w2914nsv2:green:usb";
gpios = <&gpio0 27 GPIO_ACTIVE_LOW>;
trigger-sources = <&xhci_ehci_port1>, <&ehci_port2>;
linux,default-trigger = "usbport";
};
};
};