From c82d5b30e10e6987bb73119c2c08ec9ff4a504dd Mon Sep 17 00:00:00 2001
From: Ben Mulvihill <ben.mulvihill@gmail.com>
Date: Tue, 8 Nov 2016 22:02:42 +0100
Subject: [PATCH] lantiq: initialise dwc2 on danube

Initialise dwc2 usb driver on danube boards as well as ar9 and vr9.

Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com>
---
 ...039-MIPS-lantiq-danube-initialize-usb-on-boot.patch | 10 ++++++++++
 1 file changed, 10 insertions(+)
 create mode 100644 target/linux/lantiq/patches-4.4/0039-MIPS-lantiq-danube-initialize-usb-on-boot.patch

diff --git a/target/linux/lantiq/patches-4.4/0039-MIPS-lantiq-danube-initialize-usb-on-boot.patch b/target/linux/lantiq/patches-4.4/0039-MIPS-lantiq-danube-initialize-usb-on-boot.patch
new file mode 100644
index 0000000000..e11578a755
--- /dev/null
+++ b/target/linux/lantiq/patches-4.4/0039-MIPS-lantiq-danube-initialize-usb-on-boot.patch
@@ -0,0 +1,10 @@
+--- a/arch/mips/lantiq/xway/reset.c	2016-01-20 08:45:18.382597595 +0100
++++ b/arch/mips/lantiq/xway/reset.c	2016-01-20 08:45:31.927107016 +0100
+@@ -370,6 +370,7 @@ static int __init mips_reboot_setup(void
+ 		panic("Failed to remap core memory");
+ 
+ 	if (of_machine_is_compatible("lantiq,ar9") ||
++	    of_machine_is_compatible("lantiq,danube") ||
+ 	    of_machine_is_compatible("lantiq,vr9"))
+ 		ltq_usb_init();
+ 
-- 
GitLab