summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/imx51-apf51dev.dts
diff options
context:
space:
mode:
authorDong Aisheng <aisheng.dong@freescale.com>2015-07-22 15:53:00 +0300
committerUlf Hansson <ulf.hansson@linaro.org>2015-07-24 11:18:34 +0300
commitaca45c0e95dad1c4ba4d38da192756b0e10cbbbd (patch)
treeaff26059f008f9ed67d2ad557cccc29b6173491c /arch/arm/boot/dts/imx51-apf51dev.dts
parent8e91125ff3f57f15c6568e2a6d32743b3f7815e4 (diff)
downloadlinux-aca45c0e95dad1c4ba4d38da192756b0e10cbbbd.tar.xz
dts: imx51: 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/imx51-apf51dev.dts')
-rw-r--r--arch/arm/boot/dts/imx51-apf51dev.dts2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/imx51-apf51dev.dts b/arch/arm/boot/dts/imx51-apf51dev.dts
index 93d3ea12328c..0f3fe29b816e 100644
--- a/arch/arm/boot/dts/imx51-apf51dev.dts
+++ b/arch/arm/boot/dts/imx51-apf51dev.dts
@@ -98,7 +98,7 @@
&esdhc1 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_esdhc1>;
- cd-gpios = <&gpio2 29 GPIO_ACTIVE_HIGH>;
+ cd-gpios = <&gpio2 29 GPIO_ACTIVE_LOW>;
bus-width = <4>;
status = "okay";
};