ARM: dts: fix T-FLASH hotplug detection for exynos4412-odroid-common
authorMarek Szyprowski <m.szyprowski@samsung.com>
Tue, 15 Jul 2014 17:54:07 +0000 (02:54 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Tue, 15 Jul 2014 17:54:07 +0000 (02:54 +0900)
TFLASH (SDHCI2 controller) uses internal card detect line, but it looks
that the driver fails to operate it properly. Use GPIO interrupt on
SD_CDn line for detecting SD card state.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/boot/dts/exynos4412-odroid-common.dtsi

index d1b33a8..0bc1a9b 100644 (file)
@@ -91,6 +91,8 @@
                pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus4>;
                pinctrl-names = "default";
                vmmc-supply = <&ldo4_reg &ldo21_reg>;
+               cd-gpios = <&gpk2 2 0>;
+               cd-inverted;
                status = "okay";
        };