ARM: dts: ux500: Fix up SD card pin config
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 15 Jun 2021 16:05:32 +0000 (18:05 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 21 Sep 2021 14:32:03 +0000 (16:32 +0200)
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/boot/dts/ste-ux500-samsung-skomer.dts

index 86e83639fadc11362adcea6620b17b867b6dfd74..2f69e9ed663ba9c80aabba48308ba8f541aa2020 100644 (file)
 };
 
 &pinctrl {
-       /*
-        * This extends the MC0 default config to include DAT32DIR
-        * which is used by this machine. If we don't do this the
-        * SD card does not work.
-        */
        sdi0 {
                mc0_a_1_default {
-                       default_mux {
-                               function = "mc0";
-                               /* This machine uses the DAT31 pin */
-                               groups = "mc0_a_1", "mc0dat31dir_a_1";
-                       };
-                       default_cfg5 {
-                               pins = "GPIO21_AB3"; /* DAT31DIR */
-                               ste,config = <&out_hi>;
+                       default_cfg1 {
+                               /* GPIO18, 19 & 20 unused so pull down */
+                               ste,config = <&gpio_in_pd>;
                        };
                };
        };
 
-       /* The unused FBCLK needs to be pulled down on this machine */
+       /* This is a reset line for the eMMC */
        sdi2 {
                mc2_a_1_default {
                        default_cfg2 {
                                pins = "GPIO130_C8"; /* FBCLK */
-                               ste,config = <&in_pd>;
+                               ste,config = <&gpio_in_pd>;
                        };
                };
        };