diff options
author | Patrice Chotard <patrice.chotard@st.com> | 2018-03-01 11:53:00 +0100 |
---|---|---|
committer | Alexandre Torgue <alexandre.torgue@st.com> | 2018-03-05 09:03:08 +0100 |
commit | 91f2c5e8df035ff89fe77fbe0a7d57fac36a1e22 (patch) | |
tree | 378063857b52367166834ce0e25b8bf1d2b38a61 /arch/arm/boot/dts/stm32f746-disco.dts | |
parent | 46ea3e80e1e841b822c7e38ec984f8284a69d5ea (diff) | |
download | linux-91f2c5e8df035ff89fe77fbe0a7d57fac36a1e22.tar.bz2 |
ARM: dts: stm32: Enable sdio1 for stm32f746-disco
Adds SDIO related DT nodes for stm32f746-disco board.
Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
Diffstat (limited to 'arch/arm/boot/dts/stm32f746-disco.dts')
-rw-r--r-- | arch/arm/boot/dts/stm32f746-disco.dts | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/stm32f746-disco.dts b/arch/arm/boot/dts/stm32f746-disco.dts index 623b6f2bc361..be94c6ad7e94 100644 --- a/arch/arm/boot/dts/stm32f746-disco.dts +++ b/arch/arm/boot/dts/stm32f746-disco.dts @@ -44,6 +44,7 @@ #include "stm32f746.dtsi" #include "stm32f746-pinctrl.dtsi" #include <dt-bindings/input/input.h> +#include <dt-bindings/gpio/gpio.h> / { model = "STMicroelectronics STM32F746-DISCO board"; @@ -76,12 +77,30 @@ regulator-name = "vcc5_host1"; regulator-always-on; }; + + mmc_vcard: mmc_vcard { + compatible = "regulator-fixed"; + regulator-name = "mmc_vcard"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + }; }; &clk_hse { clock-frequency = <25000000>; }; +&sdio1 { + status = "okay"; + vmmc-supply = <&mmc_vcard>; + cd-gpios = <&gpioc 13 GPIO_ACTIVE_HIGH>; + cd-inverted; + pinctrl-names = "default", "opendrain"; + pinctrl-0 = <&sdio_pins_a>; + pinctrl-1 = <&sdio_pins_od_a>; + bus-width = <4>; +}; + &usart1 { pinctrl-0 = <&usart1_pins_b>; pinctrl-names = "default"; |