diff options
author | Dong Aisheng <aisheng.dong@freescale.com> | 2015-07-22 08:53:00 -0400 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2015-07-24 04:18:34 -0400 |
commit | aca45c0e95dad1c4ba4d38da192756b0e10cbbbd (patch) | |
tree | aff26059f008f9ed67d2ad557cccc29b6173491c | |
parent | 8e91125ff3f57f15c6568e2a6d32743b3f7815e4 (diff) |
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>
-rw-r--r-- | arch/arm/boot/dts/imx51-apf51dev.dts | 2 |
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 @@ | |||
98 | &esdhc1 { | 98 | &esdhc1 { |
99 | pinctrl-names = "default"; | 99 | pinctrl-names = "default"; |
100 | pinctrl-0 = <&pinctrl_esdhc1>; | 100 | pinctrl-0 = <&pinctrl_esdhc1>; |
101 | cd-gpios = <&gpio2 29 GPIO_ACTIVE_HIGH>; | 101 | cd-gpios = <&gpio2 29 GPIO_ACTIVE_LOW>; |
102 | bus-width = <4>; | 102 | bus-width = <4>; |
103 | status = "okay"; | 103 | status = "okay"; |
104 | }; | 104 | }; |