diff options
author | Patrice Chotard <patrice.chotard@st.com> | 2018-03-01 13:53:00 +0300 |
---|---|---|
committer | Alexandre Torgue <alexandre.torgue@st.com> | 2018-03-05 11:04:25 +0300 |
commit | cc6adf89f9a057653fc03f4c0ba001b7db0261e9 (patch) | |
tree | d3617f7cfc77ac988707911593c3d6804483ae68 /arch | |
parent | 70093fe230a563fa67a69109de18b3e6f53a092d (diff) | |
download | linux-cc6adf89f9a057653fc03f4c0ba001b7db0261e9.tar.xz |
ARM: dts: stm32: Enable sdio1 for stm32f769-disco
Adds SDIO related DT nodes for stm32f769-disco board.
broken-cd property is needed as it misses a pullup on board
(resistor R76 is missing).
Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/boot/dts/stm32f769-disco.dts | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/stm32f769-disco.dts b/arch/arm/boot/dts/stm32f769-disco.dts index d712260ddd85..2241eecdabfe 100644 --- a/arch/arm/boot/dts/stm32f769-disco.dts +++ b/arch/arm/boot/dts/stm32f769-disco.dts @@ -92,6 +92,13 @@ clocks = <&rcc 0 STM32F7_AHB1_CLOCK(OTGHSULPI)>; clock-names = "main_clk"; }; + + mmc_vcard: mmc_vcard { + compatible = "regulator-fixed"; + regulator-name = "mmc_vcard"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + }; }; &cec { @@ -108,6 +115,18 @@ status = "okay"; }; +&sdio2 { + status = "okay"; + vmmc-supply = <&mmc_vcard>; + cd-gpios = <&gpioi 15 GPIO_ACTIVE_HIGH>; + cd-inverted; + broken-cd; + pinctrl-names = "default", "opendrain"; + pinctrl-0 = <&sdio_pins_b>; + pinctrl-1 = <&sdio_pins_od_b>; + bus-width = <4>; +}; + &usart1 { pinctrl-0 = <&usart1_pins_a>; pinctrl-names = "default"; |