summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/stm32f469-disco.dts
diff options
context:
space:
mode:
authorBruno Herrera <bruherrera@gmail.com>2017-02-01 02:25:00 +0100
committerAlexandre TORGUE <alexandre.torgue@st.com>2017-04-03 10:28:13 +0200
commitc888cc51cf1b0dfc48643ed9f34e35b66d25878a (patch)
tree130e67fa3efb72f149c1d12f46a4a48434d1ece0 /arch/arm/boot/dts/stm32f469-disco.dts
parentcd9ef1eff03ed79973c6df1601480077b302d2f5 (diff)
ARM: dts: stm32: Enable USB FS on stm32f469-disco
This patch enables USB FS on stm32f469-disco with 5V VBUS enable. Signed-off-by: Bruno Herrera <bruherrera@gmail.com> Signed-off-by: Alexandre TORGUE <alexandre.torgue@st.com>
Diffstat (limited to 'arch/arm/boot/dts/stm32f469-disco.dts')
-rw-r--r--arch/arm/boot/dts/stm32f469-disco.dts16
1 files changed, 16 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/stm32f469-disco.dts b/arch/arm/boot/dts/stm32f469-disco.dts
index 0dd56ef574fa..75470c34b92c 100644
--- a/arch/arm/boot/dts/stm32f469-disco.dts
+++ b/arch/arm/boot/dts/stm32f469-disco.dts
@@ -68,6 +68,15 @@
soc {
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 {
@@ -115,3 +124,10 @@
pinctrl-names = "default";
status = "okay";
};
+
+&usbotg_fs {
+ dr_mode = "host";
+ pinctrl-0 = <&usbotg_fs_pins_a>;
+ pinctrl-names = "default";
+ status = "okay";
+};