ARM: dts: imx6sl-warp: Fix OTG roles
authorFabio Estevam <fabio.estevam@freescale.com>
Thu, 30 Apr 2015 22:55:30 +0000 (19:55 -0300)
committerShawn Guo <shawn.guo@linaro.org>
Wed, 3 Jun 2015 07:03:58 +0000 (15:03 +0800)
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>
arch/arm/boot/dts/imx6sl-warp.dts

index cec189a16352f367d9a6bd6bb89bf805d771ac61..0da906bd8df2d8ca394e474debb0dbe51eb855d6 100644 (file)
 };
 
 &usbotg1 {
-       dr_mode = "host";
+       dr_mode = "peripheral";
        disable-over-current;
        status = "okay";
 };
 
 &usbotg2 {
+       dr_mode = "host";
        disable-over-current;
        status = "okay";
 };