[PATCH 4/7] ARM: dts: dra7-evm: Add MMCSD card removal GPIO

Kishon Vijay Abraham I kishon at ti.com
Thu Jul 30 01:13:37 PDT 2015


From: Nishanth Menon <nm at ti.com>

SDMMC Card Detect can be used over default GPIO map.

Reported-by: Yan Liu <yan-liu at ti.com>
Signed-off-by: Nishanth Menon <nm at ti.com>
Signed-off-by: Sekhar Nori <nsekhar at ti.com>
Signed-off-by: Kishon Vijay Abraham I <kishon at ti.com>
---
 arch/arm/boot/dts/dra7-evm.dts |    5 +++++
 1 file changed, 5 insertions(+)

diff --git a/arch/arm/boot/dts/dra7-evm.dts b/arch/arm/boot/dts/dra7-evm.dts
index 1e0c88e..25f0a00 100644
--- a/arch/arm/boot/dts/dra7-evm.dts
+++ b/arch/arm/boot/dts/dra7-evm.dts
@@ -474,6 +474,11 @@
 	vmmc-supply = <&evm_3v3_sd>;
 	vmmc_aux-supply = <&ldo1_reg>;
 	bus-width = <4>;
+	/*
+	 * SDCD signal is not being used here - using the fact that GPIO mode
+	 * is always hardwired.
+	 */
+	cd-gpios = <&gpio6 27 0>;
 };
 
 &mmc2 {
-- 
1.7.9.5




More information about the linux-arm-kernel mailing list