MLK-13340 dts: mx6ul-lpddr2-arm2: fix sd gpio polarity
authorDong Aisheng <aisheng.dong@nxp.com>
Fri, 14 Oct 2016 04:21:19 +0000 (12:21 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 19:52:28 +0000 (14:52 -0500)
system can't detect SD card due to wrong gpio polarity.

Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
arch/arm/boot/dts/imx6ul-14x14-lpddr2-arm2.dts

index b3d5d4e..bd9b434 100644 (file)
        pinctrl-0 = <&pinctrl_usdhc1>;
        pinctrl-1 = <&pinctrl_usdhc1_100mhz>;
        pinctrl-2 = <&pinctrl_usdhc1_200mhz>;
-       cd-gpios = <&gpio4 26 0>;
-       wp-gpios = <&gpio4 25 0>;
+       cd-gpios = <&gpio4 26 GPIO_ACTIVE_LOW>;
+       wp-gpios = <&gpio4 25 GPIO_ACTIVE_HIGH>;
        keep-power-in-suspend;
        enable-sdio-wakeup;
        vmmc-supply = <&reg_sd1_vmmc>;