ARM: dts: stm32: enable USB OTG HS on stm32h743i-eval

This patch enables USB HS on stm32h743i-eval in OTG (DRD) mode.
The USB connector used will determine the role of USB OTG controller.

Signed-off-by: Amelie Delaunay <amelie.delaunay@st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
This commit is contained in:
Amelie Delaunay
2018-02-19 09:46:00 +01:00
committed by Alexandre Torgue
parent e3fa505474
commit 98bbfc5285
2 changed files with 36 additions and 0 deletions

View File

@@ -68,6 +68,14 @@
regulator-max-microvolt = <3300000>;
regulator-always-on;
};
usbotg_hs_phy: usb-phy {
#phy-cells = <0>;
compatible = "usb-nop-xceiv";
clocks = <&rcc USB1ULPI_CK>;
clock-names = "main_clk";
};
};
&adc_12 {
@@ -90,3 +98,11 @@
status = "okay";
};
&usbotg_hs {
pinctrl-0 = <&usbotg_hs_pins_a>;
pinctrl-names = "default";
phys = <&usbotg_hs_phy>;
phy-names = "usb2-phy";
dr_mode = "otg";
status = "okay";
};