[PATCH 2/2] ARM: dts: imx51-babbage: Add USB OTG support

Fabio Estevam festevam at gmail.com
Tue Mar 25 08:35:22 EDT 2014


From: Fabio Estevam <fabio.estevam at freescale.com>

Tested by pinging from the host PC to the imx51-babbage via a g_ether 
connection.

Signed-off by: Dave Ebright <dave.ebright at parsons.com>
Signed-off-by: Fabio Estevam <fabio.estevam at freescale.com>
---
For USB OTG to work on mx51 the following driver patch is needed:
http://marc.info/?l=linux-usb&m=139571614508749&w=2

 arch/arm/boot/dts/imx51-babbage.dts | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/arch/arm/boot/dts/imx51-babbage.dts b/arch/arm/boot/dts/imx51-babbage.dts
index 0a4301f..bd64400 100644
--- a/arch/arm/boot/dts/imx51-babbage.dts
+++ b/arch/arm/boot/dts/imx51-babbage.dts
@@ -571,3 +571,10 @@
 	phy_type = "ulpi";
 	status = "okay";
 };
+
+&usbotg {
+	dr_mode = "peripheral";
+	disable-over-current;
+	phy_type = "utmi";
+	status = "okay";
+};
-- 
1.8.1.2




More information about the linux-arm-kernel mailing list