]> git.sur5r.net Git - u-boot/commitdiff
ARM: dts: am43xx: fix cd-gpios definition as per hardware design and dt binding docs
authorMugunthan V N <mugunthanvnm@ti.com>
Mon, 4 Apr 2016 11:58:02 +0000 (17:28 +0530)
committerTom Rini <trini@konsulko.com>
Mon, 18 Apr 2016 16:29:18 +0000 (12:29 -0400)
As per mmc device tree binding documentation card detect gpio has
to be active low signal. When a hardware is designed with active
high card detect, gpio polarity has to be changed with
cd-inverted dt property.

In AM43xx the card detect gpio is designed as active low gpio.
So correcting the dt card detect gpio definition.

Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
arch/arm/dts/am437x-gp-evm.dts
arch/arm/dts/am437x-sk-evm.dts

index 8e23b9660917a868cf4ff8d043713871b6d583c0..142bfc52a13ca38682f0be2544df78e26f4b27b0 100644 (file)
        bus-width = <4>;
        pinctrl-names = "default";
        pinctrl-0 = <&mmc1_pins>;
-       cd-gpios = <&gpio0 6 GPIO_ACTIVE_HIGH>;
+       cd-gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
 };
 
 &mmc3 {
index 260edb93ec57c7868fc05d7eb11c0a341737b839..927d8d3e882a8dcfdc36c62c35de86b3a150bb56 100644 (file)
 
        vmmc-supply = <&dcdc4>;
        bus-width = <4>;
-       cd-gpios = <&gpio0 6 GPIO_ACTIVE_HIGH>;
+       cd-gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
 };
 
 &usb2_phy1 {