diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2015-05-01 00:55:30 +0200 |
---|---|---|
committer | Shawn Guo <shawn.guo@linaro.org> | 2015-06-03 09:03:58 +0200 |
commit | 0c1e18963d49bf41ea13c80ca17dd1e703c49739 (patch) | |
tree | 7b8a4a8ab4336f2b27cfe58aea2e4c69734bd6d2 /arch/arm/boot/dts/imx6sl-warp.dts | |
parent | ARM: dts: imx6sl-warp: Remove USB regulators (diff) | |
download | linux-0c1e18963d49bf41ea13c80ca17dd1e703c49739.tar.xz linux-0c1e18963d49bf41ea13c80ca17dd1e703c49739.zip |
ARM: dts: imx6sl-warp: Fix OTG roles
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>
Diffstat (limited to 'arch/arm/boot/dts/imx6sl-warp.dts')
-rw-r--r-- | arch/arm/boot/dts/imx6sl-warp.dts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/imx6sl-warp.dts b/arch/arm/boot/dts/imx6sl-warp.dts index cec189a16352..0da906bd8df2 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"; }; |