From: Tim Kryger Date: Tue, 7 Jan 2014 18:53:41 +0000 (-0800) Subject: ARM: dts: bcm28155-ap: Fix Card Detection GPIO X-Git-Tag: upstream/snapshot3+hdmi~3485^2~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=94db37ad85f8711d38744d3a12cae569641a41a3;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git ARM: dts: bcm28155-ap: Fix Card Detection GPIO The board schematic states that the "SD_CARD_DET_N gets pulled to GND when card is inserted" so the polarity has been updated to active low. Polarity is now specified with a GPIO define instead of a magic number. Signed-off-by: Tim Kryger Reviewed-by: Matt Porter Signed-off-by: Olof Johansson --- diff --git a/arch/arm/boot/dts/bcm28155-ap.dts b/arch/arm/boot/dts/bcm28155-ap.dts index c7fa9fb..5ff2382 100644 --- a/arch/arm/boot/dts/bcm28155-ap.dts +++ b/arch/arm/boot/dts/bcm28155-ap.dts @@ -13,6 +13,8 @@ /dts-v1/; +#include + #include "bcm11351.dtsi" / { @@ -60,7 +62,7 @@ sdio4: sdio@3f1b0000 { max-frequency = <48000000>; - cd-gpios = <&gpio 14 0>; + cd-gpios = <&gpio 14 GPIO_ACTIVE_LOW>; status = "okay"; };