Add dwc2-tizen driver config for using dwc2-tizen dts by overlays dtb.
Alwo, If dwc2 mode is set to otg, forcing dwc2 mode as peripheral is
proceeded in the early boot time, but since tizen configures the gadget
with configfs after system is prepared. It causes enumeration problem.
To prevent it, default mode will be fixed as peripheral. Actully, since
type-c usb port is only used as power-source and peripheral port, it is
more precise setting though.
Change-Id: I53266309475c397db14f212d81ee64ec1d933a45
Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com>
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
# Disable ID_SC and ID_SD pins to use UART2
force_eeprom_read=0
+# Enable dwc2 driver
+dtoverlay=dwc2-tizen,dr_mode=peripheral
+
kernel=u-boot.bin
[all]
# Disable ID_SC and ID_SD pins to use UART2
force_eeprom_read=0
+# Enable dwc2 driver
+dtoverlay=dwc2-tizen,dr_mode=peripheral
+
kernel=u-boot.bin
[all]