Commit d3e745dc authored by Amelie Delaunay's avatar Amelie Delaunay Committed by Alexandre Torgue
Browse files

ARM: dts: stm32: Enable USB HS on stm32746g-eval



This patch enables USB HS on stm32746g-eval (Host mode).

Signed-off-by: default avatarAmelie Delaunay <amelie.delaunay@st.com>
Signed-off-by: default avatarAlexandre Torgue <alexandre.torgue@st.com>
parent ec1e5a97
Loading
Loading
Loading
Loading
+16 −0
Original line number Diff line number Diff line
@@ -83,6 +83,13 @@ button@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 {
@@ -110,3 +117,12 @@ &usart1 {
	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";
};