From: Felix Brack Date: Thu, 29 Nov 2018 12:45:06 +0000 (+0100) Subject: dts: am335x-pdu001: Fix polarity of card detection input X-Git-Tag: v2019.01-rc2~25^2~20 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=ae0a157b384469c061ab39991a8d3ab595e3b1d4;p=oweals%2Fu-boot.git dts: am335x-pdu001: Fix polarity of card detection input 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 --- diff --git a/arch/arm/dts/am335x-pdu001.dts b/arch/arm/dts/am335x-pdu001.dts index 121e2c6207..3a5e952663 100644 --- a/arch/arm/dts/am335x-pdu001.dts +++ b/arch/arm/dts/am335x-pdu001.dts @@ -576,7 +576,7 @@ 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 {