lantiq: initialise dwc2 on danube
authorBen Mulvihill <ben.mulvihill@gmail.com>
Tue, 8 Nov 2016 21:02:42 +0000 (22:02 +0100)
committerJohn Crispin <john@phrozen.org>
Mon, 21 Nov 2016 10:03:59 +0000 (11:03 +0100)
Initialise dwc2 usb driver on danube boards as well as ar9 and vr9.

Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com>
target/linux/lantiq/patches-4.4/0039-MIPS-lantiq-danube-initialize-usb-on-boot.patch [new file with mode: 0644]

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 (file)
index 0000000..e11578a
--- /dev/null
@@ -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();