summaryrefslogtreecommitdiff
path: root/arch/arm/dts/dra7-evm.dts
diff options
context:
space:
mode:
authorMugunthan V N <mugunthanvnm@ti.com>2016-04-04 17:28:03 +0530
committerTom Rini <trini@konsulko.com>2016-04-18 12:29:19 -0400
commite36142143005e86d2d083d9549836c32bb3a6120 (patch)
tree74d35e625a9b8576bebb77474d5aadf2618d214b /arch/arm/dts/dra7-evm.dts
parent103afa2abfe2775797073df1538363952a1a960d (diff)
ARM: dts: dra7xx: am57xx: fix cd-gpios definition as per hardware design and dt binding docs
As per mmc device tree binding documentation card detect gpio has to be active low signal. When a hardware is designed with active high card detect, gpio polarity has to be changed with cd-inverted dt property. In DRA72x and AM57xx EVMs the card detect gpio is designed as active low gpio. So correcting the dt card detect gpio definition. Also adding card-detect gpio for DRA74x EVM. Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'arch/arm/dts/dra7-evm.dts')
-rw-r--r--arch/arm/dts/dra7-evm.dts5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/dts/dra7-evm.dts b/arch/arm/dts/dra7-evm.dts
index 242fd53516..08ef04e177 100644
--- a/arch/arm/dts/dra7-evm.dts
+++ b/arch/arm/dts/dra7-evm.dts
@@ -469,6 +469,11 @@
status = "okay";
vmmc-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 GPIO_ACTIVE_LOW>;
};
&mmc2 {