提交 f08da327 编写于 作者: A Amelie Delaunay 提交者: Alexandre Torgue

ARM: dts: stm32: Enable USB HS on stm32f746-disco

This patch enables USB HS on stm32f746-disco (Host mode).
Signed-off-by: NAmelie Delaunay <amelie.delaunay@st.com>
Signed-off-by: NAlexandre Torgue <alexandre.torgue@st.com>
上级 d3e745dc
...@@ -61,6 +61,12 @@ ...@@ -61,6 +61,12 @@
serial0 = &usart1; 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 { &clk_hse {
...@@ -72,3 +78,12 @@ ...@@ -72,3 +78,12 @@
pinctrl-names = "default"; pinctrl-names = "default";
status = "okay"; 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";
};
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册