From patchwork Thu Jan 16 15:25:34 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 239674 List-Id: U-Boot discussion From: m.szyprowski at samsung.com (Marek Szyprowski) Date: Thu, 16 Jan 2020 16:25:34 +0100 Subject: [PATCH 2/3] arm: dts: exynos: Fix card-detect polarity for SD card on Odroid U3/X2 In-Reply-To: <20200116152535.2170-1-m.szyprowski@samsung.com> References: <20200116152535.2170-1-m.szyprowski@samsung.com> Message-ID: <20200116152535.2170-3-m.szyprowski@samsung.com> 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 --- arch/arm/dts/exynos4412-odroid.dts | 1 + 1 file changed, 1 insertion(+) 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"; };