ARM: dts: stm32: Repair SDMMC2 operation
authorMarek Vasut <marex@denx.de>
Tue, 31 Mar 2020 17:51:27 +0000 (19:51 +0200)
committerPatrick Delaunay <patrick.delaunay@st.com>
Wed, 1 Apr 2020 08:12:44 +0000 (10:12 +0200)
The eMMC uses different pinmux for the top four data lines, use such
a pinmux, otherwise it takes a very long time until the test for 8bit
operation times out. And this is the correct pinmux per schematic too.

Reviewed-by: Patrice Chotard <patrice.chotard@st.com>
Reviewed-by: Patrick Delaunay <patrick.delaunay@st.com>
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Cc: Patrick Delaunay <patrick.delaunay@st.com>
Cc: Patrice Chotard <patrice.chotard@st.com>
arch/arm/dts/stm32mp157a-avenger96-u-boot.dtsi
arch/arm/dts/stm32mp157a-avenger96.dts

index 47bfbb8..2c7dc50 100644 (file)
        };
 };
 
-&sdmmc2_d47_pins_a {
+&sdmmc2_d47_pins_b {
        u-boot,dm-spl;
        pins {
                u-boot,dm-spl;
index 1e9b45b..3fca1ed 100644 (file)
 
 &sdmmc2 {
        pinctrl-names = "default";
-       pinctrl-0 = <&sdmmc2_b4_pins_a &sdmmc2_d47_pins_a>;
+       pinctrl-0 = <&sdmmc2_b4_pins_a &sdmmc2_d47_pins_b>;
        non-removable;
        no-sd;
        no-sdio;