Skip to contentSkip to conversation

ARM: dts: imx25-pdk: Add USB OTG support

PATCH New Fabio Estevam 2 participants 3 messages Jun 25, 2014 – Jul 1, 2014

Subsystems (3)
lore
Share & tools
lore

Fabio Estevam

author reviewer
#0 lore raw

PATCH 1/2 ARM: dts: imx25-pdk: Add USB OTG support

From: Fabio Estevam <[email protected]>

Tested by loading the g_ether module and doing a ping between mx25pdk and the host PC via USB.

---
 arch/arm/boot/dts/imx25-pdk.dts | 7 +++++++
 1 file changed, 7 insertions(+)
arch/arm/boot/dts/imx25-pdk.dts +7 -0
index 8f9a424..9c21b15 100644
@@ -248,3 +248,10 @@
 	dr_mode = "host";
 	status = "okay";
 };
+
+&usbotg {
+	phy_type = "utmi";
+	dr_mode = "otg";
+	external-vbus-divider;
+	status = "okay";
+};
Signature · 1 line
1.8.3.2
author reviewer
#1 lore raw

PATCH 2/2 ARM: imx_v4_v5_defconfig: Add USB device options

From: Fabio Estevam <[email protected]>

Allow USB device to work by default.

---
 arch/arm/configs/imx_v4_v5_defconfig | 2 ++
 1 file changed, 2 insertions(+)
arch/arm/configs/imx_v4_v5_defconfig +2 -0
index 68abce9..090de01 100644
@@ -159,6 +159,8 @@ CONFIG_USB_CHIPIDEA=y
 CONFIG_USB_CHIPIDEA_UDC=y
 CONFIG_USB_CHIPIDEA_HOST=y
 CONFIG_NOP_USB_XCEIV=y
+CONFIG_USB_GADGET=y
+CONFIG_USB_ETH=m
 CONFIG_MMC=y
 CONFIG_MMC_SDHCI=y
 CONFIG_MMC_SDHCI_PLTFM=y
Signature · 1 line
1.8.3.2