MLK-11781-2 dts: imx6ul-9x9-evk: fix uSDHC1 CD GPIO polarity
authorDong Aisheng <aisheng.dong@freescale.com>
Wed, 28 Oct 2015 08:33:17 +0000 (16:33 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 19:49:08 +0000 (14:49 -0500)
The default gpio flag is 0 which actually means ACTIVE_HIGH.
However, it should be ACTIVE_LOW.
Change it using correct macro directly.

Signed-off-by: Dong Aisheng <aisheng.dong@freescale.com>
arch/arm/boot/dts/imx6ul-9x9-evk.dts

index 7ca9c6d..c3c3c96 100644 (file)
        pinctrl-0 = <&pinctrl_usdhc1>;
        pinctrl-1 = <&pinctrl_usdhc1_100mhz>;
        pinctrl-2 = <&pinctrl_usdhc1_200mhz>;
-       cd-gpios = <&gpio1 19 0>;
+       cd-gpios = <&gpio1 19 GPIO_ACTIVE_LOW>;
        keep-power-in-suspend;
        enable-sdio-wakeup;
        vmmc-supply = <&reg_sd1_vmmc>;