]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: dts: stm32: Fix AV96 eMMC pinmux
authorMarek Vasut <marex@denx.de>
Tue, 20 Jul 2021 21:46:07 +0000 (23:46 +0200)
committerPatrick Delaunay <patrick.delaunay@foss.st.com>
Tue, 27 Jul 2021 07:47:40 +0000 (09:47 +0200)
Commit 500327e2ea7 ("ARM: dts: stm32mp1: DT alignment with Linux kernel v5.8-rc1")
renamed sdmmc2_d47_pins_b phandle to sdmmc2_d47_pins_c, but without updating
the AV96 DT which uses that phandle. Linux missed similar update as well and
it was only added in commit 1ad6e36ec266 ("ARM: dts: stm32: Fix sdmmc2 pins
on AV96") .

Update the AV96 DT pinmux phandle, otherwise eMMC 8bit mode does not work
and access to eMMC takes a very long time to fall back to 4bit mode.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Patrick Delaunay <patrick.delaunay@foss.st.com>
Cc: Patrice Chotard <patrice.chotard@foss.st.com>
Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
arch/arm/dts/stm32mp15xx-dhcor-avenger96-u-boot.dtsi
arch/arm/dts/stm32mp15xx-dhcor-avenger96.dts

index 1ae57e1854271430b0b0adf4619b9be603f0efac..8b275e4950eede4f093ed202b5cff09736135c94 100644 (file)
@@ -57,7 +57,7 @@
        };
 };
 
-&sdmmc2_d47_pins_b {
+&sdmmc2_d47_pins_c {
        u-boot,dm-spl;
        pins {
                u-boot,dm-spl;
index 9b5dda318ec48270bba4d74123a709194f100f5c..0e860e5cf888a2e96e42056fb53a1179058fc514 100644 (file)
 
 &sdmmc2 {
        pinctrl-names = "default";
-       pinctrl-0 = <&sdmmc2_b4_pins_a &sdmmc2_d47_pins_b>;
+       pinctrl-0 = <&sdmmc2_b4_pins_a &sdmmc2_d47_pins_c>;
        non-removable;
        no-sd;
        no-sdio;