Commit 70093fe2 authored by Patrice Chotard's avatar Patrice Chotard Committed by Alexandre Torgue

ARM: dts: stm32: Enable sdio1 for stm32f746-eval

Adds SDIO related DT nodes for stm32f746-eval board.

broken-cd property is needed as card detect signal is
connected to a GPIO expander which is not yet supported
in kernel linux.
Signed-off-by: default avatarPatrice Chotard <patrice.chotard@st.com>
Signed-off-by: default avatarAlexandre Torgue <alexandre.torgue@st.com>
parent 91f2c5e8
...@@ -91,6 +91,13 @@ usbotg_hs_phy: usb-phy { ...@@ -91,6 +91,13 @@ usbotg_hs_phy: usb-phy {
clocks = <&rcc 0 STM32F7_AHB1_CLOCK(OTGHSULPI)>; clocks = <&rcc 0 STM32F7_AHB1_CLOCK(OTGHSULPI)>;
clock-names = "main_clk"; clock-names = "main_clk";
}; };
mmc_vcard: mmc_vcard {
compatible = "regulator-fixed";
regulator-name = "mmc_vcard";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
};
}; };
&clk_hse { &clk_hse {
...@@ -113,6 +120,16 @@ &rtc { ...@@ -113,6 +120,16 @@ &rtc {
status = "okay"; status = "okay";
}; };
&sdio1 {
status = "okay";
vmmc-supply = <&mmc_vcard>;
broken-cd;
pinctrl-names = "default", "opendrain";
pinctrl-0 = <&sdio_pins_a>;
pinctrl-1 = <&sdio_pins_od_a>;
bus-width = <4>;
};
&usart1 { &usart1 {
pinctrl-0 = <&usart1_pins_a>; pinctrl-0 = <&usart1_pins_a>;
pinctrl-names = "default"; pinctrl-names = "default";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment