summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/imx53-voipac-bsb.dts
diff options
context:
space:
mode:
authorDong Aisheng <aisheng.dong@freescale.com>2015-07-22 20:53:01 +0800
committerUlf Hansson <ulf.hansson@linaro.org>2015-07-24 10:18:35 +0200
commit94d76946859b4bcfa0da373357f14feda2af0622 (patch)
treeacb825c3e771216b08dc68fa8805a13964d42507 /arch/arm/boot/dts/imx53-voipac-bsb.dts
parentaca45c0e95dad1c4ba4d38da192756b0e10cbbbd (diff)
downloadop-kernel-dev-94d76946859b4bcfa0da373357f14feda2af0622.zip
op-kernel-dev-94d76946859b4bcfa0da373357f14feda2af0622.tar.gz
dts: imx53: fix sd card gpio polarity specified in device tree
cd-gpios polarity should be changed to GPIO_ACTIVE_LOW and wp-gpios should be changed to GPIO_ACTIVE_HIGH. Otherwise, the SD may not work properly due to wrong polarity inversion specified in DT after switch to common parsing function mmc_of_parse(). Signed-off-by: Dong Aisheng <aisheng.dong@freescale.com> Acked-by: Shawn Guo <shawnguo@kernel.org> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'arch/arm/boot/dts/imx53-voipac-bsb.dts')
-rw-r--r--arch/arm/boot/dts/imx53-voipac-bsb.dts4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/imx53-voipac-bsb.dts b/arch/arm/boot/dts/imx53-voipac-bsb.dts
index c17d3ad..fc51b87 100644
--- a/arch/arm/boot/dts/imx53-voipac-bsb.dts
+++ b/arch/arm/boot/dts/imx53-voipac-bsb.dts
@@ -119,8 +119,8 @@
&esdhc2 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_esdhc2>;
- cd-gpios = <&gpio3 25 0>;
- wp-gpios = <&gpio2 19 0>;
+ cd-gpios = <&gpio3 25 GPIO_ACTIVE_LOW>;
+ wp-gpios = <&gpio2 19 GPIO_ACTIVE_HIGH>;
vmmc-supply = <&reg_3p3v>;
status = "okay";
};
OpenPOWER on IntegriCloud