Commit c5fae093 authored by Amelie Delaunay's avatar Amelie Delaunay Committed by Alexandre Torgue

ARM: dts: stm32: enable USB OTG Dual Role on stm32mp157c-ev1

Now that st,stm32mp15-hsotg is used, dual role is supported. ID pin is
managed to detect the current role.
On stm32mp157c-ev1, Host mode requires a vbus-supply property. Charge pump
for vbus is provided by PMIC VBUS_OTG.
Signed-off-by: default avatarAmelie Delaunay <amelie.delaunay@st.com>
Signed-off-by: default avatarAlexandre Torgue <alexandre.torgue@st.com>
parent 9879e216
...@@ -355,6 +355,10 @@ &uart4 { ...@@ -355,6 +355,10 @@ &uart4 {
status = "okay"; status = "okay";
}; };
&usbotg_hs {
vbus-supply = <&vbus_otg>;
};
&usbphyc_port0 { &usbphyc_port0 {
phy-supply = <&vdd_usb>; phy-supply = <&vdd_usb>;
vdda1v1-supply = <&reg11>; vdda1v1-supply = <&reg11>;
......
...@@ -353,7 +353,8 @@ &usbh_ehci { ...@@ -353,7 +353,8 @@ &usbh_ehci {
}; };
&usbotg_hs { &usbotg_hs {
dr_mode = "peripheral"; pinctrl-0 = <&usbotg_hs_pins_a>;
pinctrl-names = "default";
phys = <&usbphyc_port1 0>; phys = <&usbphyc_port1 0>;
phy-names = "usb2-phy"; phy-names = "usb2-phy";
status = "okay"; status = "okay";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment