1 // SPDX-License-Identifier: GPL-2.0+ OR X11
3 * Copyright 2017 - Vikas MANOCHA <vikas.manocha@st.com>
8 #include "stm32f746.dtsi"
9 #include "stm32f746-pinctrl.dtsi"
10 #include <dt-bindings/input/input.h>
11 #include <dt-bindings/gpio/gpio.h>
14 model = "STMicroelectronics STM32F746-DISCO board";
15 compatible = "st,stm32f746-disco", "st,stm32f746";
18 bootargs = "root=/dev/ram";
19 stdout-path = "serial0:115200n8";
23 device_type = "memory";
24 reg = <0xC0000000 0x800000>;
31 usbotg_hs_phy: usb-phy {
33 compatible = "usb-nop-xceiv";
34 clocks = <&rcc 0 STM32F7_AHB1_CLOCK(OTGHSULPI)>;
35 clock-names = "main_clk";
38 /* This turns on vbus for otg fs for host mode (dwc2) */
39 vcc5v_otg_fs: vcc5v-otg-fs-regulator {
40 compatible = "regulator-fixed";
42 regulator-name = "vcc5_host1";
46 mmc_vcard: mmc_vcard {
47 compatible = "regulator-fixed";
48 regulator-name = "mmc_vcard";
49 regulator-min-microvolt = <3300000>;
50 regulator-max-microvolt = <3300000>;
55 clock-frequency = <25000000>;
59 pinctrl-0 = <&i2c1_pins_b>;
60 pinctrl-names = "default";
61 i2c-scl-rising-time-ns = <185>;
62 i2c-scl-falling-time-ns = <20>;
68 vmmc-supply = <&mmc_vcard>;
69 cd-gpios = <&gpioc 13 GPIO_ACTIVE_LOW>;
70 pinctrl-names = "default", "opendrain";
71 pinctrl-0 = <&sdio_pins_a>;
72 pinctrl-1 = <&sdio_pins_od_a>;
77 pinctrl-0 = <&usart1_pins_b>;
78 pinctrl-names = "default";
84 pinctrl-0 = <&usbotg_fs_pins_a>;
85 pinctrl-names = "default";
91 phys = <&usbotg_hs_phy>;
92 phy-names = "usb2-phy";
93 pinctrl-0 = <&usbotg_hs_pins_b>;
94 pinctrl-names = "default";