diff mbox series

ARM: dts: stm32: add support for USB2514B onboard hub on stm32mp157c-ev1

Message ID 20220930145643.249099-1-fabrice.gasnier@foss.st.com (mailing list archive)
State New, archived
Headers show
Series ARM: dts: stm32: add support for USB2514B onboard hub on stm32mp157c-ev1 | expand

Commit Message

Fabrice Gasnier Sept. 30, 2022, 2:56 p.m. UTC
Add support for USB2514B onboard hub on stm32mp157c EV1 board. The HUB
is supplied by a 3v3 PMIC regulator.

Signed-off-by: Fabrice Gasnier <fabrice.gasnier@foss.st.com>
---
 arch/arm/boot/dts/stm32mp157c-ev1.dts | 8 ++++++++
 1 file changed, 8 insertions(+)

Comments

Alexandre TORGUE Oct. 24, 2022, 8:25 a.m. UTC | #1
Hi Fabrice,

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

Applied on stm32-next.

Thanks
Alex
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/stm32mp157c-ev1.dts b/arch/arm/boot/dts/stm32mp157c-ev1.dts
index e22e394832a8..a0ff92662e02 100644
--- a/arch/arm/boot/dts/stm32mp157c-ev1.dts
+++ b/arch/arm/boot/dts/stm32mp157c-ev1.dts
@@ -362,6 +362,14 @@  &usart3 {
 &usbh_ehci {
 	phys = <&usbphyc_port0>;
 	status = "okay";
+	#address-cells = <1>;
+	#size-cells = <0>;
+	/* onboard HUB */
+	hub@1 {
+		compatible = "usb424,2514";
+		reg = <1>;
+		vdd-supply = <&v3v3>;
+	};
 };
 
 &usbotg_hs {