dts: am335x-pdu001: Fix polarity of card detection input
authorFelix Brack <fb@ltec.ch>
Thu, 29 Nov 2018 12:45:06 +0000 (13:45 +0100)
committerTom Rini <trini@konsulko.com>
Fri, 7 Dec 2018 13:13:45 +0000 (08:13 -0500)
When a micro SD card is inserted in the PDU001 card cage, the card
detection switch is opened and the corresponding GPIO input is driven
by a pull-up. Hence change the active level of the card detection
input from low to high.

Signed-off-by: Felix Brack <fb@ltec.ch>
arch/arm/dts/am335x-pdu001.dts

index 121e2c620708768947002f2a5139c11e932b27ee..3a5e9526635dfb6c0d8a6cc48e2df7803054ef64 100644 (file)
        bus-width = <4>;
        pinctrl-names = "default";
        pinctrl-0 = <&mmc2_pins>;
-       cd-gpios = <&gpio2 2 GPIO_ACTIVE_LOW>;
+       cd-gpios = <&gpio2 2 GPIO_ACTIVE_HIGH>;
 };
 
 &sham {