[PATCH 3/3] ARM: dts: stm32: add support for USB2514B onboard hub on stm32mp157c-ev1

Patrick DELAUNAY patrick.delaunay at foss.st.com
Tue Jan 3 17:43:47 CET 2023


Hi,

On 12/12/22 11:44, Fabrice Gasnier wrote:
> Add support for USB2514B onboard hub on stm32mp157c EV1 board. The HUB
> is supplied by a 3v3 PMIC regulator.
>
> [backport from linux ad9591b01d24]
> Signed-off-by: Fabrice Gasnier <fabrice.gasnier at foss.st.com>
> ---
>
>   arch/arm/dts/stm32mp157c-ev1.dts | 8 ++++++++
>   1 file changed, 8 insertions(+)
>
> diff --git a/arch/arm/dts/stm32mp157c-ev1.dts b/arch/arm/dts/stm32mp157c-ev1.dts
> index d142dd30e16b..07bcd7c50672 100644
> --- a/arch/arm/dts/stm32mp157c-ev1.dts
> +++ b/arch/arm/dts/stm32mp157c-ev1.dts
> @@ -362,6 +362,14 @@
>   &usbh_ehci {
>   	phys = <&usbphyc_port0>;
>   	status = "okay";
> +	#address-cells = <1>;
> +	#size-cells = <0>;
> +	/* onboard HUB */
> +	hub at 1 {
> +		compatible = "usb424,2514";
> +		reg = <1>;
> +		vdd-supply = <&v3v3>;
> +	};
>   };
>   
>   &usbotg_hs {


Reviewed-by: Patrick Delaunay <patrick.delaunay at foss.st.com>
Tested-by: Patrick Delaunay <patrick.delaunay at foss.st.com>


I just test the supply regulator support on EV1 when the port is used

and the regulator is no more always-on.

with modification in ./arch/arm/dts/stm32mp157c-ed1.dts:224

             v3v3: buck4 {
                 regulator-name = "v3v3";
-                regulator-always-on;


Thanks
Patrick




More information about the U-Boot mailing list