summaryrefslogtreecommitdiff
path: root/arch/arm/dts/am335x-bone-common.dtsi
diff options
context:
space:
mode:
authorMugunthan V N <mugunthanvnm@ti.com>2016-05-16 05:54:27 (GMT)
committerTom Rini <trini@konsulko.com>2016-05-27 19:47:49 (GMT)
commit2c6485bc7cdf3d7d7449c0cda87eb8512c0e5ef5 (patch)
tree0a01109b891226cdb6e00766eaf0d81f67ee9e04 /arch/arm/dts/am335x-bone-common.dtsi
parent80b24fcd3083515e6b9615868debb8891181e1e4 (diff)
downloadu-boot-2c6485bc7cdf3d7d7449c0cda87eb8512c0e5ef5.tar.xz
ARM: dts: am335x: 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 AM335x the card detect gpio is designed as active low gpio. So correcting the dt card detect gpio definition. Reviewed-by: Tom Rini <trini@konsulko.com> Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com>
Diffstat (limited to 'arch/arm/dts/am335x-bone-common.dtsi')
-rw-r--r--arch/arm/dts/am335x-bone-common.dtsi3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/arm/dts/am335x-bone-common.dtsi b/arch/arm/dts/am335x-bone-common.dtsi
index a00c0cd..40a3c35 100644
--- a/arch/arm/dts/am335x-bone-common.dtsi
+++ b/arch/arm/dts/am335x-bone-common.dtsi
@@ -388,8 +388,7 @@
bus-width = <0x4>;
pinctrl-names = "default";
pinctrl-0 = <&mmc1_pins>;
- cd-gpios = <&gpio0 6 GPIO_ACTIVE_HIGH>;
- cd-inverted;
+ cd-gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
};
&aes {