ARM: dts: STiH410: set DWC3 dual role mode to peripheral
authorPatrice Chotard <patrice.chotard@st.com>
Tue, 5 Sep 2017 09:04:25 +0000 (11:04 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 22 Sep 2017 11:39:59 +0000 (07:39 -0400)
On STi 96boards, configure by default the micro USB connector
(managed by DWC3 hardware block) in peripheral mode.
This will allow to use fastboot feature.

Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/arm/dts/stih407-family.dtsi

index 452ac1cdceae9dfcce778f96f7206d8ff1bb986f..6c6de58029cfed66aca9ddc482a0c6adaca8eb72 100644 (file)
                                compatible      = "snps,dwc3";
                                reg             = <0x09900000 0x100000>;
                                interrupts      = <GIC_SPI 155 IRQ_TYPE_NONE>;
-                               dr_mode         = "host";
+                               dr_mode         = "peripheral";
                                phy-names       = "usb2-phy", "usb3-phy";
                                phys            = <&usb2_picophy0>,
                                                  <&phy_port2 PHY_TYPE_USB3>;