[OpenWrt-Devel] [PATCH 1/2][master+18.06] apm821xx: fix usb-otg on 4.14

Christian Lamparter chunkeey at gmail.com
Sat Jul 14 11:21:55 EDT 2018


Starting with 4.14, the "amcc,dwc-otg" needs to be used
in order to get the usb-otg to work.

Signed-off-by: Christian Lamparter <chunkeey at gmail.com>
---
Please add this patch to the current openwrt-18.06 branch.
---
 target/linux/apm821xx/dts/apm82181.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/target/linux/apm821xx/dts/apm82181.dtsi b/target/linux/apm821xx/dts/apm82181.dtsi
index cc48d200d7..be8ace9207 100644
--- a/target/linux/apm821xx/dts/apm82181.dtsi
+++ b/target/linux/apm821xx/dts/apm82181.dtsi
@@ -248,7 +248,7 @@
 		};
 
 		USBOTG0: usbotg at bff80000 {
-			compatible = "amcc,usb-otg-405ex";
+			compatible = "amcc,dwc-otg";
 			reg = <4 0xbff80000 0x10000>;
 			interrupt-parent = <&USBOTG0>;
 			interrupts = <0 1 2>;
-- 
2.18.0


_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list