mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
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>
This commit is contained in:
parent
7dcf834660
commit
851d54f06c
1 changed files with 16 additions and 0 deletions
|
@ -85,6 +85,13 @@
|
||||||
gpios = <&gpioa 0 GPIO_ACTIVE_HIGH>;
|
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 {
|
&cec {
|
||||||
|
@ -102,3 +109,12 @@
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
status = "okay";
|
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";
|
||||||
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue