[OpenWrt-Devel] [PATCH] ramips: mt7620 ArcherC20i USB support

Gunnar Thorburn gunnar at thorburn.se
Thu Jul 9 14:51:59 EDT 2015


USB port of TP-Link Archer C20i does not work with trunk and CC.
This patch adds two nodes (ehci and ohci) to the device tree enabling USB.

Signed-off-by: Gunnar Thorburn <gunnar at thorburn.se>

---
 target/linux/ramips/dts/ArcherC20i.dts | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/target/linux/ramips/dts/ArcherC20i.dts b/target/linux/ramips/dts/ArcherC20i.dts
index a5037c9..cc3d5c1 100644
--- a/target/linux/ramips/dts/ArcherC20i.dts
+++ b/target/linux/ramips/dts/ArcherC20i.dts
@@ -77,6 +77,14 @@
 		ralink,port-map = "wllll";
 	};
 
+	ehci at 101c0000 {
+		status = "okay";
+	};
+
+	ohci at 101c1000 {
+		status = "okay";
+	};
+
 	gsw at 10110000 {
 		ralink,port4 = "ephy";
 	};
-- 
2.1.4
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list