Skip to content

Commit

Permalink
ARM: dts: imx6sl-warp: Fix OTG roles
Browse files Browse the repository at this point in the history
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@freescale.com>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
  • Loading branch information
Fabio Estevam authored and Shawn Guo committed Jun 3, 2015
1 parent d000d5e commit 0c1e189
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion arch/arm/boot/dts/imx6sl-warp.dts
Original file line number Diff line number Diff line change
Expand Up @@ -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";
};
Expand Down

0 comments on commit 0c1e189

Please sign in to comment.