mx7dsabre: Fix usbtog probe when use dfu or ums
authorJoris Offouga <offougajoris@gmail.com>
Wed, 29 Jan 2020 21:06:01 +0000 (22:06 +0100)
committerStefano Babic <sbabic@denx.de>
Sun, 9 Feb 2020 13:59:54 +0000 (14:59 +0100)
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 <offougajoris@gmail.com>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
arch/arm/dts/imx7d-sdb-u-boot.dtsi

index 05dd74eee101de73677a9ade4fb02e306d861d1e..b78358fa13974f7d984aef7ec8fbb448d5eb1049 100644 (file)
@@ -1,3 +1,7 @@
 &fec2 {
        status = "disable";
 };
+
+&usbotg1 {
+       dr_mode = "peripheral";
+};