ARM: dts: stm32: Enable USB HS on stm32746g-eval
This patch enables USB HS on stm32746g-eval (Host mode). Signed-off-by: Amelie Delaunay <amelie.delaunay@st.com> Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
This commit is contained in:
Родитель
ec1e5a97ea
Коммит
d3e745dcfb
|
@ -83,6 +83,13 @@
|
||||||
gpios = <&gpioc 13 0>;
|
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 {
|
&clk_hse {
|
||||||
|
@ -110,3 +117,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_a>;
|
||||||
|
pinctrl-names = "default";
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
Загрузка…
Ссылка в новой задаче