summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/imx6ul-14x14-ddr3-arm2.dts
diff options
context:
space:
mode:
authorHaibo Chen <haibo.chen@freescale.com>2015-08-12 15:02:28 +0800
committerJason Liu <jason.hui.liu@nxp.com>2019-02-12 10:21:47 +0800
commit2c80cc98db7a25a3878a61a225a38a8ad4158086 (patch)
tree25c9107c3a15b783809d233037f48034cfa9802a /arch/arm/boot/dts/imx6ul-14x14-ddr3-arm2.dts
parent2b7434b373acd220e921e1e11c778f36c7c51b56 (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/imx6ul-14x14-ddr3-arm2.dts')
-rw-r--r--arch/arm/boot/dts/imx6ul-14x14-ddr3-arm2.dts8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/boot/dts/imx6ul-14x14-ddr3-arm2.dts b/arch/arm/boot/dts/imx6ul-14x14-ddr3-arm2.dts
index 1e43e21497f0..d31bd3c1a2ee 100644
--- a/arch/arm/boot/dts/imx6ul-14x14-ddr3-arm2.dts
+++ b/arch/arm/boot/dts/imx6ul-14x14-ddr3-arm2.dts
@@ -724,8 +724,8 @@
pinctrl-0 = <&pinctrl_usdhc1>;
pinctrl-1 = <&pinctrl_usdhc1_100mhz>;
pinctrl-2 = <&pinctrl_usdhc1_200mhz>;
- cd-gpios = <&gpio1 19 0>;
- wp-gpios = <&gpio1 18 0>;
+ cd-gpios = <&gpio1 19 GPIO_ACTIVE_LOW>;
+ wp-gpios = <&gpio1 18 GPIO_ACTIVE_HIGH>;
keep-power-in-suspend;
enable-sdio-wakeup;
vmmc-supply = <&reg_sd1_vmmc>;
@@ -737,8 +737,8 @@
pinctrl-0 = <&pinctrl_usdhc2>;
pinctrl-1 = <&pinctrl_usdhc2_100mhz>;
pinctrl-2 = <&pinctrl_usdhc2_200mhz>;
- cd-gpios = <&gpio4 17 0>;
- wp-gpios = <&gpio4 18 0>;
+ cd-gpios = <&gpio4 17 GPIO_ACTIVE_LOW>;
+ wp-gpios = <&gpio4 18 GPIO_ACTIVE_HIGH>;
keep-power-in-suspend;
enable-sdio-wakeup;
vmmc-supply = <&reg_sd2_vmmc>;