ramips: add DTS triggers to USB LEDs for F9K1109v1

Alter DTS for Belkin F9K1109v1 to trigger USB leds from the echi/ochi
ports.

Signed-off-by: Kip Porterfield <kip.porterfield@gmail.com>
This commit is contained in:
Kip Porterfield
2020-04-03 21:59:23 +00:00
committed by Adrian Schmutzler
parent 86db1f69c4
commit 4b8d274456
3 changed files with 19 additions and 2 deletions

View File

@@ -30,11 +30,15 @@
usb1 {
label = "f9k1109v1:green:usb1";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
trigger-sources = <&ohci_port1>, <&ehci_port1>;
linux,default-trigger = "usbport";
};
usb2 {
label = "f9k1109v1:green:usb2";
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
trigger-sources = <&ohci_port2>, <&ehci_port2>;
linux,default-trigger = "usbport";
};
wps_amber {
@@ -65,3 +69,17 @@
};
};
};
&ehci {
ehci_port2: port@2 {
reg = <2>;
#trigger-source-cells = <0>;
};
};
&ohci {
ohci_port2: port@2 {
reg = <2>;
#trigger-source-cells = <0>;
};
};