diff options
author | Amelie Delaunay <amelie.delaunay@st.com> | 2018-02-19 11:46:00 +0300 |
---|---|---|
committer | Alexandre Torgue <alexandre.torgue@st.com> | 2018-02-27 17:37:46 +0300 |
commit | 98bbfc5285fca72151d8758d7124bee4b24fa606 (patch) | |
tree | ed960d8fb42f665e5002397621499407146e9ccb /arch/arm/boot/dts/stm32h743i-eval.dts | |
parent | e3fa5054744f1aed8a0cbc2f45c5b0071476355c (diff) | |
download | linux-98bbfc5285fca72151d8758d7124bee4b24fa606.tar.xz |
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>
Diffstat (limited to 'arch/arm/boot/dts/stm32h743i-eval.dts')
-rw-r--r-- | arch/arm/boot/dts/stm32h743i-eval.dts | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/stm32h743i-eval.dts b/arch/arm/boot/dts/stm32h743i-eval.dts index 9f0e72c67219..1c615f68c774 100644 --- a/arch/arm/boot/dts/stm32h743i-eval.dts +++ b/arch/arm/boot/dts/stm32h743i-eval.dts @@ -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"; +}; |