[PATCH] ARM: dts: stm32: Add USB OTG pinctrl and regulator nodes into SPL DT on DHCOR

Patrice CHOTARD patrice.chotard at foss.st.com
Mon Jan 31 09:22:05 CET 2022


Hi Marek

On 1/28/22 19:35, Marek Vasut wrote:
> Fix the following warning in SPL and make sure that even DTs which
> enforce Vbus detection using u-boot,force-vbus-detection;, the DFU
> in SPL will work.
> 
> dwc2-udc-otg usb-otg at 49000000: prop pinctrl-0 index 0 invalid phandle
> 
> Signed-off-by: Marek Vasut <marex at denx.de>
> Cc: Patrice Chotard <patrice.chotard at foss.st.com>
> Cc: Patrick Delaunay <patrick.delaunay at foss.st.com>
> ---
>  arch/arm/dts/stm32mp15xx-dhcor-u-boot.dtsi | 8 ++++++++
>  1 file changed, 8 insertions(+)
> 
> diff --git a/arch/arm/dts/stm32mp15xx-dhcor-u-boot.dtsi b/arch/arm/dts/stm32mp15xx-dhcor-u-boot.dtsi
> index 71375510b4a..ff9ca625bf5 100644
> --- a/arch/arm/dts/stm32mp15xx-dhcor-u-boot.dtsi
> +++ b/arch/arm/dts/stm32mp15xx-dhcor-u-boot.dtsi
> @@ -171,6 +171,14 @@
>  	u-boot,dm-spl;
>  };
>  
> +&usb33 {
> +	u-boot,dm-spl;
> +};
> +
> +&usbotg_hs_pins_a {
> +	u-boot,dm-spl;
> +};
> +
>  &usbotg_hs {
>  	u-boot,dm-spl;
>  };
Reviewed-by: Patrice Chotard <patrice.chotard at foss.st.com>

Thanks
Patrice


More information about the U-Boot mailing list