Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1721666
| From | Amelie Delaunay <amelie.delaunay@st.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCHv2 4/7] ARM: dts: stm32: Enable USB HS on stm32746g-eval |
| Date | 2017-08-28 16:30 +0200 |
| Message-ID | <ujtd8-6G2-37@gated-at.bofh.it> (permalink) |
| References | <ujtd7-6G2-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
This patch enables USB HS on stm32746g-eval (Host mode).
Signed-off-by: Amelie Delaunay <amelie.delaunay@st.com>
---
arch/arm/boot/dts/stm32746g-eval.dts | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/arch/arm/boot/dts/stm32746g-eval.dts b/arch/arm/boot/dts/stm32746g-eval.dts
index 69a9579..03ee797 100644
--- a/arch/arm/boot/dts/stm32746g-eval.dts
+++ b/arch/arm/boot/dts/stm32746g-eval.dts
@@ -83,6 +83,13 @@
gpios = <&gpioc 13 0>;
};
};
+
+ 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 {
@@ -102,3 +109,12 @@
pinctrl-names = "default";
status = "okay";
};
+
+&usbotg_hs {
+ dr_mode = "host";
+ phys = <&usbotg_hs_phy>;
+ phy-names = "usb2-phy";
+ pinctrl-0 = <&usbotg_hs_pins_a>;
+ pinctrl-names = "default";
+ status = "okay";
+};
--
2.7.4
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCHv2 0/7] Add support for USB OTG on STM32F7 Amelie Delaunay <amelie.delaunay@st.com> - 2017-08-28 16:30 +0200
[PATCHv2 4/7] ARM: dts: stm32: Enable USB HS on stm32746g-eval Amelie Delaunay <amelie.delaunay@st.com> - 2017-08-28 16:30 +0200
[PATCHv2 1/7] dt-bindings: usb: Document the STM32F7 DWC2 USB OTG HS core binding Amelie Delaunay <amelie.delaunay@st.com> - 2017-08-28 16:30 +0200
Re: [PATCHv2 1/7] dt-bindings: usb: Document the STM32F7 DWC2 USB OTG HS core binding Rob Herring <robh@kernel.org> - 2017-09-01 17:40 +0200
csiph-web