summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/stm32746g-eval.dts
diff options
context:
space:
mode:
authorAmelie Delaunay <amelie.delaunay@st.com>2017-08-28 16:20:00 +0200
committerAlexandre Torgue <alexandre.torgue@st.com>2017-10-16 14:15:08 +0200
commitd3e745dcfb5157f30124189fd58d518aec5b3206 (patch)
tree1c1038c2cfbb5948f8eb6bd3c17bd77d454f646a /arch/arm/boot/dts/stm32746g-eval.dts
parentARM: dts: stm32: Add USB HS support for STM32F746 MCU (diff)
downloadlinux-d3e745dcfb5157f30124189fd58d518aec5b3206.tar.xz
linux-d3e745dcfb5157f30124189fd58d518aec5b3206.zip
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>
Diffstat (limited to 'arch/arm/boot/dts/stm32746g-eval.dts')
-rw-r--r--arch/arm/boot/dts/stm32746g-eval.dts16
1 files changed, 16 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/stm32746g-eval.dts b/arch/arm/boot/dts/stm32746g-eval.dts
index f83858eabfc2..2d4e71717694 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 {
@@ -110,3 +117,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";
+};