From patchwork Wed Jan 29 20:15:43 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joris Offouga X-Patchwork-Id: 240475 List-Id: U-Boot discussion From: offougajoris at gmail.com (Joris Offouga) Date: Wed, 29 Jan 2020 21:15:43 +0100 Subject: [PATCH 4/4] mx7dsabre: Fix usbtog probe when use dfu or ums In-Reply-To: <20200129201543.4533-1-offougajoris@gmail.com> References: <20200129201543.4533-1-offougajoris@gmail.com> Message-ID: <20200129201543.4533-4-offougajoris@gmail.com> Before: => ums 0 mmc 0 UMS: LUN 0, dev 0, hwpart 0, sector 0x0, count 0x1dacc00 usb dr_mode not found CTRL+C - Operation aborted => dfu 0 mmc 0 usb dr_mode not found After : => ums 0 mmc 0 UMS: LUN 0, dev 0, hwpart 0, sector 0x0, count 0x1dacc00 => dfu 0 mmc 0 Signed-off-by: Joris Offouga --- arch/arm/dts/imx7d-sdb-u-boot.dtsi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm/dts/imx7d-sdb-u-boot.dtsi b/arch/arm/dts/imx7d-sdb-u-boot.dtsi index 05dd74eee1..b78358fa13 100644 --- a/arch/arm/dts/imx7d-sdb-u-boot.dtsi +++ b/arch/arm/dts/imx7d-sdb-u-boot.dtsi @@ -1,3 +1,7 @@ &fec2 { status = "disable"; }; + +&usbotg1 { + dr_mode = "peripheral"; +};