summaryrefslogtreecommitdiff
path: root/arch/arm
diff options
context:
space:
mode:
authorAndrzej Hajda <a.hajda@samsung.com>2015-05-04 14:03:11 +0300
committerKukjin Kim <kgene@kernel.org>2015-05-08 20:48:16 +0300
commitfb1aeedb61adcb7651eada9eb79ddfa11f21f085 (patch)
treec0a20f03a1f3f21b19706199e1a1a73a3a30bc3e /arch/arm
parentc9c1adfe1245b34e19fe9328fa9c1ac0569166f2 (diff)
downloadlinux-fb1aeedb61adcb7651eada9eb79ddfa11f21f085.tar.xz
ARM: dts: add mmc detect gpio for exynos5422-odroidxu3
The patch adds gpio for detecting presence of MMC card. It fixes issue with kernel hang when MMC card is missing. Signed-off-by: Andrzej Hajda <a.hajda@samsung.com> Reviewed-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk> Signed-off-by: Kukjin Kim <kgene@kernel.org>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/boot/dts/exynos5422-odroidxu3.dts5
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/exynos5422-odroidxu3.dts b/arch/arm/boot/dts/exynos5422-odroidxu3.dts
index edc25cf1d717..cb649b1a3f55 100644
--- a/arch/arm/boot/dts/exynos5422-odroidxu3.dts
+++ b/arch/arm/boot/dts/exynos5422-odroidxu3.dts
@@ -11,6 +11,7 @@
*/
/dts-v1/;
+#include <dt-bindings/gpio/gpio.h>
#include "exynos5800.dtsi"
/ {
@@ -306,13 +307,13 @@
&mmc_0 {
status = "okay";
mmc-pwrseq = <&emmc_pwrseq>;
- broken-cd;
+ cd-gpios = <&gpc0 2 GPIO_ACTIVE_LOW>;
card-detect-delay = <200>;
samsung,dw-mshc-ciu-div = <3>;
samsung,dw-mshc-sdr-timing = <0 4>;
samsung,dw-mshc-ddr-timing = <0 2>;
pinctrl-names = "default";
- pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus1 &sd0_bus4 &sd0_bus8>;
+ pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus1 &sd0_bus4 &sd0_bus8 &sd0_cd>;
bus-width = <8>;
cap-mmc-highspeed;
};