Skip to content

Commit

Permalink
ARM: dts: stm32: add sdmmc1 support on stm32mp157a dk1 board
Browse files Browse the repository at this point in the history
This patch adds sdmmc1 support on stm32mp157a dk1 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 379edbe commit 8f6e091
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions arch/arm/boot/dts/stm32mp157a-dk1.dts
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,14 @@
default-state = "off";
};
};

v3v3: regulator-3v3 {
compatible = "regulator-fixed";
regulator-name = "v3v3";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
regulator-always-on;
};
};

&ethernet0 {
Expand Down Expand Up @@ -70,6 +78,18 @@
status = "okay";
};

&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";
};

&uart4 {
pinctrl-names = "default";
pinctrl-0 = <&uart4_pins_a>;
Expand Down

0 comments on commit 8f6e091

Please sign in to comment.