diff options
author | Kip Porterfield <kip.porterfield@gmail.com> | 2020-04-03 21:59:23 +0000 |
---|---|---|
committer | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2020-04-06 09:57:28 +0200 |
commit | 4b8d274456db40f1ca202308a7a1fa93629aedb6 (patch) | |
tree | 1a76cf70fd6b0a19de70a1bd43e9fd77f61d5914 /target/linux/ramips/dts | |
parent | 86db1f69c4fbaaa987a391351f17c852bcf39cfa (diff) | |
download | upstream-4b8d274456db40f1ca202308a7a1fa93629aedb6.tar.gz upstream-4b8d274456db40f1ca202308a7a1fa93629aedb6.tar.bz2 upstream-4b8d274456db40f1ca202308a7a1fa93629aedb6.zip |
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>
Diffstat (limited to 'target/linux/ramips/dts')
-rw-r--r-- | target/linux/ramips/dts/rt3883_belkin_f9k1109v1.dts | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/target/linux/ramips/dts/rt3883_belkin_f9k1109v1.dts b/target/linux/ramips/dts/rt3883_belkin_f9k1109v1.dts index 0b4cf699b5..05afd8af3a 100644 --- a/target/linux/ramips/dts/rt3883_belkin_f9k1109v1.dts +++ b/target/linux/ramips/dts/rt3883_belkin_f9k1109v1.dts @@ -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>; + }; +}; |