diff options
author | Ludovic Barre <ludovic.barre@st.com> | 2019-03-01 11:47:00 +0300 |
---|---|---|
committer | Alexandre Torgue <alexandre.torgue@st.com> | 2019-04-11 12:22:00 +0300 |
commit | 30a8e03a1f71ec0bd0208944fac10f7e0433fe3a (patch) | |
tree | a2537b389e06491c018e1982b5b4d7c56c01ea08 /arch/arm/boot/dts/stm32h743i-disco.dts | |
parent | 90f16fea400ba7b145e15ed601adceb501d5054f (diff) | |
download | linux-30a8e03a1f71ec0bd0208944fac10f7e0433fe3a.tar.xz |
ARM: dts: stm32: add sdmmc1 support on stm32h743i disco board
This patch adds sdmmc1 support on stm32h743i disco board.
Signed-off-by: Ludovic Barre <ludovic.barre@st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
Diffstat (limited to 'arch/arm/boot/dts/stm32h743i-disco.dts')
-rw-r--r-- | arch/arm/boot/dts/stm32h743i-disco.dts | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/stm32h743i-disco.dts b/arch/arm/boot/dts/stm32h743i-disco.dts index dd06c8f3d09a..3acd2e9c434e 100644 --- a/arch/arm/boot/dts/stm32h743i-disco.dts +++ b/arch/arm/boot/dts/stm32h743i-disco.dts @@ -61,6 +61,14 @@ aliases { serial0 = &usart2; }; + + v3v3: regulator-v3v3 { + compatible = "regulator-fixed"; + regulator-name = "v3v3"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + regulator-always-on; + }; }; &clk_hse { @@ -84,6 +92,18 @@ }; }; +&sdmmc1 { + pinctrl-names = "default", "opendrain", "sleep"; + pinctrl-0 = <&sdmmc1_b4_pins_a>; + pinctrl-1 = <&sdmmc1_b4_od_pins_a>; + pinctrl-2 = <&sdmmc1_b4_sleep_pins_a>; + broken-cd; + st,neg-edge; + bus-width = <4>; + vmmc-supply = <&v3v3>; + status = "okay"; +}; + &usart2 { pinctrl-0 = <&usart2_pins>; pinctrl-names = "default"; |