]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
arm: dts: mt7623: fix card detection issue on bananapi-r2
authorSean Wang <sean.wang@mediatek.com>
Thu, 7 Dec 2017 06:43:24 +0000 (14:43 +0800)
committerSeth Forshee <seth.forshee@canonical.com>
Fri, 23 Feb 2018 14:26:41 +0000 (08:26 -0600)
BugLink: http://bugs.launchpad.net/bugs/1751131
commit b96a696fb2a8dd1ee4e6cfee48dcac270fc53287 upstream.

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 <sean.wang@mediatek.com>
Tested-by: Matthias Brugger <matthias.bgg@gmail.com>
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts

index 688a86378ceef8148526c5f1c68ed0f87c99b967..7bf5aa2237c9d1363b85517295b0ce4b53ab7b57 100644 (file)
        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>;
 };