[U-Boot,v1,2/4] ARM: dts: stm32mp1: Add EHCI support for stm32mp157c-ev1 board

Message ID 1533913935-27058-3-git-send-email-patrice.chotard@st.com
State Accepted
Commit bad48a40629abf5c21153976fccab509d21d7c9f
Delegated to: Tom Rini
Headers show
Series
  • Add USB EHCI and gadget support for STM32MP1
Related show

Commit Message

Patrice CHOTARD Aug. 10, 2018, 3:12 p.m.
Add DT nodes to enable EHCI support

Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
---

 arch/arm/dts/stm32mp157c-ev1.dts | 7 +++++++
 1 file changed, 7 insertions(+)

Comments

Tom Rini Sept. 26, 2018, 12:42 p.m. | #1
On Fri, Aug 10, 2018 at 05:12:12PM +0200, Patrice Chotard wrote:

> Add DT nodes to enable EHCI support
> 
> Signed-off-by: Patrice Chotard <patrice.chotard@st.com>

Applied to u-boot/master, thanks!

Patch

diff --git a/arch/arm/dts/stm32mp157c-ev1.dts b/arch/arm/dts/stm32mp157c-ev1.dts
index e2128af93fe5..902a42bee290 100644
--- a/arch/arm/dts/stm32mp157c-ev1.dts
+++ b/arch/arm/dts/stm32mp157c-ev1.dts
@@ -96,6 +96,13 @@ 
 	};
 };
 
+&usbh_ehci {
+	phys = <&usbphyc_port0>;
+	phy-names = "usb";
+	vbus-supply = <&vbus_sw>;
+	status = "okay";
+};
+
 &usbotg_hs {
 	pinctrl-names = "default";
 	pinctrl-0 = <&usbotg_hs_pins_a>;