1 From b96a696fb2a8dd1ee4e6cfee48dcac270fc53287 Mon Sep 17 00:00:00 2001
2 From: Sean Wang <sean.wang@mediatek.com>
3 Date: Thu, 7 Dec 2017 14:43:24 +0800
4 Subject: arm: dts: mt7623: fix card detection issue on bananapi-r2
6 From: Sean Wang <sean.wang@mediatek.com>
8 commit b96a696fb2a8dd1ee4e6cfee48dcac270fc53287 upstream.
10 Fix that bananapi-r2 booting from SD-card would fail since incorrect
11 polarity is applied to the previous setup with GPIO_ACTIVE_HIGH.
13 Cc: stable@vger.kernel.org
14 Fixes: 0eed8d097612 ("arm: dts: mt7623: Add SD-card and EMMC to bananapi-r2")
15 Signed-off-by: Sean Wang <sean.wang@mediatek.com>
16 Tested-by: Matthias Brugger <matthias.bgg@gmail.com>
17 Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
18 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
21 arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts | 2 +-
22 1 file changed, 1 insertion(+), 1 deletion(-)
24 --- a/arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts
25 +++ b/arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts
28 max-frequency = <50000000>;
30 - cd-gpios = <&pio 261 0>;
31 + cd-gpios = <&pio 261 GPIO_ACTIVE_LOW>;
32 vmmc-supply = <&mt6323_vmch_reg>;
33 vqmmc-supply = <&mt6323_vio18_reg>;