summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/stm32f769-disco.dts
diff options
context:
space:
mode:
authorAmelie Delaunay <amelie.delaunay@st.com>2018-02-15 16:54:00 +0100
committerAlexandre Torgue <alexandre.torgue@st.com>2018-02-27 15:21:55 +0100
commit851d54f06cbb9bdc989f82f3f6e589a8f6e4337e (patch)
treef195b7711a639d8eab6dcfbd7c62449a7a4a40f9 /arch/arm/boot/dts/stm32f769-disco.dts
parent7dcf834660822ad1e837b1fdf93bcbc437642cfa (diff)
ARM: dts: stm32: enable USB HS on stm32f769-disco
This patch enables USB HS on stm32f749-disco in OTG (DRD) mode. The USB connector used will determine the role of USB OTG controller. 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/stm32f769-disco.dts')
-rw-r--r--arch/arm/boot/dts/stm32f769-disco.dts16
1 files changed, 16 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/stm32f769-disco.dts b/arch/arm/boot/dts/stm32f769-disco.dts
index afbd7692ed0c..137661bd5918 100644
--- a/arch/arm/boot/dts/stm32f769-disco.dts
+++ b/arch/arm/boot/dts/stm32f769-disco.dts
@@ -85,6 +85,13 @@
gpios = <&gpioa 0 GPIO_ACTIVE_HIGH>;
};
};
+
+ usbotg_hs_phy: usb-phy {
+ #phy-cells = <0>;
+ compatible = "usb-nop-xceiv";
+ clocks = <&rcc 0 STM32F7_AHB1_CLOCK(OTGHSULPI)>;
+ clock-names = "main_clk";
+ };
};
&cec {
@@ -102,3 +109,12 @@
pinctrl-names = "default";
status = "okay";
};
+
+&usbotg_hs {
+ dr_mode = "otg";
+ phys = <&usbotg_hs_phy>;
+ phy-names = "usb2-phy";
+ pinctrl-0 = <&usbotg_hs_pins_a>;
+ pinctrl-names = "default";
+ status = "okay";
+};