Commit c888cc51 authored by Bruno Herrera's avatar Bruno Herrera Committed by Alexandre TORGUE

ARM: dts: stm32: Enable USB FS on stm32f469-disco

This patch enables USB FS on stm32f469-disco with 5V VBUS enable.
Signed-off-by: default avatarBruno Herrera <bruherrera@gmail.com>
Signed-off-by: default avatarAlexandre TORGUE <alexandre.torgue@st.com>
parent cd9ef1ef
...@@ -68,6 +68,15 @@ aliases { ...@@ -68,6 +68,15 @@ aliases {
soc { soc {
dma-ranges = <0xc0000000 0x0 0x10000000>; dma-ranges = <0xc0000000 0x0 0x10000000>;
}; };
/* This turns on vbus for otg for host mode (dwc2) */
vcc5v_otg: vcc5v-otg-regulator {
compatible = "regulator-fixed";
enable-active-high;
gpio = <&gpiob 2 0>;
regulator-name = "vcc5_host1";
regulator-always-on;
};
}; };
&rcc { &rcc {
...@@ -115,3 +124,10 @@ &usart3 { ...@@ -115,3 +124,10 @@ &usart3 {
pinctrl-names = "default"; pinctrl-names = "default";
status = "okay"; status = "okay";
}; };
&usbotg_fs {
dr_mode = "host";
pinctrl-0 = <&usbotg_fs_pins_a>;
pinctrl-names = "default";
status = "okay";
};
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment