diff options
author | Amelie Delaunay <amelie.delaunay@st.com> | 2017-08-28 17:20:00 +0300 |
---|---|---|
committer | Alexandre Torgue <alexandre.torgue@st.com> | 2017-10-16 15:15:21 +0300 |
commit | f08da327d40b4975721f6e459e51f4a1cf4d4dcc (patch) | |
tree | 20a1dff5cd62b20a9f8ab4b23f8465aa135dfb8b /arch/arm/boot/dts/stm32f746-disco.dts | |
parent | d3e745dcfb5157f30124189fd58d518aec5b3206 (diff) | |
download | linux-f08da327d40b4975721f6e459e51f4a1cf4d4dcc.tar.xz |
ARM: dts: stm32: Enable USB HS on stm32f746-disco
This patch enables USB HS on stm32f746-disco (Host mode).
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/stm32f746-disco.dts')
-rw-r--r-- | arch/arm/boot/dts/stm32f746-disco.dts | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/stm32f746-disco.dts b/arch/arm/boot/dts/stm32f746-disco.dts index 18f656074437..8f0c3d523c9f 100644 --- a/arch/arm/boot/dts/stm32f746-disco.dts +++ b/arch/arm/boot/dts/stm32f746-disco.dts @@ -61,6 +61,12 @@ serial0 = &usart1; }; + usbotg_hs_phy: usb-phy { + #phy-cells = <0>; + compatible = "usb-nop-xceiv"; + clocks = <&rcc 0 STM32F7_AHB1_CLOCK(OTGHSULPI)>; + clock-names = "main_clk"; + }; }; &clk_hse { @@ -72,3 +78,12 @@ pinctrl-names = "default"; status = "okay"; }; + +&usbotg_hs { + dr_mode = "host"; + phys = <&usbotg_hs_phy>; + phy-names = "usb2-phy"; + pinctrl-0 = <&usbotg_hs_pins_b>; + pinctrl-names = "default"; + status = "okay"; +}; |