From 5c06a31e23b9cc1b8c8a1a8e0ab58353fc925865 Mon Sep 17 00:00:00 2001
From: Ben Mulvihill <ben.mulvihill@gmail.com>
Date: Tue, 8 Nov 2016 22:03:03 +0100
Subject: [PATCH] lantiq: device tree bindings for dwc2 on danube

Device tree binding for dwc2 usb driver on danube.
Leave old ifxhcd-danube driver as an alternative.

Also adds dr_mode = "host" to eliminate warning on boot.

Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com>
---
 target/linux/lantiq/dts/danube.dtsi | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/target/linux/lantiq/dts/danube.dtsi b/target/linux/lantiq/dts/danube.dtsi
index 62e31d6bec..af691df2f8 100644
--- a/target/linux/lantiq/dts/danube.dtsi
+++ b/target/linux/lantiq/dts/danube.dtsi
@@ -139,11 +139,12 @@
 		};
 
 		ifxhcd@E101000 {
-			compatible = "lantiq,ifxhcd-danube";
+			compatible = "lantiq,ifxhcd-danube-dwc2", "lantiq,ifxhcd-danube";
 			reg = <0xE101000 0x1000
 				0xE120000 0x3f000>;
 			interrupt-parent = <&icu0>;
 			interrupts = <62>;
+			dr_mode = "host";
 			status = "disabled";
 		};
 
-- 
GitLab