aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/oxnas/patches-4.14
diff options
context:
space:
mode:
authorDaniel Golle <daniel@makrotopia.org>2019-03-01 02:43:48 +0100
committerDaniel Golle <daniel@makrotopia.org>2019-03-01 04:09:00 +0100
commit5fac36d5aa36bf0a58e6f1c1a684db4bd6f9b005 (patch)
tree3fd1866a30e3972f908e727a86fef5a46ac4a810 /target/linux/oxnas/patches-4.14
parent9a9c6f37d5d92af89903e76c9b08c50e1a40c064 (diff)
downloadupstream-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/patches-4.14')
-rw-r--r--target/linux/oxnas/patches-4.14/800-oxnas-ehci.patch11
1 files changed, 10 insertions, 1 deletions
diff --git a/target/linux/oxnas/patches-4.14/800-oxnas-ehci.patch b/target/linux/oxnas/patches-4.14/800-oxnas-ehci.patch
index b4e34e5e3f..cb197aa4a9 100644
--- a/target/linux/oxnas/patches-4.14/800-oxnas-ehci.patch
+++ b/target/linux/oxnas/patches-4.14/800-oxnas-ehci.patch
@@ -26,7 +26,7 @@
obj-$(CONFIG_USB_ISP116X_HCD) += isp116x-hcd.o
--- a/arch/arm/boot/dts/ox820.dtsi
+++ b/arch/arm/boot/dts/ox820.dtsi
-@@ -105,6 +105,22 @@
+@@ -105,6 +105,31 @@
status = "disabled";
};
@@ -44,6 +44,15 @@
+ /* FIXME: how to make this dependency explicit ? */
+ oxsemi,ehci_use_pllb;
+ status = "disabled";
++
++ ehci_port1: port@1 {
++ reg = <1>;
++ #trigger-source-cells = <0>;
++ };
++ ehci_port2: port@2 {
++ reg = <2>;
++ #trigger-source-cells = <0>;
++ };
+ };
+
apb-bridge@44000000 {