Skip to content

Commit

Permalink
ARM: dts: stm32: add sdmmc1 support on stm32h743i disco board
Browse files Browse the repository at this point in the history
This patch adds sdmmc1 support on stm32h743i disco board.

Signed-off-by: Ludovic Barre <[email protected]>
Signed-off-by: Alexandre Torgue <[email protected]>
  • Loading branch information
ludovicbarre authored and atorgue committed Apr 11, 2019
1 parent 90f16fe commit 30a8e03
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions arch/arm/boot/dts/stm32h743i-disco.dts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -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";
Expand Down

0 comments on commit 30a8e03

Please sign in to comment.