Skip to content

Commit

Permalink
ARM: dts: bcm28155-ap: Fix Card Detection GPIO
Browse files Browse the repository at this point in the history
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 <[email protected]>
Reviewed-by: Matt Porter <[email protected]>
Signed-off-by: Olof Johansson <[email protected]>
  • Loading branch information
Tim Kryger authored and olofj committed Jan 31, 2014
1 parent a00928f commit 94db37a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion arch/arm/boot/dts/bcm28155-ap.dts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@

/dts-v1/;

#include <dt-bindings/gpio/gpio.h>

#include "bcm11351.dtsi"

/ {
Expand Down Expand Up @@ -60,7 +62,7 @@

sdio4: sdio@3f1b0000 {
max-frequency = <48000000>;
cd-gpios = <&gpio 14 0>;
cd-gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
status = "okay";
};

Expand Down

0 comments on commit 94db37a

Please sign in to comment.