From: Christian Lamparter <chunkeey@gmail.com>
Date: Sat, 14 Jul 2018 15:21:55 +0000 (+0200)
Subject: apm821xx: fix usb-otg on 4.14
X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=12b80f1cabf0a7995637fc9b0831b3e9f881f9e6;p=openwrt%2Fstaging%2Fldir.git

apm821xx: fix usb-otg on 4.14

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@gmail.com>
---

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@bff80000 {
-			compatible = "amcc,usb-otg-405ex";
+			compatible = "amcc,dwc-otg";
 			reg = <4 0xbff80000 0x10000>;
 			interrupt-parent = <&USBOTG0>;
 			interrupts = <0 1 2>;