aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/F5D8235_V1.dts
diff options
context:
space:
mode:
authorMathias Kresin <dev@kresin.me>2018-08-17 16:41:17 +0200
committerMathias Kresin <dev@kresin.me>2018-10-07 11:34:18 +0200
commit772b27c207364f31f8b34b80a94647810fdb581c (patch)
tree59c1177da22fbf0d94729d8f53db7e8f46eb3ab5 /target/linux/ramips/dts/F5D8235_V1.dts
parent04eab0a1c9fb68bd8678c57ca3c6dcc8347b611a (diff)
downloadupstream-772b27c207364f31f8b34b80a94647810fdb581c.tar.gz
upstream-772b27c207364f31f8b34b80a94647810fdb581c.tar.bz2
upstream-772b27c207364f31f8b34b80a94647810fdb581c.zip
ramips: set F5D8235 v1 usb led trigger via devicetree
Assign the usbdev trigger via devicetree and drop the userspace handling of the usb leds. Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'target/linux/ramips/dts/F5D8235_V1.dts')
-rw-r--r--target/linux/ramips/dts/F5D8235_V1.dts26
1 files changed, 26 insertions, 0 deletions
diff --git a/target/linux/ramips/dts/F5D8235_V1.dts b/target/linux/ramips/dts/F5D8235_V1.dts
index f588c9fb21..0cb4084be7 100644
--- a/target/linux/ramips/dts/F5D8235_V1.dts
+++ b/target/linux/ramips/dts/F5D8235_V1.dts
@@ -146,6 +146,8 @@
storage {
label = "f5d8235-v1:blue:storage";
gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
+ trigger-sources = <&ohci_port1>, <&ehci_port1>;
+ linux,default-trigger = "usbport";
};
storage2 {
@@ -209,6 +211,30 @@
&pci {
status = "okay";
+
+ usb@11,0 {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ compatible = "pci1033,0035";
+ reg = <0x8800 0 0 0 0>;
+
+ ohci_port1: port@1 {
+ reg = <1>;
+ #trigger-source-cells = <0>;
+ };
+ };
+
+ usb@11,1 {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ compatible = "pci1033,00e0";
+ reg = <0x8900 0 0 0 0>;
+
+ ehci_port1: port@1 {
+ reg = <1>;
+ #trigger-source-cells = <0>;
+ };
+ };
};
&wmac {