arm64: dts: meson: disable pad bias for mmc pinmuxes
authorJerome Brunet <jbrunet@baylibre.com>
Fri, 9 Nov 2018 14:04:43 +0000 (15:04 +0100)
committerKevin Hilman <khilman@baylibre.com>
Thu, 29 Nov 2018 20:30:03 +0000 (12:30 -0800)
In some cases (such as a boot from SPI) the bootloader or the ROM code may
leave a bias pull-down on the mmc pins. If so the MMC will fail during the
initialisation.

Explicitly disabling the pinmux solves the problem.

Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
arch/arm64/boot/dts/amlogic/meson-axg.dtsi
arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi
arch/arm64/boot/dts/amlogic/meson-gxl.dtsi

index 28582a4..50a05bf 100644 (file)
                                                         "emmc_cmd",
                                                         "emmc_ds";
                                                function = "emmc";
+                                               bias-disable;
                                        };
                                };
 
                                                         "sdio_cmd",
                                                         "sdio_clk";
                                                function = "sdio";
+                                               bias-disable;
                                        };
                                };
 
index 1cb8e7e..32ef823 100644 (file)
                                       "emmc_cmd",
                                       "emmc_clk";
                                function = "emmc";
+                               bias-disable;
                        };
                };
 
                        mux {
                                groups = "emmc_ds";
                                function = "emmc";
+                               bias-disable;
                        };
                };
 
                                       "sdcard_cmd",
                                       "sdcard_clk";
                                function = "sdcard";
+                               bias-disable;
                        };
                };
 
                                       "sdio_cmd",
                                       "sdio_clk";
                                function = "sdio";
+                               bias-disable;
                        };
                };
 
index 7cfee40..cfeec55 100644 (file)
                                       "emmc_cmd",
                                       "emmc_clk";
                                function = "emmc";
+                               bias-disable;
                        };
                };
 
                        mux {
                                groups = "emmc_ds";
                                function = "emmc";
+                               bias-disable;
                        };
                };
 
                                       "sdcard_cmd",
                                       "sdcard_clk";
                                function = "sdcard";
+                               bias-disable;
                        };
                };
 
                                       "sdio_cmd",
                                       "sdio_clk";
                                function = "sdio";
+                               bias-disable;
                        };
                };