summaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorMarek Szyprowski <m.szyprowski@samsung.com>2014-07-16 02:54:07 +0900
committerKukjin Kim <kgene.kim@samsung.com>2014-07-16 02:54:07 +0900
commit78f54db13364b9622c8734c45f774d99536da819 (patch)
tree83083a312d20402757dda8ee45cc9d4c103dae29 /arch/arm
parent081a15e3fe926d88d3eb9f3a4161c1121a2a7d0b (diff)
downloadblackbird-op-linux-78f54db13364b9622c8734c45f774d99536da819.tar.gz
blackbird-op-linux-78f54db13364b9622c8734c45f774d99536da819.zip
ARM: dts: fix T-FLASH hotplug detection for exynos4412-odroid-common
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>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/boot/dts/exynos4412-odroid-common.dtsi2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/exynos4412-odroid-common.dtsi b/arch/arm/boot/dts/exynos4412-odroid-common.dtsi
index d1b33a8efa9d..0bc1a9b94f47 100644
--- a/arch/arm/boot/dts/exynos4412-odroid-common.dtsi
+++ b/arch/arm/boot/dts/exynos4412-odroid-common.dtsi
@@ -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";
};
OpenPOWER on IntegriCloud