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>
This commit is contained in:
@@ -60,6 +60,8 @@
|
||||
usb {
|
||||
label = "kn:green:usb";
|
||||
gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
|
||||
trigger-sources = <&otg_port1>;
|
||||
linux,default-trigger = "usbport";
|
||||
};
|
||||
|
||||
wps {
|
||||
|
||||
Reference in New Issue
Block a user