rpi4: boot: config: Add dwc2-tizen driver config
authorHoegeun Kwon <hoegeun.kwon@samsung.com>
Thu, 27 Oct 2022 10:55:48 +0000 (19:55 +0900)
committerHoegeun Kwon <hoegeun.kwon@samsung.com>
Wed, 23 Nov 2022 02:31:04 +0000 (11:31 +0900)
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>
rpi4/boot/config.txt
rpi4/boot/config_64bit.txt

index bfca726..fd8bb13 100644 (file)
@@ -63,6 +63,9 @@ max_framebuffers=2
 # 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]
index 86225a9..5be1b88 100644 (file)
@@ -63,6 +63,9 @@ max_framebuffers=2
 # 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]