ARM: dts: keystone: specify usb mode explicitly
authorGrygorii Strashko <grygorii.strashko@ti.com>
Wed, 31 Aug 2016 20:29:59 +0000 (16:29 -0400)
committerSantosh Shilimkar <ssantosh@kernel.org>
Wed, 31 Aug 2016 20:29:59 +0000 (16:29 -0400)
commit644978440c7f621281a7b068b92a12250e8d4793
tree58b991394966d1053662a0e035717dd3dc6a8ab8
parent29b4817d4018df78086157ea3a55c1d9424a7cfc
ARM: dts: keystone: specify usb mode explicitly

The USB OTG mode is not supported by Kestone 2 devices, as result, the
USB devices enumeration and detection will not work properly when
kernel is built with CONFIG_USB_DWC3_DUAL_ROLE=y (default for multi
platform build):
 - it's required to load gadget drivers manually to make host mode
work and this confuses current Keystone 2 users
 - device mode is not working, because port can't detect and switch to
peripheral/host mode dynamically.

Hence, specify usb mode explicitly in DT: usb0 = "host" for all KS2
devices and usb1 = "peripheral" for K2E.

Cc: Sekhar Nori <nsekhar@ti.com>
Cc: Roger Quadros <rogerq@ti.com>
Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Santosh Shilimkar <ssantosh@kernel.org>
arch/arm/boot/dts/keystone-k2e-evm.dts
arch/arm/boot/dts/keystone-k2e.dtsi
arch/arm/boot/dts/keystone-k2hk-evm.dts
arch/arm/boot/dts/keystone-k2l-evm.dts
arch/arm/boot/dts/keystone.dtsi