]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: dts: at91: nattis: make the SD-card slot work
authorPeter Rosin <peda@axentia.se>
Tue, 28 Aug 2018 09:48:41 +0000 (11:48 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Tue, 28 Aug 2018 10:14:41 +0000 (12:14 +0200)
The cd-gpios signal is assumed active-low by the driver, and the
cd-inverted property is needed if it is, in fact, active-high. Fix
this oversight.

Fixes: 0e4323899973 ("ARM: dts: at91: add devicetree for the Axentia Nattis with Natte power")
Signed-off-by: Peter Rosin <peda@axentia.se>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
arch/arm/boot/dts/at91-nattis-2-natte-2.dts

index bfa5815a07214bd3418c7b16adb6bf1a261d7f3b..4308a07b792ea8358591b591a7892fa9c932a08d 100644 (file)
@@ -221,6 +221,7 @@ slot@0 {
                reg = <0>;
                bus-width = <4>;
                cd-gpios = <&pioD 5 GPIO_ACTIVE_HIGH>;
+               cd-inverted;
        };
 };