]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
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 47bfbb8d77c0cfced9c9abdda7af67cd22e01c0b..2c7dc509a33310078ff47194fb7a76b61cecdac5 100644 (file)
        };
 };
 
-&sdmmc2_d47_pins_a {
+&sdmmc2_d47_pins_b {
        u-boot,dm-spl;
        pins {
                u-boot,dm-spl;
index 1e9b45b69dab49ea02afd1bad5a1e5b5cd262b70..3fca1ed56d765e41959fd166c5c0960e8b67d644 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;