summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/imx7d-sdb.dts
diff options
context:
space:
mode:
authorDong Aisheng <aisheng.dong@freescale.com>2015-07-22 20:53:04 +0800
committerUlf Hansson <ulf.hansson@linaro.org>2015-07-24 10:18:36 +0200
commit1cd55947f2bfdb99a2a741d65c7463d106ef9132 (patch)
tree6b42d0225737d339f6538aeeba69518a280be1cf /arch/arm/boot/dts/imx7d-sdb.dts
parentcf75eb15be2bdd054a76aeef6458beaa4a6ab770 (diff)
downloadop-kernel-dev-1cd55947f2bfdb99a2a741d65c7463d106ef9132.zip
op-kernel-dev-1cd55947f2bfdb99a2a741d65c7463d106ef9132.tar.gz
dts: imx7: 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/imx7d-sdb.dts')
-rw-r--r--arch/arm/boot/dts/imx7d-sdb.dts4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/imx7d-sdb.dts b/arch/arm/boot/dts/imx7d-sdb.dts
index 4d1a4b9..fdd1d7c 100644
--- a/arch/arm/boot/dts/imx7d-sdb.dts
+++ b/arch/arm/boot/dts/imx7d-sdb.dts
@@ -234,8 +234,8 @@
&usdhc1 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_usdhc1>;
- cd-gpios = <&gpio5 0 0>;
- wp-gpios = <&gpio5 1 0>;
+ cd-gpios = <&gpio5 0 GPIO_ACTIVE_LOW>;
+ wp-gpios = <&gpio5 1 GPIO_ACTIVE_HIGH>;
enable-sdio-wakeup;
keep-power-in-suspend;
status = "okay";
OpenPOWER on IntegriCloud