summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorMugunthan V N <mugunthanvnm@ti.com>2016-04-04 17:28:02 +0530
committerTom Rini <trini@konsulko.com>2016-04-18 12:29:18 -0400
commit103afa2abfe2775797073df1538363952a1a960d (patch)
tree6a1674cd66e252b1d09f017691d98f198ee542af /arch
parent5cc6a2458e33bb1b99b323ef1f69b5446820d8d7 (diff)
downloadtalos-obmc-uboot-103afa2abfe2775797073df1538363952a1a960d.tar.gz
talos-obmc-uboot-103afa2abfe2775797073df1538363952a1a960d.zip
ARM: dts: am43xx: 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 AM43xx 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> Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/dts/am437x-gp-evm.dts2
-rw-r--r--arch/arm/dts/am437x-sk-evm.dts2
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/dts/am437x-gp-evm.dts b/arch/arm/dts/am437x-gp-evm.dts
index 8e23b96609..142bfc52a1 100644
--- a/arch/arm/dts/am437x-gp-evm.dts
+++ b/arch/arm/dts/am437x-gp-evm.dts
@@ -573,7 +573,7 @@
bus-width = <4>;
pinctrl-names = "default";
pinctrl-0 = <&mmc1_pins>;
- cd-gpios = <&gpio0 6 GPIO_ACTIVE_HIGH>;
+ cd-gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
};
&mmc3 {
diff --git a/arch/arm/dts/am437x-sk-evm.dts b/arch/arm/dts/am437x-sk-evm.dts
index 260edb93ec..927d8d3e88 100644
--- a/arch/arm/dts/am437x-sk-evm.dts
+++ b/arch/arm/dts/am437x-sk-evm.dts
@@ -536,7 +536,7 @@
vmmc-supply = <&dcdc4>;
bus-width = <4>;
- cd-gpios = <&gpio0 6 GPIO_ACTIVE_HIGH>;
+ cd-gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
};
&usb2_phy1 {
OpenPOWER on IntegriCloud