[PATCH v2 2/3] ARM: dts: imx6: pbab01: Set USB OTG port to peripheral

From: Stefan Riedmueller
Date: Mon Mar 29 2021 - 09:02:11 EST


Due to a hardware bug preventing the correct detection if the ID pin
the USB OTG port cannot be used in otg mode. It can either be set to
host or peripheral. Set it to peripheral so vbus is disabled by default.

Signed-off-by: Stefan Riedmueller <s.riedmueller@xxxxxxxxx>
Reviewed-by: Fabio Estevam <festevam@xxxxxxxxx>
---
Changes in v2:
- Added reviewed-by

arch/arm/boot/dts/imx6qdl-phytec-pbab01.dtsi | 1 +
1 file changed, 1 insertion(+)

diff --git a/arch/arm/boot/dts/imx6qdl-phytec-pbab01.dtsi b/arch/arm/boot/dts/imx6qdl-phytec-pbab01.dtsi
index d434868e870a..b2f78b4362cb 100644
--- a/arch/arm/boot/dts/imx6qdl-phytec-pbab01.dtsi
+++ b/arch/arm/boot/dts/imx6qdl-phytec-pbab01.dtsi
@@ -164,6 +164,7 @@ &usbh1 {

&usbotg {
status = "okay";
+ dr_mode = "peripheral";
};

&usdhc2 {
--
2.25.1