diff options
author | Daniel Golle <daniel@makrotopia.org> | 2019-03-01 02:43:48 +0100 |
---|---|---|
committer | Daniel Golle <daniel@makrotopia.org> | 2019-03-01 04:09:00 +0100 |
commit | 5fac36d5aa36bf0a58e6f1c1a684db4bd6f9b005 (patch) | |
tree | 3fd1866a30e3972f908e727a86fef5a46ac4a810 /target/linux/oxnas/files | |
parent | 9a9c6f37d5d92af89903e76c9b08c50e1a40c064 (diff) | |
download | upstream-5fac36d5aa36bf0a58e6f1c1a684db4bd6f9b005.tar.gz upstream-5fac36d5aa36bf0a58e6f1c1a684db4bd6f9b005.tar.bz2 upstream-5fac36d5aa36bf0a58e6f1c1a684db4bd6f9b005.zip |
oxnas: switch to kmod-ledtrig-usb-port
Add port handles for both USB 2.0 ports so they can be used as
trigger-source for USB LEDs.
Suggestions for pogoplug and akitio,mycloud devices are welcome.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Diffstat (limited to 'target/linux/oxnas/files')
-rw-r--r-- | target/linux/oxnas/files/arch/arm/boot/dts/ox820-mitrastar-stg212.dts | 2 | ||||
-rw-r--r-- | target/linux/oxnas/files/arch/arm/boot/dts/ox820-shuttle-kd20.dts | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/target/linux/oxnas/files/arch/arm/boot/dts/ox820-mitrastar-stg212.dts b/target/linux/oxnas/files/arch/arm/boot/dts/ox820-mitrastar-stg212.dts index feb95ebb9f..b3282acc72 100644 --- a/target/linux/oxnas/files/arch/arm/boot/dts/ox820-mitrastar-stg212.dts +++ b/target/linux/oxnas/files/arch/arm/boot/dts/ox820-mitrastar-stg212.dts @@ -56,6 +56,8 @@ copy { label = "zyxel:orange:copy"; gpios = <&gpio1 8 1>; + trigger-sources = <&ehci_port1>, <&ehci_port2>; + linux,default-trigger = "usbport"; }; }; diff --git a/target/linux/oxnas/files/arch/arm/boot/dts/ox820-shuttle-kd20.dts b/target/linux/oxnas/files/arch/arm/boot/dts/ox820-shuttle-kd20.dts index 1f88e76e50..2c7bd16a93 100644 --- a/target/linux/oxnas/files/arch/arm/boot/dts/ox820-shuttle-kd20.dts +++ b/target/linux/oxnas/files/arch/arm/boot/dts/ox820-shuttle-kd20.dts @@ -96,6 +96,8 @@ usb { label = "kd20:blue:usb"; gpios = <&gpio1 8 0>; + trigger-sources = <&ehci_port1>, <&ehci_port2>; + linux,default-trigger = "usbport"; }; }; |