summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/imx7d-12x12-lpddr3-arm2.dts
diff options
context:
space:
mode:
authorHaibo Chen <haibo.chen@freescale.com>2015-08-12 15:02:28 +0800
committerNitin Garg <nitin.garg@nxp.com>2016-01-14 10:59:32 -0600
commitf5b7faced5ad4c298274fc9dc0c57932f49f2bb2 (patch)
tree5d53595a6c735764e9b7e2aa17553a8d34e62665 /arch/arm/boot/dts/imx7d-12x12-lpddr3-arm2.dts
parentc8e308e3bd0e0276e0c61b4559cf52a0e9d22a90 (diff)
MLK-11350 ARM: dts: imx7d/imx6ul: 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: Haibo Chen <haibo.chen@freescale.com>
Diffstat (limited to 'arch/arm/boot/dts/imx7d-12x12-lpddr3-arm2.dts')
-rw-r--r--arch/arm/boot/dts/imx7d-12x12-lpddr3-arm2.dts8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/boot/dts/imx7d-12x12-lpddr3-arm2.dts b/arch/arm/boot/dts/imx7d-12x12-lpddr3-arm2.dts
index 937d4a277b91..5aa54fb093c6 100644
--- a/arch/arm/boot/dts/imx7d-12x12-lpddr3-arm2.dts
+++ b/arch/arm/boot/dts/imx7d-12x12-lpddr3-arm2.dts
@@ -502,8 +502,8 @@
&usdhc1 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_usdhc1_1>;
- cd-gpios = <&gpio5 0 0>;
- wp-gpios = <&gpio5 1 0>;
+ cd-gpios = <&gpio5 0 GPIO_ACTIVE_LOW>;
+ wp-gpios = <&gpio5 1 GPIO_ACTIVE_HIGH>;
no-1-8-v;
keep-power-in-suspend;
enable-sdio-wakeup;
@@ -516,8 +516,8 @@
pinctrl-0 = <&pinctrl_usdhc2_1>;
pinctrl-1 = <&pinctrl_usdhc2_1_100mhz>;
pinctrl-2 = <&pinctrl_usdhc2_1_200mhz>;
- cd-gpios = <&gpio5 9 0>;
- wp-gpios = <&gpio5 10 0>;
+ cd-gpios = <&gpio5 9 GPIO_ACTIVE_LOW>;
+ wp-gpios = <&gpio5 10 GPIO_ACTIVE_HIGH>;
keep-power-in-suspend;
enable-sdio-wakeup;
vmmc-supply = <&reg_sd2_vmmc>;