ARM: dts: am571x-idk: Fix GPIO polarity for MMC1 card detect
authorKishon Vijay Abraham I <kishon@ti.com>
Tue, 8 Aug 2017 05:20:56 +0000 (10:50 +0530)
committerTony Lindgren <tony@atomide.com>
Thu, 10 Aug 2017 15:12:56 +0000 (08:12 -0700)
The GPIO polarity for MMC1 card detect is set to '0' which means
active-high. However the polarity should be active-low. Fix it
here.

Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/am571x-idk.dts

index 7b207835b2d161244fc8e09126fe384bf7eae9fa..adc70fb091a21d5cb772996daade83e470f1bfa9 100644 (file)
@@ -68,7 +68,7 @@
        status = "okay";
        vmmc-supply = <&ldo1_reg>;
        bus-width = <4>;
-       cd-gpios = <&gpio6 27 0>; /* gpio 219 */
+       cd-gpios = <&gpio6 27 GPIO_ACTIVE_LOW>; /* gpio 219 */
 };
 
 &omap_dwc3_2 {