mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-26 08:51:13 +00:00
a58535771f
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>
25 lines
445 B
Plaintext
25 lines
445 B
Plaintext
/dts-v1/;
|
|
|
|
#include "W2914NSV2.dtsi"
|
|
|
|
/ {
|
|
compatible = "wevo,11acnas", "wevo,w2914ns-v2", "mediatek,mt7621-soc";
|
|
model = "WeVO 11AC NAS Router";
|
|
|
|
memory@0 {
|
|
device_type = "memory";
|
|
reg = <0x0 0x10000000>;
|
|
};
|
|
|
|
gpio-leds {
|
|
compatible = "gpio-leds";
|
|
|
|
usb {
|
|
label = "11acnas:green:usb";
|
|
gpios = <&gpio0 27 GPIO_ACTIVE_LOW>;
|
|
trigger-sources = <&xhci_ehci_port1>, <&ehci_port2>;
|
|
linux,default-trigger = "usbport";
|
|
};
|
|
};
|
|
};
|