From: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
Date: Fri, 5 Dec 2014 20:26:10 +0000 (+0100)
Subject: odroid-XU3: Add entry for DTS EHCI GPIO
X-Git-Tag: v2025.01-rc5-pxa1908~14136^2~3
X-Git-Url: http://git.dujemihanovic.xyz/img/static/gitweb.css?a=commitdiff_plain;h=ce88a25cc28a5ad76826c3ed0270d274bbd84de9;p=u-boot.git

odroid-XU3: Add entry for DTS EHCI GPIO

Add samsung,vbus-gpio information for the XU3. This allows the usage of
the EHCI controller on the XU3, which is connected to the SMSC LAN9514
chip (usb hub + network).

Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
---

diff --git a/arch/arm/dts/exynos5422-odroidxu3.dts b/arch/arm/dts/exynos5422-odroidxu3.dts
index cff32a991f..79a7acd7df 100644
--- a/arch/arm/dts/exynos5422-odroidxu3.dts
+++ b/arch/arm/dts/exynos5422-odroidxu3.dts
@@ -31,6 +31,10 @@
 			0xb0000000 0xea00000>;
 	};
 
+	ehci@12110000 {
+		samsung,vbus-gpio = <&gpio 0x66 0>; /* X26 */
+	};
+
 	serial@12C20000 {
 		status="okay";
 	};
diff --git a/include/configs/odroid_xu3.h b/include/configs/odroid_xu3.h
index a92b5cc4d2..9fa86603f6 100644
--- a/include/configs/odroid_xu3.h
+++ b/include/configs/odroid_xu3.h
@@ -44,6 +44,10 @@
 
 #define CONFIG_DEFAULT_CONSOLE		"console=ttySAC2,115200n8\0"
 
+/* USB */
+#define CONFIG_USB_EHCI
+#define CONFIG_USB_EHCI_EXYNOS
+
 /* FIXME: MUST BE REMOVED AFTER TMU IS TURNED ON */
 #undef CONFIG_EXYNOS_TMU
 #undef CONFIG_TMU_CMD_DTT