From: Sean Wang Date: Thu, 7 Dec 2017 06:43:24 +0000 (+0800) Subject: arm: dts: mt7623: fix card detection issue on bananapi-r2 X-Git-Tag: v4.16-rc1~100^2~48^2~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b96a696fb2a8dd1ee4e6cfee48dcac270fc53287;p=thirdparty%2Flinux.git arm: dts: mt7623: fix card detection issue on bananapi-r2 Fix that bananapi-r2 booting from SD-card would fail since incorrect polarity is applied to the previous setup with GPIO_ACTIVE_HIGH. Cc: stable@vger.kernel.org Fixes: 0eed8d097612 ("arm: dts: mt7623: Add SD-card and EMMC to bananapi-r2") Signed-off-by: Sean Wang Tested-by: Matthias Brugger Signed-off-by: Matthias Brugger --- diff --git a/arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts b/arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts index 688a86378ceef..7bf5aa2237c9d 100644 --- a/arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts +++ b/arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts @@ -204,7 +204,7 @@ bus-width = <4>; max-frequency = <50000000>; cap-sd-highspeed; - cd-gpios = <&pio 261 0>; + cd-gpios = <&pio 261 GPIO_ACTIVE_LOW>; vmmc-supply = <&mt6323_vmch_reg>; vqmmc-supply = <&mt6323_vio18_reg>; };