ARM: dts: bcm2711-rpi-4-b: Set dwc2 mode as peripheral 47/271847/1 accepted/tizen/unified/20220303.131747 submit/tizen/20220302.105130
authorDongwoo Lee <dwoo08.lee@samsung.com>
Wed, 2 Mar 2022 09:13:13 +0000 (18:13 +0900)
committerDongwoo Lee <dwoo08.lee@samsung.com>
Wed, 2 Mar 2022 09:13:13 +0000 (18:13 +0900)
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: I78bc6c683c4d095283219b1ab3066fbe7d0c6e53
Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com>
arch/arm/boot/dts/bcm2711-rpi-4-b.dts

index b314360..53bb3b7 100644 (file)
@@ -754,7 +754,7 @@ cam0_reg: &cam_dummy_reg {
 
 &usb {
        compatible = "brcm,bcm2835-usb";
-       dr_mode = "otg";
+       dr_mode = "peripheral";
        g-np-tx-fifo-size = <32>;
        g-rx-fifo-size = <558>;
        g-tx-fifo-size = <512 512 512 512 512 256 256>;