diff options
author | Mugunthan V N <mugunthanvnm@ti.com> | 2015-10-12 14:37:12 +0530 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2015-10-12 16:49:12 -0700 |
commit | 267068d83e6df3bcc8b6486dcb2b43e09cd50be8 (patch) | |
tree | 13cdc948b4e9d2dd229bc76e18cd4d5157cf43e4 /arch/arm/boot/dts/dra7-evm.dts | |
parent | 0731cbdd5f408502036184ab510c924a6551bf18 (diff) | |
download | lwn-267068d83e6df3bcc8b6486dcb2b43e09cd50be8.tar.gz lwn-267068d83e6df3bcc8b6486dcb2b43e09cd50be8.zip |
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 DRA74x, DRA72x and AM57xx EVMs the card detect gpio is
designed as active low gpio. So correcting the dt card detect
gpio definition.
Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/boot/dts/dra7-evm.dts')
-rw-r--r-- | arch/arm/boot/dts/dra7-evm.dts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/dra7-evm.dts b/arch/arm/boot/dts/dra7-evm.dts index 4e796493a463..864f60020124 100644 --- a/arch/arm/boot/dts/dra7-evm.dts +++ b/arch/arm/boot/dts/dra7-evm.dts @@ -634,7 +634,7 @@ * SDCD signal is not being used here - using the fact that GPIO mode * is always hardwired. */ - cd-gpios = <&gpio6 27 0>; + cd-gpios = <&gpio6 27 GPIO_ACTIVE_LOW>; }; &mmc2 { |