From: Marcel Ziswiler Date: Tue, 22 Nov 2016 00:14:06 +0000 (+0100) Subject: ARM: tegra: apalis-tk1: Fix SD card detect on v1.1 HW X-Git-Tag: v4.11-rc1~87^2~18^2~9 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ab9670d5524af2359663ae590ee02e3b27d13b88;p=platform%2Fkernel%2Flinux-exynos.git ARM: tegra: apalis-tk1: Fix SD card detect on v1.1 HW Add SD card detect SD1_CD# applicable for V1.1 modules using GPIO_PV2. Signed-off-by: Marcel Ziswiler Signed-off-by: Thierry Reding --- diff --git a/arch/arm/boot/dts/tegra124-apalis-eval.dts b/arch/arm/boot/dts/tegra124-apalis-eval.dts index 653044a..5b860ad 100644 --- a/arch/arm/boot/dts/tegra124-apalis-eval.dts +++ b/arch/arm/boot/dts/tegra124-apalis-eval.dts @@ -187,14 +187,8 @@ /* Apalis SD1 */ sdhci@700b0400 { status = "okay"; - /* - * Don't use SD1_CD# aka SDMMC3_CLK_LB_OUT for now as it - * features some magic properties even though the external - * loopback is disabled and the internal loopback used as per - * SDMMC_VENDOR_MISC_CNTRL_0 register's SDMMC_SPARE1 bits being - * set to 0xfffd according to the TRM! - * cd-gpios = <&gpio TEGRA_GPIO(EE, 4) GPIO_ACTIVE_LOW>; - */ + /* SD1_CD# */ + cd-gpios = <&gpio TEGRA_GPIO(V, 2) GPIO_ACTIVE_LOW>; bus-width = <4>; vqmmc-supply = <&vddio_sdmmc3>; };