]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: dts: exynos: Fix card-detect polarity for SD card on Odroid U3/X2
authorMarek Szyprowski <m.szyprowski@samsung.com>
Thu, 16 Jan 2020 15:25:34 +0000 (16:25 +0100)
committerMinkyu Kang <mk7.kang@samsung.com>
Thu, 23 Jan 2020 02:43:10 +0000 (11:43 +0900)
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 <m.szyprowski@samsung.com>
Reviewed-by: Anand Moon <linux.amoon@gmail.com>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
arch/arm/dts/exynos4412-odroid.dts

index cc8e0dd0418d0c55fdb72d4f736bb4152ab1af28..e6c7222755923b80585298c884a43463f058f9c4 100644 (file)
 &sdhci2 {
        samsung,bus-width = <4>;
        samsung,timing = <1 2 3>;
+       cd-inverted;
        cd-gpios = <&gpk2 2 0>;
        status = "okay";
 };