aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts
diff options
context:
space:
mode:
authorMathias Kresin <dev@kresin.me>2018-08-13 17:14:08 +0200
committerMathias Kresin <dev@kresin.me>2018-10-07 11:34:18 +0200
commita58535771f115c1c95c91ce6af769852d64a8f27 (patch)
tree63c6604d8321fd382e094bf239f01f6a9eb95988 /target/linux/ramips/dts
parentfa3c2676ab0ce5fbb648249da31e31bbc61a3e3d (diff)
downloadupstream-a58535771f115c1c95c91ce6af769852d64a8f27.tar.gz
upstream-a58535771f115c1c95c91ce6af769852d64a8f27.tar.bz2
upstream-a58535771f115c1c95c91ce6af769852d64a8f27.zip
ramips: set usb led trigger via devicetree
Assign the usbdev trigger via devicetree for all subtargets and drop the userspace handling of the usb leds. With the change all usb ports are triggering the usb led instead of only usb 1.1 XOR usb 2.0 XOR usb 3.0 as it was before. Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'target/linux/ramips/dts')
-rw-r--r--target/linux/ramips/dts/11ACNAS.dts2
-rw-r--r--target/linux/ramips/dts/3G-6200N.dts2
-rw-r--r--target/linux/ramips/dts/3G150B.dts2
-rw-r--r--target/linux/ramips/dts/3G300M.dts2
-rw-r--r--target/linux/ramips/dts/AIR3GII.dts2
-rw-r--r--target/linux/ramips/dts/ALL0239-3G.dts2
-rw-r--r--target/linux/ramips/dts/ASL26555.dtsi2
-rw-r--r--target/linux/ramips/dts/ArcherC2-v1.dts2
-rw-r--r--target/linux/ramips/dts/ArcherC20i.dts2
-rw-r--r--target/linux/ramips/dts/ArcherC20v1.dts2
-rw-r--r--target/linux/ramips/dts/ArcherC50.dts2
-rw-r--r--target/linux/ramips/dts/BC2.dts2
-rw-r--r--target/linux/ramips/dts/BR-6478AC-V2.dts2
-rw-r--r--target/linux/ramips/dts/BROADWAY.dts2
-rw-r--r--target/linux/ramips/dts/CY-SWR1100.dts2
-rw-r--r--target/linux/ramips/dts/D105.dts2
-rw-r--r--target/linux/ramips/dts/D240.dts2
-rw-r--r--target/linux/ramips/dts/DWR-118-A2.dts2
-rw-r--r--target/linux/ramips/dts/EW1200.dts2
-rw-r--r--target/linux/ramips/dts/F5D8235_V2.dts2
-rw-r--r--target/linux/ramips/dts/FONERA20N.dts2
-rw-r--r--target/linux/ramips/dts/HG255D.dts2
-rw-r--r--target/linux/ramips/dts/HW550-3G.dts2
-rw-r--r--target/linux/ramips/dts/MINIEMBPLUG.dts2
-rw-r--r--target/linux/ramips/dts/MOFI3500-3GN.dts2
-rw-r--r--target/linux/ramips/dts/MR-102N.dts2
-rw-r--r--target/linux/ramips/dts/NA930.dts2
-rw-r--r--target/linux/ramips/dts/NBG-419N2.dts2
-rw-r--r--target/linux/ramips/dts/NW718.dts2
-rw-r--r--target/linux/ramips/dts/Newifi-D2.dts2
-rw-r--r--target/linux/ramips/dts/PBR-D1.dts2
-rw-r--r--target/linux/ramips/dts/PX-4885.dtsi2
-rw-r--r--target/linux/ramips/dts/R6220.dts2
-rw-r--r--target/linux/ramips/dts/RT-AC51U.dts2
-rw-r--r--target/linux/ramips/dts/RT-N14U.dts2
-rw-r--r--target/linux/ramips/dts/SAP-G3200U3.dts8
-rw-r--r--target/linux/ramips/dts/SK-WB8.dts2
-rw-r--r--target/linux/ramips/dts/TEW-714TRU.dts2
-rw-r--r--target/linux/ramips/dts/TINY-AC.dts2
-rw-r--r--target/linux/ramips/dts/TL-MR3020V3.dts2
-rw-r--r--target/linux/ramips/dts/TL-MR3420V5.dts2
-rw-r--r--target/linux/ramips/dts/TL-WR842NV5.dts2
-rw-r--r--target/linux/ramips/dts/TL-WR902ACV3.dts2
-rw-r--r--target/linux/ramips/dts/U7628-01.dtsi2
-rw-r--r--target/linux/ramips/dts/W2914NSV2.dts2
-rw-r--r--target/linux/ramips/dts/W502U.dts2
-rw-r--r--target/linux/ramips/dts/WCR150GN.dts2
-rw-r--r--target/linux/ramips/dts/WE1026-5G.dtsi2
-rw-r--r--target/linux/ramips/dts/WF-2881.dts2
-rw-r--r--target/linux/ramips/dts/WR1200JS.dts2
-rw-r--r--target/linux/ramips/dts/Y1.dts2
-rw-r--r--target/linux/ramips/dts/Y1S.dts2
-rw-r--r--target/linux/ramips/dts/YOUKU-YK1.dts2
-rw-r--r--target/linux/ramips/dts/ZBT-WA05.dts2
-rw-r--r--target/linux/ramips/dts/ZBT-WE826.dtsi2
-rw-r--r--target/linux/ramips/dts/ZBT-WR8305RT.dts2
-rw-r--r--target/linux/ramips/dts/ki_rb.dts2
-rw-r--r--target/linux/ramips/dts/kn.dts2
-rw-r--r--target/linux/ramips/dts/kn_rc.dts2
-rw-r--r--target/linux/ramips/dts/kn_rf.dts2
-rw-r--r--target/linux/ramips/dts/kng_rc.dts2
-rw-r--r--target/linux/ramips/dts/mt7620a.dtsi14
-rw-r--r--target/linux/ramips/dts/mt7620n.dtsi14
-rw-r--r--target/linux/ramips/dts/mt7621.dtsi21
-rw-r--r--target/linux/ramips/dts/mt7628an.dtsi14
-rw-r--r--target/linux/ramips/dts/rt3050.dtsi7
-rw-r--r--target/linux/ramips/dts/rt3352.dtsi14
-rw-r--r--target/linux/ramips/dts/rt3883.dtsi14
-rw-r--r--target/linux/ramips/dts/rt5350.dtsi14
69 files changed, 235 insertions, 5 deletions
diff --git a/target/linux/ramips/dts/11ACNAS.dts b/target/linux/ramips/dts/11ACNAS.dts
index f66bee6363..6516bb0c13 100644
--- a/target/linux/ramips/dts/11ACNAS.dts
+++ b/target/linux/ramips/dts/11ACNAS.dts
@@ -17,6 +17,8 @@
usb {
label = "11acnas:green:usb";
gpios = <&gpio0 27 GPIO_ACTIVE_LOW>;
+ trigger-sources = <&xhci_ehci_port1>, <&ehci_port2>;
+ linux,default-trigger = "usbport";
};
};
};
diff --git a/target/linux/ramips/dts/3G-6200N.dts b/target/linux/ramips/dts/3G-6200N.dts
index 88ee81dfaf..678c0eec4b 100644
--- a/target/linux/ramips/dts/3G-6200N.dts
+++ b/target/linux/ramips/dts/3G-6200N.dts
@@ -71,6 +71,8 @@
3g {
label = "3g-6200n:blue:3g";
gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
+ trigger-sources = <&otg_port1>;
+ linux,default-trigger = "usbport";
};
};
diff --git a/target/linux/ramips/dts/3G150B.dts b/target/linux/ramips/dts/3G150B.dts
index 90a52fa8bc..533070089c 100644
--- a/target/linux/ramips/dts/3G150B.dts
+++ b/target/linux/ramips/dts/3G150B.dts
@@ -24,6 +24,8 @@
3g {
label = "3g150b:blue:3g";
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
+ trigger-sources = <&ohci_port1>, <&ehci_port1>;
+ linux,default-trigger = "usbport";
};
};
diff --git a/target/linux/ramips/dts/3G300M.dts b/target/linux/ramips/dts/3G300M.dts
index 8d55020e74..3e377e3afe 100644
--- a/target/linux/ramips/dts/3G300M.dts
+++ b/target/linux/ramips/dts/3G300M.dts
@@ -39,6 +39,8 @@
3g {
label = "3g300m:blue:3g";
gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
+ trigger-sources = <&otg_port1>;
+ linux,default-trigger = "usbport";
};
wpsreset {
diff --git a/target/linux/ramips/dts/AIR3GII.dts b/target/linux/ramips/dts/AIR3GII.dts
index c3ce087ed2..eb7cd0f1ca 100644
--- a/target/linux/ramips/dts/AIR3GII.dts
+++ b/target/linux/ramips/dts/AIR3GII.dts
@@ -20,6 +20,8 @@
mobile {
label = "air3gii:green:mobile";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
+ trigger-sources = <&ohci_port1>, <&ehci_port1>;
+ linux,default-trigger = "usbport";
};
};
diff --git a/target/linux/ramips/dts/ALL0239-3G.dts b/target/linux/ramips/dts/ALL0239-3G.dts
index 305fe6e261..840ec7851c 100644
--- a/target/linux/ramips/dts/ALL0239-3G.dts
+++ b/target/linux/ramips/dts/ALL0239-3G.dts
@@ -56,6 +56,8 @@
usb {
label = "all0239-3g:green:usb";
gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
+ trigger-sources = <&otg_port1>;
+ linux,default-trigger = "usbport";
};
3g {
diff --git a/target/linux/ramips/dts/ASL26555.dtsi b/target/linux/ramips/dts/ASL26555.dtsi
index 890a7de187..d1a5da9c20 100644
--- a/target/linux/ramips/dts/ASL26555.dtsi
+++ b/target/linux/ramips/dts/ASL26555.dtsi
@@ -63,6 +63,8 @@
3g-green {
label = "asl26555:green:3g";
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
+ trigger-sources = <&otg_port1>;
+ linux,default-trigger = "usbport";
};
3g-red {
diff --git a/target/linux/ramips/dts/ArcherC2-v1.dts b/target/linux/ramips/dts/ArcherC2-v1.dts
index cc0d46a6b7..64b7997349 100644
--- a/target/linux/ramips/dts/ArcherC2-v1.dts
+++ b/target/linux/ramips/dts/ArcherC2-v1.dts
@@ -37,6 +37,8 @@
usb {
label = "c2-v1:green:usb";
gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
+ trigger-sources = <&ohci_port1>, <&ehci_port1>;
+ linux,default-trigger = "usbport";
};
led_wps: wps {
diff --git a/target/linux/ramips/dts/ArcherC20i.dts b/target/linux/ramips/dts/ArcherC20i.dts
index edaa76e3dd..b44c161fa1 100644
--- a/target/linux/ramips/dts/ArcherC20i.dts
+++ b/target/linux/ramips/dts/ArcherC20i.dts
@@ -22,6 +22,8 @@
usb {
label = "c20i:blue:usb";
gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
+ trigger-sources = <&ohci_port1>, <&ehci_port1>;
+ linux,default-trigger = "usbport";
};
wps {
label = "c20i:blue:wps";
diff --git a/target/linux/ramips/dts/ArcherC20v1.dts b/target/linux/ramips/dts/ArcherC20v1.dts
index 70c6f84300..2ec948bc54 100644
--- a/target/linux/ramips/dts/ArcherC20v1.dts
+++ b/target/linux/ramips/dts/ArcherC20v1.dts
@@ -34,6 +34,8 @@
usb {
label = "c20-v1:blue:usb";
gpios = <&gpio2 4 GPIO_ACTIVE_LOW>;
+ trigger-sources = <&ohci_port1>, <&ehci_port1>;
+ linux,default-trigger = "usbport";
};
wan {
diff --git a/target/linux/ramips/dts/ArcherC50.dts b/target/linux/ramips/dts/ArcherC50.dts
index efcb17094e..8fc8bde984 100644
--- a/target/linux/ramips/dts/ArcherC50.dts
+++ b/target/linux/ramips/dts/ArcherC50.dts
@@ -34,6 +34,8 @@
usb {
label = "c50:green:usb";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
+ trigger-sources = <&ohci_port1>, <&ehci_port1>;
+ linux,default-trigger = "usbport";
};
wan {
diff --git a/target/linux/ramips/dts/BC2.dts b/target/linux/ramips/dts/BC2.dts
index c57e79e534..1143497b69 100644
--- a/target/linux/ramips/dts/BC2.dts
+++ b/target/linux/ramips/dts/BC2.dts
@@ -51,6 +51,8 @@
usb {
label = "bc2:blue:usb";
gpios = <&gpio0 20 GPIO_ACTIVE_LOW>;
+ trigger-sources = <&otg_port1>;
+ linux,default-trigger = "usbport";
};
};
diff --git a/target/linux/ramips/dts/BR-6478AC-V2.dts b/target/linux/ramips/dts/BR-6478AC-V2.dts
index b38be1e2c2..00de0d9c47 100644
--- a/target/linux/ramips/dts/BR-6478AC-V2.dts
+++ b/target/linux/ramips/dts/BR-6478AC-V2.dts
@@ -59,6 +59,8 @@
usb {
label = "br-6478ac-v2:blue:usb";
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
+ trigger-sources = <&ohci_port1>, <&ehci_port1>;
+ linux,default-trigger = "usbport";
};
};
diff --git a/target/linux/ramips/dts/BROADWAY.dts b/target/linux/ramips/dts/BROADWAY.dts
index a5664fe797..b3382cd16d 100644
--- a/target/linux/ramips/dts/BROADWAY.dts
+++ b/target/linux/ramips/dts/BROADWAY.dts
@@ -51,6 +51,8 @@
diskmounted {
label = "broadway:red:diskmounted";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
+ trigger-sources = <&otg_port1>;
+ linux,default-trigger = "usbport";
};
wps_active {
diff --git a/target/linux/ramips/dts/CY-SWR1100.dts b/target/linux/ramips/dts/CY-SWR1100.dts
index 787667a6ec..b9f12f1068 100644
--- a/target/linux/ramips/dts/CY-SWR1100.dts
+++ b/target/linux/ramips/dts/CY-SWR1100.dts
@@ -94,6 +94,8 @@
usb {
label = "cy-swr1100:blue:usb";
gpios = <&gpio1 1 GPIO_ACTIVE_LOW>;
+ trigger-sources = <&ohci_port1>, <&ehci_port1>;
+ linux,default-trigger = "usbport";
};
};
};
diff --git a/target/linux/ramips/dts/D105.dts b/target/linux/ramips/dts/D105.dts
index 89cde124be..676d68c116 100644
--- a/target/linux/ramips/dts/D105.dts
+++ b/target/linux/ramips/dts/D105.dts
@@ -60,6 +60,8 @@
usb {
label = "d105:green:usb";
gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
+ trigger-sources = <&otg_port1>;
+ linux,default-trigger = "usbport";
};
};
diff --git a/target/linux/ramips/dts/D240.dts b/target/linux/ramips/dts/D240.dts
index 613a20f995..59183df4d7 100644
--- a/target/linux/ramips/dts/D240.dts
+++ b/target/linux/ramips/dts/D240.dts
@@ -78,6 +78,8 @@
usb {
label = "d240:blue:usb";
gpios = <&gpio1 15 GPIO_ACTIVE_HIGH>;
+ trigger-sources = <&ohci_port1>, <&ehci_port1>;
+ linux,default-trigger = "usbport";
};
air {
diff --git a/target/linux/ramips/dts/DWR-118-A2.dts b/target/linux/ramips/dts/DWR-118-A2.dts
index fd8f932412..5582a49bf7 100644
--- a/target/linux/ramips/dts/DWR-118-A2.dts
+++ b/target/linux/ramips/dts/DWR-118-A2.dts
@@ -56,6 +56,8 @@
usb {
label = "dwr-118-a2:green:usb";
gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
+ trigger-sources = <&ohci_port1>, <&ehci_port1>;
+ linux,default-trigger = "usbport";
};
};
diff --git a/target/linux/ramips/dts/EW1200.dts b/target/linux/ramips/dts/EW1200.dts
index b7b15137ec..99bbf8c8f0 100644
--- a/target/linux/ramips/dts/EW1200.dts
+++ b/target/linux/ramips/dts/EW1200.dts
@@ -50,6 +50,8 @@
usb {
label = "ew1200:green:usb";
gpios = <&gpio0 4 GPIO_ACTIVE_LOW>;
+ trigger-sources = <&xhci_ehci_port1>, <&ehci_port2>;
+ linux,default-trigger = "usbport";
};
};
};
diff --git a/target/linux/ramips/dts/F5D8235_V2.dts b/target/linux/ramips/dts/F5D8235_V2.dts
index f075dff496..c7fb55f46c 100644
--- a/target/linux/ramips/dts/F5D8235_V2.dts
+++ b/target/linux/ramips/dts/F5D8235_V2.dts
@@ -84,6 +84,8 @@
storage {
label = "f5d8235-v2:blue:storage";
gpios = <&gpio0 23 GPIO_ACTIVE_LOW>;
+ trigger-sources = <&otg_port1>;
+ linux,default-trigger = "usbport";
};
storage2 {
diff --git a/target/linux/ramips/dts/FONERA20N.dts b/target/linux/ramips/dts/FONERA20N.dts
index 17bf4a83f7..2ff29d9a2e 100644
--- a/target/linux/ramips/dts/FONERA20N.dts
+++ b/target/linux/ramips/dts/FONERA20N.dts
@@ -65,6 +65,8 @@
usb {
label = "fonera20n:orange:usb";
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
+ trigger-sources = <&otg_port1>;
+ linux,default-trigger = "usbport";
};
};
diff --git a/target/linux/ramips/dts/HG255D.dts b/target/linux/ramips/dts/HG255D.dts
index 0e4ad421e4..242d04d2cd 100644
--- a/target/linux/ramips/dts/HG255D.dts
+++ b/target/linux/ramips/dts/HG255D.dts
@@ -76,6 +76,8 @@
usb {
label = "hg255d:green:usb";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
+ trigger-sources = <&otg_port1>;
+ linux,default-trigger = "usbport";
};
wps {
diff --git a/target/linux/ramips/dts/HW550-3G.dts b/target/linux/ramips/dts/HW550-3G.dts
index 1b589b5f60..385ec343bb 100644
--- a/target/linux/ramips/dts/HW550-3G.dts
+++ b/target/linux/ramips/dts/HW550-3G.dts
@@ -55,6 +55,8 @@
usb {
label = "hw550-3g:green:usb";
gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
+ trigger-sources = <&otg_port1>;
+ linux,default-trigger = "usbport";
};
3g {
diff --git a/target/linux/ramips/dts/MINIEMBPLUG.dts b/target/linux/ramips/dts/MINIEMBPLUG.dts
index 94d6b410fc..00d057d297 100644
--- a/target/linux/ramips/dts/MINIEMBPLUG.dts
+++ b/target/linux/ramips/dts/MINIEMBPLUG.dts
@@ -20,6 +20,8 @@
mobile {
label = "miniembplug:green:mobile";
gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
+ trigger-sources = <&ohci_port1>, <&ehci_port1>;
+ linux,default-trigger = "usbport";
};
};
diff --git a/target/linux/ramips/dts/MOFI3500-3GN.dts b/target/linux/ramips/dts/MOFI3500-3GN.dts
index 345c028d02..bfd20d2014 100644
--- a/target/linux/ramips/dts/MOFI3500-3GN.dts
+++ b/target/linux/ramips/dts/MOFI3500-3GN.dts
@@ -55,6 +55,8 @@
usb {
label = "mofi3500-3gn:green:usb";
gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
+ trigger-sources = <&otg_port1>;
+ linux,default-trigger = "usbport";
};
3g {
diff --git a/target/linux/ramips/dts/MR-102N.dts b/target/linux/ramips/dts/MR-102N.dts
index c278b9cb91..13cec1b377 100644
--- a/target/linux/ramips/dts/MR-102N.dts
+++ b/target/linux/ramips/dts/MR-102N.dts
@@ -65,6 +65,8 @@
usb {
label = "mr-102n:green:usb";
gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
+ trigger-sources = <&otg_port1>;
+ linux,default-trigger = "usbport";
};
led_status: status {
diff --git a/target/linux/ramips/dts/NA930.dts b/target/linux/ramips/dts/NA930.dts
index fadb484f39..7dd4d1b234 100644
--- a/target/linux/ramips/dts/NA930.dts
+++ b/target/linux/ramips/dts/NA930.dts
@@ -84,6 +84,8 @@
status {
label = "na930:blue:status";
gpios = <&gpio2 26 GPIO_ACTIVE_LOW>;
+ trigger-sources = <&ohci_port1>, <&ehci_port1>;
+ linux,default-trigger = "usbport";
};
service {
diff --git a/target/linux/ramips/dts/NBG-419N2.dts b/target/linux/ramips/dts/NBG-419N2.dts
index 151da14847..213db93159 100644
--- a/target/linux/ramips/dts/NBG-419N2.dts
+++ b/target/linux/ramips/dts/NBG-419N2.dts
@@ -69,6 +69,8 @@
usb {
label = "nbg-419n2:green:usb";
gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
+ trigger-sources = <&ohci_port1>, <&ehci_port1>;
+ linux,default-trigger = "usbport";
};
};
diff --git a/target/linux/ramips/dts/NW718.dts b/target/linux/ramips/dts/NW718.dts
index c87a8d3cfb..1c9d14384b 100644
--- a/target/linux/ramips/dts/NW718.dts
+++ b/target/linux/ramips/dts/NW718.dts
@@ -24,6 +24,8 @@
usb {
label = "nw718:amber:usb";
gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
+ trigger-sources = <&otg_port1>;
+ linux,default-trigger = "usbport";
};
wps {
diff --git a/target/linux/ramips/dts/Newifi-D2.dts b/target/linux/ramips/dts/Newifi-D2.dts
index f9c5ca8da5..cf9b9f3a14 100644
--- a/target/linux/ramips/dts/Newifi-D2.dts
+++ b/target/linux/ramips/dts/Newifi-D2.dts
@@ -58,6 +58,8 @@
usb {
label = "newifi-d2:blue:usb";
gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
+ trigger-sources = <&xhci_ehci_port1>, <&ehci_port2>;
+ linux,default-trigger = "usbport";
};
};
diff --git a/target/linux/ramips/dts/PBR-D1.dts b/target/linux/ramips/dts/PBR-D1.dts
index 01ac2a1277..038978bc68 100644
--- a/target/linux/ramips/dts/PBR-D1.dts
+++ b/target/linux/ramips/dts/PBR-D1.dts
@@ -32,6 +32,8 @@
usb {
label = "pbr-d1:orange:usb";
gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
+ trigger-sources = <&ohci_port1>, <&ehci_port1>;
+ linux,default-trigger = "usbport";
default-state = "off";
};
diff --git a/target/linux/ramips/dts/PX-4885.dtsi b/target/linux/ramips/dts/PX-4885.dtsi
index 64e007adc6..3bd4d47bf4 100644
--- a/target/linux/ramips/dts/PX-4885.dtsi
+++ b/target/linux/ramips/dts/PX-4885.dtsi
@@ -32,6 +32,8 @@
storage {
label = "px-4885:blue:storage";
gpios = <&gpio0 19 GPIO_ACTIVE_LOW>;
+ trigger-sources = <&ohci_port1>, <&ehci_port1>;
+ linux,default-trigger = "usbport";
};
};
};
diff --git a/target/linux/ramips/dts/R6220.dts b/target/linux/ramips/dts/R6220.dts
index 83ba4531d5..bf789287c8 100644
--- a/target/linux/ramips/dts/R6220.dts
+++ b/target/linux/ramips/dts/R6220.dts
@@ -33,6 +33,8 @@
usb {
label = "r6220:green:usb";
gpios = <&gpio0 15 GPIO_ACTIVE_LOW>;
+ trigger-sources = <&xhci_ehci_port1>, <&ehci_port2>;
+ linux,default-trigger = "usbport";
};
internet {
diff --git a/target/linux/ramips/dts/RT-AC51U.dts b/target/linux/ramips/dts/RT-AC51U.dts
index 7281bc9ce3..976a9c478b 100644
--- a/target/linux/ramips/dts/RT-AC51U.dts
+++ b/target/linux/ramips/dts/RT-AC51U.dts
@@ -24,6 +24,8 @@
usb {
label = "rt-ac51u:blue:usb";
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
+ trigger-sources = <&ohci_port1>, <&ehci_port1>;
+ linux,default-trigger = "usbport";
};
wifi {
diff --git a/target/linux/ramips/dts/RT-N14U.dts b/target/linux/ramips/dts/RT-N14U.dts
index 3a72026a2a..51fae090f4 100644
--- a/target/linux/ramips/dts/RT-N14U.dts
+++ b/target/linux/ramips/dts/RT-N14U.dts
@@ -29,6 +29,8 @@
usb {
label = "rt-n14u:blue:usb";
gpios = <&gpio2 2 GPIO_ACTIVE_LOW>;
+ trigger-sources = <&ohci_port1>, <&ehci_port1>;
+ linux,default-trigger = "usbport";
};
led_power: power {
diff --git a/target/linux/ramips/dts/SAP-G3200U3.dts b/target/linux/ramips/dts/SAP-G3200U3.dts
index 4ca5e889de..353bae5971 100644
--- a/target/linux/ramips/dts/SAP-G3200U3.dts
+++ b/target/linux/ramips/dts/SAP-G3200U3.dts
@@ -9,10 +9,6 @@
compatible = "storylink,sap-g3200u3", "mediatek,mt7621-soc";
model = "STORYLiNK SAP-G3200U3";
- aliases {
- led-status = &led_usb;
- };
-
memory@0 {
device_type = "memory";
reg = <0x0 0x8000000>;
@@ -25,9 +21,11 @@
gpio-leds {
compatible = "gpio-leds";
- led_usb: usb {
+ usb {
label = "sap-g3200u3:green:usb";
gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
+ trigger-sources = <&xhci_ehci_port1>, <&ehci_port2>;
+ linux,default-trigger = "usbport";
};
};
diff --git a/target/linux/ramips/dts/SK-WB8.dts b/target/linux/ramips/dts/SK-WB8.dts
index 7cbd205acc..0216229c5e 100644
--- a/target/linux/ramips/dts/SK-WB8.dts
+++ b/target/linux/ramips/dts/SK-WB8.dts
@@ -32,6 +32,8 @@
usb {
label = "sk-wb8:green:usb";
gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
+ trigger-sources = <&xhci_ehci_port1>, <&ehci_port2>;
+ linux,default-trigger = "usbport";
};
};
diff --git a/target/linux/ramips/dts/TEW-714TRU.dts b/target/linux/ramips/dts/TEW-714TRU.dts
index 0fc798ee11..b9cb5ba774 100644
--- a/target/linux/ramips/dts/TEW-714TRU.dts
+++ b/target/linux/ramips/dts/TEW-714TRU.dts
@@ -15,6 +15,8 @@
usb {
label = "tew-714tru:red:usb";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
+ trigger-sources = <&ohci_port1>, <&ehci_port1>;
+ linux,default-trigger = "usbport";
};
wifi {
diff --git a/target/linux/ramips/dts/TINY-AC.dts b/target/linux/ramips/dts/TINY-AC.dts
index ed539b1d0e..e81f0cbdb3 100644
--- a/target/linux/ramips/dts/TINY-AC.dts
+++ b/target/linux/ramips/dts/TINY-AC.dts
@@ -19,6 +19,8 @@
usb {
label = "tiny-ac:green:usb";
gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
+ trigger-sources = <&ohci_port1>, <&ehci_port1>;
+ linux,default-trigger = "usbport";
};
wifi {
diff --git a/target/linux/ramips/dts/TL-MR3020V3.dts b/target/linux/ramips/dts/TL-MR3020V3.dts
index 5bc1a82cc4..8bd26d6d35 100644
--- a/target/linux/ramips/dts/TL-MR3020V3.dts
+++ b/target/linux/ramips/dts/TL-MR3020V3.dts
@@ -57,6 +57,8 @@
wan {
label = "tl-mr3020-v3:green:3g";
gpios = <&gpio1 11 GPIO_ACTIVE_LOW>;
+ trigger-sources = <&ehci_port1>, <&ohci_port1>;
+ linux,default-trigger = "usbport";
};
wlan {
diff --git a/target/linux/ramips/dts/TL-MR3420V5.dts b/target/linux/ramips/dts/TL-MR3420V5.dts
index 8845e8075b..e2f90721ed 100644
--- a/target/linux/ramips/dts/TL-MR3420V5.dts
+++ b/target/linux/ramips/dts/TL-MR3420V5.dts
@@ -46,6 +46,8 @@
usb {
label = "tl-mr3420-v5:green:usb";
gpios = <&gpio0 3 GPIO_ACTIVE_LOW>;
+ trigger-sources = <&ohci_port1>, <&ehci_port1>;
+ linux,default-trigger = "usbport";
};
wan {
diff --git a/target/linux/ramips/dts/TL-WR842NV5.dts b/target/linux/ramips/dts/TL-WR842NV5.dts
index c20e780617..2d6307de72 100644
--- a/target/linux/ramips/dts/TL-WR842NV5.dts
+++ b/target/linux/ramips/dts/TL-WR842NV5.dts
@@ -46,6 +46,8 @@
usb {
label = "tl-wr842n-v5:green:usb";
gpios = <&gpio0 3 GPIO_ACTIVE_LOW>;
+ trigger-sources = <&ohci_port1>, <&ehci_port1>;
+ linux,default-trigger = "usbport";
};
wan {
diff --git a/target/linux/ramips/dts/TL-WR902ACV3.dts b/target/linux/ramips/dts/TL-WR902ACV3.dts
index 014c545e9e..3490dc7b15 100644
--- a/target/linux/ramips/dts/TL-WR902ACV3.dts
+++ b/target/linux/ramips/dts/TL-WR902ACV3.dts
@@ -58,6 +58,8 @@
usb {
label = "tl-wr902ac-v3:green:usb";
gpios = <&gpio1 11 GPIO_ACTIVE_LOW>;
+ trigger-sources = <&ohci_port1>, <&ehci_port1>;
+ linux,default-trigger = "usbport";
};
wan {
diff --git a/target/linux/ramips/dts/U7628-01.dtsi b/target/linux/ramips/dts/U7628-01.dtsi
index f9f94be82f..6de61a7085 100644
--- a/target/linux/ramips/dts/U7628-01.dtsi
+++ b/target/linux/ramips/dts/U7628-01.dtsi
@@ -99,6 +99,8 @@
usb {
label = "u7628-01:green:usb";
gpios = <&gpio1 5 GPIO_ACTIVE_LOW>;
+ trigger-sources = <&ohci_port1>, <&ehci_port1>;
+ linux,default-trigger = "usbport";
};
};
};
diff --git a/target/linux/ramips/dts/W2914NSV2.dts b/target/linux/ramips/dts/W2914NSV2.dts
index e1a9c41626..4c13122c11 100644
--- a/target/linux/ramips/dts/W2914NSV2.dts
+++ b/target/linux/ramips/dts/W2914NSV2.dts
@@ -16,6 +16,8 @@
usb {
label = "w2914nsv2:green:usb";
gpios = <&gpio0 27 GPIO_ACTIVE_LOW>;
+ trigger-sources = <&xhci_ehci_port1>, <&ehci_port2>;
+ linux,default-trigger = "usbport";
};
};
};
diff --git a/target/linux/ramips/dts/W502U.dts b/target/linux/ramips/dts/W502U.dts
index 6b8775ef38..9276ce8714 100644
--- a/target/linux/ramips/dts/W502U.dts
+++ b/target/linux/ramips/dts/W502U.dts
@@ -59,6 +59,8 @@
usb {
label = "w502u:blue:usb";
gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
+ trigger-sources = <&otg_port1>;
+ linux,default-trigger = "usbport";
};
led_wps: wps {
diff --git a/target/linux/ramips/dts/WCR150GN.dts b/target/linux/ramips/dts/WCR150GN.dts
index 93c7c54932..f67aef3ada 100644
--- a/target/linux/ramips/dts/WCR150GN.dts
+++ b/target/linux/ramips/dts/WCR150GN.dts
@@ -55,6 +55,8 @@
user {
label = "wcr-150gn:amber:user";
gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
+ trigger-sources = <&otg_port1>;
+ linux,default-trigger = "usbport";
};
led_power: power {
diff --git a/target/linux/ramips/dts/WE1026-5G.dtsi b/target/linux/ramips/dts/WE1026-5G.dtsi
index f82c4b94b1..e6c4b8c1b6 100644
--- a/target/linux/ramips/dts/WE1026-5G.dtsi
+++ b/target/linux/ramips/dts/WE1026-5G.dtsi
@@ -53,6 +53,8 @@
usb {
label = "we1026-5g:green:usb";
gpios = <&gpio2 2 GPIO_ACTIVE_HIGH>;
+ trigger-sources = <&ohci_port1>, <&ehci_port1>;
+ linux,default-trigger = "usbport";
};
wifi {
diff --git a/target/linux/ramips/dts/WF-2881.dts b/target/linux/ramips/dts/WF-2881.dts
index 17011b1e39..ac3ce70887 100644
--- a/target/linux/ramips/dts/WF-2881.dts
+++ b/target/linux/ramips/dts/WF-2881.dts
@@ -28,6 +28,8 @@
usb {
label = "wf-2881:green:usb";
gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
+ trigger-sources = <&xhci_ehci_port1>, <&ehci_port2>;
+ linux,default-trigger = "usbport";
};
led_wps: wps {
diff --git a/target/linux/ramips/dts/WR1200JS.dts b/target/linux/ramips/dts/WR1200JS.dts
index f791648641..43ec413300 100644
--- a/target/linux/ramips/dts/WR1200JS.dts
+++ b/target/linux/ramips/dts/WR1200JS.dts
@@ -38,6 +38,8 @@
usb {
label = "wr1200js:blue:usb";
gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
+ trigger-sources = <&xhci_ehci_port1>, <&ehci_port2>;
+ linux,default-trigger = "usbport";
};
};
diff --git a/target/linux/ramips/dts/Y1.dts b/target/linux/ramips/dts/Y1.dts
index d9d00f082f..1ce64daee0 100644
--- a/target/linux/ramips/dts/Y1.dts
+++ b/target/linux/ramips/dts/Y1.dts
@@ -31,6 +31,8 @@
usb {
label = "y1:blue:usb";
gpios = <&gpio2 12 GPIO_ACTIVE_LOW>;
+ trigger-sources = <&ohci_port1>, <&ehci_port1>;
+ linux,default-trigger = "usbport";
};
lan {
diff --git a/target/linux/ramips/dts/Y1S.dts b/target/linux/ramips/dts/Y1S.dts
index 51bd10d75a..c2f6c07c2a 100644
--- a/target/linux/ramips/dts/Y1S.dts
+++ b/target/linux/ramips/dts/Y1S.dts
@@ -62,6 +62,8 @@
usb2 {
label = "y1s:blue:usb";
gpios = <&gpio2 12 GPIO_ACTIVE_LOW>;
+ trigger-sources = <&ohci_port1>, <&ehci_port1>;
+ linux,default-trigger = "usbport";
};
internet {
diff --git a/target/linux/ramips/dts/YOUKU-YK1.dts b/target/linux/ramips/dts/YOUKU-YK1.dts
index 5c0699e2eb..3dda713e46 100644
--- a/target/linux/ramips/dts/YOUKU-YK1.dts
+++ b/target/linux/ramips/dts/YOUKU-YK1.dts
@@ -26,6 +26,8 @@
usb {
label = "youku-yk1:blue:usb";
gpios = <&gpio1 11 GPIO_ACTIVE_LOW>;
+ trigger-sources = <&ohci_port1>, <&ehci_port1>;
+ linux,default-trigger = "usbport";
};
led_power: power {
label = "youku-yk1:blue:power";
diff --git a/target/linux/ramips/dts/ZBT-WA05.dts b/target/linux/ramips/dts/ZBT-WA05.dts
index bd5bdb26b7..73b57ceddf 100644
--- a/target/linux/ramips/dts/ZBT-WA05.dts
+++ b/target/linux/ramips/dts/ZBT-WA05.dts
@@ -28,6 +28,8 @@
usb {
label = "zbt-wa05:blue:usb";
gpios = <&gpio1 15 GPIO_ACTIVE_HIGH>;
+ trigger-sources = <&ohci_port1>, <&ehci_port1>;
+ linux,default-trigger = "usbport";
};
air {
diff --git a/target/linux/ramips/dts/ZBT-WE826.dtsi b/target/linux/ramips/dts/ZBT-WE826.dtsi
index 1210568ca9..a46af06323 100644
--- a/target/linux/ramips/dts/ZBT-WE826.dtsi
+++ b/target/linux/ramips/dts/ZBT-WE826.dtsi
@@ -23,6 +23,8 @@
usb {
label = "zbt-we826:green:usb";
gpios = <&gpio1 15 GPIO_ACTIVE_HIGH>;
+ trigger-sources = <&ohci_port1>, <&ehci_port1>;
+ linux,default-trigger = "usbport";
};
air {
label = "zbt-we826:green:wifi";
diff --git a/target/linux/ramips/dts/ZBT-WR8305RT.dts b/target/linux/ramips/dts/ZBT-WR8305RT.dts
index 5286090971..606154ea47 100644
--- a/target/linux/ramips/dts/ZBT-WR8305RT.dts
+++ b/target/linux/ramips/dts/ZBT-WR8305RT.dts
@@ -24,6 +24,8 @@
lan {
label = "zbt-wr8305rt:green:usb";
gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
+ trigger-sources = <&ohci_port1>, <&ehci_port1>;
+ linux,default-trigger = "usbport";
};
wifi {
diff --git a/target/linux/ramips/dts/ki_rb.dts b/target/linux/ramips/dts/ki_rb.dts
index ea4b060777..bc4ba81b4a 100644
--- a/target/linux/ramips/dts/ki_rb.dts
+++ b/target/linux/ramips/dts/ki_rb.dts
@@ -67,6 +67,8 @@
usb {
label = "keenetic-extra-ii:green:usb";
gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
+ trigger-sources = <&ohci_port1>, <&ehci_port1>;
+ linux,default-trigger = "usbport";
};
};
diff --git a/target/linux/ramips/dts/kn.dts b/target/linux/ramips/dts/kn.dts
index eccd52a992..da87444e12 100644
--- a/target/linux/ramips/dts/kn.dts
+++ b/target/linux/ramips/dts/kn.dts
@@ -60,6 +60,8 @@
usb {
label = "kn:green:usb";
gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
+ trigger-sources = <&otg_port1>;
+ linux,default-trigger = "usbport";
};
wps {
diff --git a/target/linux/ramips/dts/kn_rc.dts b/target/linux/ramips/dts/kn_rc.dts
index 461e726fe3..8780dd77e5 100644
--- a/target/linux/ramips/dts/kn_rc.dts
+++ b/target/linux/ramips/dts/kn_rc.dts
@@ -24,6 +24,8 @@
usb {
label = "kn_rc:green:usb";
gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
+ trigger-sources = <&ohci_port1>, <&ehci_port1>;
+ linux,default-trigger = "usbport";
};
wifi {
diff --git a/target/linux/ramips/dts/kn_rf.dts b/target/linux/ramips/dts/kn_rf.dts
index 184cbd2386..eda44a4c5c 100644
--- a/target/linux/ramips/dts/kn_rf.dts
+++ b/target/linux/ramips/dts/kn_rf.dts
@@ -24,6 +24,8 @@
usb {
label = "kn_rc:green:usb";
gpios = <&gpio0 20 GPIO_ACTIVE_LOW>;
+ trigger-sources = <&ohci_port1>, <&ehci_port1>;
+ linux,default-trigger = "usbport";
};
wifi {
diff --git a/target/linux/ramips/dts/kng_rc.dts b/target/linux/ramips/dts/kng_rc.dts
index 2aea16c21b..325522ec90 100644
--- a/target/linux/ramips/dts/kng_rc.dts
+++ b/target/linux/ramips/dts/kng_rc.dts
@@ -24,6 +24,8 @@
usb {
label = "kng_rc:green:usb";
gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
+ trigger-sources = <&ohci_port1>, <&ehci_port1>;
+ linux,default-trigger = "usbport";
};
power_alert {
diff --git a/target/linux/ramips/dts/mt7620a.dtsi b/target/linux/ramips/dts/mt7620a.dtsi
index a242684fd8..2d6ec49370 100644
--- a/target/linux/ramips/dts/mt7620a.dtsi
+++ b/target/linux/ramips/dts/mt7620a.dtsi
@@ -510,6 +510,8 @@
};
ehci: ehci@101c0000 {
+ #address-cells = <1>;
+ #size-cells = <0>;
compatible = "generic-ehci";
reg = <0x101c0000 0x1000>;
@@ -520,9 +522,16 @@
phy-names = "usb";
status = "disabled";
+
+ ehci_port1: port@1 {
+ reg = <1>;
+ #trigger-source-cells = <0>;
+ };
};
ohci: ohci@101c1000 {
+ #address-cells = <1>;
+ #size-cells = <0>;
compatible = "generic-ohci";
reg = <0x101c1000 0x1000>;
@@ -533,6 +542,11 @@
phy-names = "usb";
status = "disabled";
+
+ ohci_port1: port@1 {
+ reg = <1>;
+ #trigger-source-cells = <0>;
+ };
};
pcie: pcie@10140000 {
diff --git a/target/linux/ramips/dts/mt7620n.dtsi b/target/linux/ramips/dts/mt7620n.dtsi
index 1a72e98f09..7fa15a6cef 100644
--- a/target/linux/ramips/dts/mt7620n.dtsi
+++ b/target/linux/ramips/dts/mt7620n.dtsi
@@ -349,6 +349,8 @@
};
ehci: ehci@101c0000 {
+ #address-cells = <1>;
+ #size-cells = <0>;
compatible = "generic-ehci";
reg = <0x101c0000 0x1000>;
@@ -359,9 +361,16 @@
phy-names = "usb";
status = "disabled";
+
+ ehci_port1: port@1 {
+ reg = <1>;
+ #trigger-source-cells = <0>;
+ };
};
ohci: ohci@101c1000 {
+ #address-cells = <1>;
+ #size-cells = <0>;
compatible = "generic-ohci";
reg = <0x101c1000 0x1000>;
@@ -372,6 +381,11 @@
interrupts = <18>;
status = "disabled";
+
+ ohci_port1: port@1 {
+ reg = <1>;
+ #trigger-source-cells = <0>;
+ };
};
wmac: wmac@10180000 {
diff --git a/target/linux/ramips/dts/mt7621.dtsi b/target/linux/ramips/dts/mt7621.dtsi
index f3f47cdc92..aa85aee6cb 100644
--- a/target/linux/ramips/dts/mt7621.dtsi
+++ b/target/linux/ramips/dts/mt7621.dtsi
@@ -347,6 +347,8 @@
};
xhci: xhci@1E1C0000 {
+ #address-cells = <1>;
+ #size-cells = <0>;
status = "okay";
compatible = "mediatek,mt8173-xhci";
@@ -359,6 +361,25 @@
interrupt-parent = <&gic>;
interrupts = <GIC_SHARED 22 IRQ_TYPE_LEVEL_HIGH>;
+
+ /*
+ * Port 1 of both hubs is one usb slot and referenced here.
+ * The binding doesn't allow to address individual hubs.
+ * hub 1 - port 1 is ehci and ohci, hub 2 - port 1 is xhci.
+ */
+ xhci_ehci_port1: port@1 {
+ reg = <1>;
+ #trigger-source-cells = <0>;
+ };
+
+ /*
+ * Only the second usb hub has a second port. That port serves
+ * ehci and ohci.
+ */
+ ehci_port2: port@2 {
+ reg = <2>;
+ #trigger-source-cells = <0>;
+ };
};
gic: interrupt-controller@1fbc0000 {
diff --git a/target/linux/ramips/dts/mt7628an.dtsi b/target/linux/ramips/dts/mt7628an.dtsi
index 43e201699e..b8a8bb9103 100644
--- a/target/linux/ramips/dts/mt7628an.dtsi
+++ b/target/linux/ramips/dts/mt7628an.dtsi
@@ -402,6 +402,8 @@
};
ehci: ehci@101c0000 {
+ #address-cells = <1>;
+ #size-cells = <0>;
compatible = "generic-ehci";
reg = <0x101c0000 0x1000>;
@@ -410,9 +412,16 @@
interrupt-parent = <&intc>;
interrupts = <18>;
+
+ ehci_port1: port@1 {
+ reg = <1>;
+ #trigger-source-cells = <0>;
+ };
};
ohci: ohci@101c1000 {
+ #address-cells = <1>;
+ #size-cells = <0>;
compatible = "generic-ohci";
reg = <0x101c1000 0x1000>;
@@ -421,6 +430,11 @@
interrupt-parent = <&intc>;
interrupts = <18>;
+
+ ohci_port1: port@1 {
+ reg = <1>;
+ #trigger-source-cells = <0>;
+ };
};
ethernet: ethernet@10100000 {
diff --git a/target/linux/ramips/dts/rt3050.dtsi b/target/linux/ramips/dts/rt3050.dtsi
index 75f1229c92..40b1b2126c 100644
--- a/target/linux/ramips/dts/rt3050.dtsi
+++ b/target/linux/ramips/dts/rt3050.dtsi
@@ -335,6 +335,8 @@
};
otg: otg@101c0000 {
+ #address-cells = <1>;
+ #size-cells = <0>;
compatible = "ralink,rt3050-otg", "snps,dwc2";
reg = <0x101c0000 0x40000>;
@@ -345,5 +347,10 @@
reset-names = "otg";
status = "disabled";
+
+ otg_port1: port@1 {
+ reg = <1>;
+ #trigger-source-cells = <0>;
+ };
};
};
diff --git a/target/linux/ramips/dts/rt3352.dtsi b/target/linux/ramips/dts/rt3352.dtsi
index a609afd73d..547de2cb4c 100644
--- a/target/linux/ramips/dts/rt3352.dtsi
+++ b/target/linux/ramips/dts/rt3352.dtsi
@@ -358,6 +358,8 @@
};
ehci: ehci@101c0000 {
+ #address-cells = <1>;
+ #size-cells = <0>;
compatible = "generic-ehci";
reg = <0x101c0000 0x1000>;
@@ -368,9 +370,16 @@
interrupts = <18>;
status = "disabled";
+
+ ehci_port1: port@1 {
+ reg = <1>;
+ #trigger-source-cells = <0>;
+ };
};
ohci: ohci@101c1000 {
+ #address-cells = <1>;
+ #size-cells = <0>;
compatible = "generic-ohci";
reg = <0x101c1000 0x1000>;
@@ -381,5 +390,10 @@
interrupts = <18>;
status = "disabled";
+
+ ohci_port1: port@1 {
+ reg = <1>;
+ #trigger-source-cells = <0>;
+ };
};
};
diff --git a/target/linux/ramips/dts/rt3883.dtsi b/target/linux/ramips/dts/rt3883.dtsi
index 2a62327d80..ce71c915c0 100644
--- a/target/linux/ramips/dts/rt3883.dtsi
+++ b/target/linux/ramips/dts/rt3883.dtsi
@@ -456,6 +456,8 @@
};
ehci: ehci@101c0000 {
+ #address-cells = <1>;
+ #size-cells = <0>;
compatible = "generic-ehci";
reg = <0x101c0000 0x1000>;
@@ -466,9 +468,16 @@
interrupts = <18>;
status = "disabled";
+
+ ehci_port1: port@1 {
+ reg = <1>;
+ #trigger-source-cells = <0>;
+ };
};
ohci: ohci@101c1000 {
+ #address-cells = <1>;
+ #size-cells = <0>;
compatible = "generic-ohci";
reg = <0x101c1000 0x1000>;
@@ -479,5 +488,10 @@
interrupts = <18>;
status = "disabled";
+
+ ohci_port1: port@1 {
+ reg = <1>;
+ #trigger-source-cells = <0>;
+ };
};
};
diff --git a/target/linux/ramips/dts/rt5350.dtsi b/target/linux/ramips/dts/rt5350.dtsi
index f14162a588..1cc35f12a3 100644
--- a/target/linux/ramips/dts/rt5350.dtsi
+++ b/target/linux/ramips/dts/rt5350.dtsi
@@ -372,6 +372,8 @@
};
ehci: ehci@101c0000 {
+ #address-cells = <1>;
+ #size-cells = <0>;
compatible = "generic-ehci";
reg = <0x101c0000 0x1000>;
@@ -380,9 +382,16 @@
interrupt-parent = <&intc>;
interrupts = <18>;
+
+ ehci_port1: port@1 {
+ reg = <1>;
+ #trigger-source-cells = <0>;
+ };
};
ohci: ohci@101c1000 {
+ #address-cells = <1>;
+ #size-cells = <0>;
compatible = "generic-ohci";
reg = <0x101c1000 0x1000>;
@@ -391,5 +400,10 @@
interrupt-parent = <&intc>;
interrupts = <18>;
+
+ ohci_port1: port@1 {
+ reg = <1>;
+ #trigger-source-cells = <0>;
+ };
};
};