openwrt/target/linux/ramips/dts/11ACNAS.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

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";
};
};
};