Message ID | 20240506143846.1252377-4-martyn.welch@collabora.com |
---|---|
State | Accepted |
Commit | 6165b923e89ce50b1f3566057d98bc556f39c807 |
Delegated to: | Tom Rini |
Headers | show |
Series | Add DFU and usb boot for TI am62x SK and beagleplay | expand |
Hi Martyn, Thank you for the patch. On lun., mai 06, 2024 at 15:38, Martyn Welch <martyn.welch@collabora.com> wrote: > From: Sjoerd Simons <sjoerd@collabora.com> > > Enable usb0 in all boot phases for use with DFU > > Signed-off-by: Sjoerd Simons <sjoerd@collabora.com> > Reviewed-by: Alexander Sverdlin <alexander.sverdlin@siemens.com> > Signed-off-by: Martyn Welch <martyn.welch@collabora.com> Reviewed-by: Mattijs Korpershoek <mkorpershoek@baylibre.com> > --- > Changes in v5: > - Forcing usb0 into peripheral mode reinstated > > Changes in v4: > - Don't force usb0 into peripheral mode > > Changes in v3: > - Enable usb nodes in all boot phases > > Changes in v2: > - Only enable usb port 0 DFU in SPL > > arch/arm/dts/k3-am625-sk-u-boot.dtsi | 9 +++++++++ > 1 file changed, 9 insertions(+) > > diff --git a/arch/arm/dts/k3-am625-sk-u-boot.dtsi b/arch/arm/dts/k3-am625-sk-u-boot.dtsi > index fa778b0ff4..1fc0d407cb 100644 > --- a/arch/arm/dts/k3-am625-sk-u-boot.dtsi > +++ b/arch/arm/dts/k3-am625-sk-u-boot.dtsi > @@ -46,3 +46,12 @@ > &cpsw_port2 { > status = "disabled"; > }; > + > +&usbss0 { > + bootph-all; > +}; > + > +&usb0 { > + dr_mode = "peripheral"; > + bootph-all; > +}; > -- > 2.43.0
diff --git a/arch/arm/dts/k3-am625-sk-u-boot.dtsi b/arch/arm/dts/k3-am625-sk-u-boot.dtsi index fa778b0ff4..1fc0d407cb 100644 --- a/arch/arm/dts/k3-am625-sk-u-boot.dtsi +++ b/arch/arm/dts/k3-am625-sk-u-boot.dtsi @@ -46,3 +46,12 @@ &cpsw_port2 { status = "disabled"; }; + +&usbss0 { + bootph-all; +}; + +&usb0 { + dr_mode = "peripheral"; + bootph-all; +};