[PATCH 3/3] ARM: dts: imx6sl-warp: Fix OTG roles
Fabio Estevam
festevam at gmail.com
Thu Apr 30 15:55:30 PDT 2015
From: Fabio Estevam <fabio.estevam at freescale.com>
USBOTG1 always work on peripheral mode and USBOTG in host mode, so fix
their roles accordingly.
Tested by mounting the MMC card as a storage device:
modprobe g_mass_storage file=/dev/mmcblk0p2
Signed-off-by: Fabio Estevam <fabio.estevam at freescale.com>
---
arch/arm/boot/dts/imx6sl-warp.dts | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/imx6sl-warp.dts b/arch/arm/boot/dts/imx6sl-warp.dts
index cec189a..0da906b 100644
--- a/arch/arm/boot/dts/imx6sl-warp.dts
+++ b/arch/arm/boot/dts/imx6sl-warp.dts
@@ -87,12 +87,13 @@
};
&usbotg1 {
- dr_mode = "host";
+ dr_mode = "peripheral";
disable-over-current;
status = "okay";
};
&usbotg2 {
+ dr_mode = "host";
disable-over-current;
status = "okay";
};
--
1.9.1
More information about the linux-arm-kernel
mailing list