diff options
author | Chen-Yu Tsai <wens@csie.org> | 2016-11-17 10:34:38 +0100 |
---|---|---|
committer | Maxime Ripard <maxime.ripard@free-electrons.com> | 2017-01-10 18:52:41 +0100 |
commit | 80ee72e7e9acee39e66db4037a2235f23236ab94 (patch) | |
tree | 5d2cd11ea22e0a2c3f73982dff1387a022afea2c /arch/arm/boot/dts/sun8i-a23-a33.dtsi | |
parent | ARM: sunxi: Convert pinctrl nodes to generic bindings (diff) | |
download | linux-80ee72e7e9acee39e66db4037a2235f23236ab94.tar.xz linux-80ee72e7e9acee39e66db4037a2235f23236ab94.zip |
ARM: dts: sunxi: Explicitly enable pull-ups for MMC pins
In the past, all the MMC pins had
allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
which was actually a no-op. We were relying on U-boot to set the bias
pull up for us. These properties were removed as part of the fix up to
actually support no bias on the pins. During the transition some boards
experienced regular MMC time-outs during normal operation, while others
completely failed to initialize the SD card.
Given that MMC starts in open-drain mode and the pull-ups are required,
it's best to enable it for all the pin settings.
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'arch/arm/boot/dts/sun8i-a23-a33.dtsi')
-rw-r--r-- | arch/arm/boot/dts/sun8i-a23-a33.dtsi | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/sun8i-a23-a33.dtsi b/arch/arm/boot/dts/sun8i-a23-a33.dtsi index ecb49a5a7615..bc3e936edfcf 100644 --- a/arch/arm/boot/dts/sun8i-a23-a33.dtsi +++ b/arch/arm/boot/dts/sun8i-a23-a33.dtsi @@ -293,6 +293,7 @@ "PF3", "PF4", "PF5"; function = "mmc0"; drive-strength = <30>; + bias-pull-up; }; mmc1_pins_a: mmc1@0 { @@ -300,6 +301,7 @@ "PG3", "PG4", "PG5"; function = "mmc1"; drive-strength = <30>; + bias-pull-up; }; mmc2_8bit_pins: mmc2_8bit { @@ -309,6 +311,7 @@ "PC15", "PC16"; function = "mmc2"; drive-strength = <30>; + bias-pull-up; }; pwm0_pins: pwm0 { |