]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: dts: am574x-idk: Add pinmuxes for mmc1 and mmc2
authorFaiz Abbas <faiz_abbas@ti.com>
Thu, 20 Jun 2019 09:37:20 +0000 (15:07 +0530)
committerTom Rini <trini@konsulko.com>
Sat, 27 Jul 2019 02:24:10 +0000 (22:24 -0400)
Sync with kernel dts by adding pinmuxes for mmc1 and mmc2. This fixes an
issue where mmc2 (eMMC) was coming up in HS52 mode instead of the
highest DDR52 mode.

Signed-off-by: Faiz Abbas <faiz_abbas@ti.com>
arch/arm/dts/am574x-idk.dts

index 41e12a382d2ffe3ddf5e6656d5cb17463eca232b..0de73616b562592682af6884c55e0af3c0839e83 100644 (file)
@@ -7,6 +7,8 @@
 /dts-v1/;
 
 #include "dra76x.dtsi"
+#include "dra7-mmc-iodelay.dtsi"
+#include "dra76x-mmc-iodelay.dtsi"
 #include "am572x-idk-common.dtsi"
 
 / {
                spi-max-frequency = <96000000>;
        };
 };
+
+&mmc1 {
+       pinctrl-names = "default", "hs";
+       pinctrl-0 = <&mmc1_pins_default_no_clk_pu>;
+       pinctrl-1 = <&mmc1_pins_hs>;
+};
+
+&mmc2 {
+       pinctrl-names = "default", "hs", "ddr_1_8v";
+       pinctrl-0 = <&mmc2_pins_default>;
+       pinctrl-1 = <&mmc2_pins_default>;
+       pinctrl-2 = <&mmc2_pins_default>;
+};