From: Marek Szyprowski Date: Thu, 16 Jan 2020 15:25:34 +0000 (+0100) Subject: arm: dts: exynos: Fix card-detect polarity for SD card on Odroid U3/X2 X-Git-Tag: v2020.04-rc2~25^2~3 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=1bca28a5d98a81a9d189a46347f8a92619624f94;p=oweals%2Fu-boot.git arm: dts: exynos: Fix card-detect polarity for SD card on Odroid U3/X2 Card detect line for SD-card on Odroid U3/X2 boards are active low, so add cd-inverted property to indicate this, as u-boot's GPIO driver doesn't support specifying line polarity. This restores S5P_SDHCI driver operation on Odroid U3/X2 boards. Signed-off-by: Marek Szyprowski Reviewed-by: Anand Moon Signed-off-by: Minkyu Kang --- diff --git a/arch/arm/dts/exynos4412-odroid.dts b/arch/arm/dts/exynos4412-odroid.dts index cc8e0dd041..e6c7222755 100644 --- a/arch/arm/dts/exynos4412-odroid.dts +++ b/arch/arm/dts/exynos4412-odroid.dts @@ -236,6 +236,7 @@ &sdhci2 { samsung,bus-width = <4>; samsung,timing = <1 2 3>; + cd-inverted; cd-gpios = <&gpk2 2 0>; status = "okay"; };