Hi Martyn,

Thank you for the patch.

On lun., mai 06, 2024 at 15:38, Martyn Welch <martyn.we...@collabora.com> wrote:

> From: Sjoerd Simons <sjo...@collabora.com>
>
> Enable usb0 in all boot phases for use with DFU
>
> Signed-off-by: Sjoerd Simons <sjo...@collabora.com>
> Reviewed-by: Alexander Sverdlin <alexander.sverd...@siemens.com>
> Signed-off-by: Martyn Welch <martyn.we...@collabora.com>

Reviewed-by: Mattijs Korpershoek <mkorpersh...@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

Reply via email to