diff options
author | Ludovic Barre <ludovic.barre@st.com> | 2019-03-01 09:47:00 +0100 |
---|---|---|
committer | Alexandre Torgue <alexandre.torgue@st.com> | 2019-04-11 11:21:59 +0200 |
commit | 90f16fea400ba7b145e15ed601adceb501d5054f (patch) | |
tree | db01560fd5a9e0932ed4c859e6af70a0edc2de4a /arch/arm/boot/dts/stm32h743i-eval.dts | |
parent | 61c0f6b8b42d37407cb55594a7883da6a53f70ac (diff) | |
download | lwn-90f16fea400ba7b145e15ed601adceb501d5054f.tar.gz lwn-90f16fea400ba7b145e15ed601adceb501d5054f.zip |
ARM: dts: stm32: add sdmmc1 support on stm32h743i eval board
This patch adds sdmmc1 support on stm32h743i eval board.
This board has an external driver to control signal direction polarity.
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-eval.dts')
-rw-r--r-- | arch/arm/boot/dts/stm32h743i-eval.dts | 23 |
1 files changed, 22 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/stm32h743i-eval.dts b/arch/arm/boot/dts/stm32h743i-eval.dts index ebc3f0933f5c..ab78ad532375 100644 --- a/arch/arm/boot/dts/stm32h743i-eval.dts +++ b/arch/arm/boot/dts/stm32h743i-eval.dts @@ -70,13 +70,20 @@ regulator-always-on; }; + v2v9_sd: regulator-v2v9_sd { + compatible = "regulator-fixed"; + regulator-name = "v2v9_sd"; + regulator-min-microvolt = <2900000>; + regulator-max-microvolt = <2900000>; + regulator-always-on; + }; + usbotg_hs_phy: usb-phy { #phy-cells = <0>; compatible = "usb-nop-xceiv"; clocks = <&rcc USB1ULPI_CK>; clock-names = "main_clk"; }; - }; &adc_12 { @@ -122,6 +129,20 @@ }; }; +&sdmmc1 { + pinctrl-names = "default", "opendrain", "sleep"; + pinctrl-0 = <&sdmmc1_b4_pins_a &sdmmc1_dir_pins_a>; + pinctrl-1 = <&sdmmc1_b4_od_pins_a &sdmmc1_dir_pins_a>; + pinctrl-2 = <&sdmmc1_b4_sleep_pins_a &sdmmc1_dir_sleep_pins_a>; + broken-cd; + st,sig-dir; + st,neg-edge; + st,use-ckin; + bus-width = <4>; + vmmc-supply = <&v2v9_sd>; + status = "okay"; +}; + &usart1 { pinctrl-0 = <&usart1_pins>; pinctrl-names = "default"; |