Skip to content

Commit 94db37a

Browse files
Tim Krygerolofj
authored andcommitted
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 <tim.kryger@linaro.org> Reviewed-by: Matt Porter <matt.porter@linaro.org> Signed-off-by: Olof Johansson <olof@lixom.net>
1 parent a00928f commit 94db37a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

arch/arm/boot/dts/bcm28155-ap.dts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313

1414
/dts-v1/;
1515

16+
#include <dt-bindings/gpio/gpio.h>
17+
1618
#include "bcm11351.dtsi"
1719

1820
/ {
@@ -60,7 +62,7 @@
6062

6163
sdio4: sdio@3f1b0000 {
6264
max-frequency = <48000000>;
63-
cd-gpios = <&gpio 14 0>;
65+
cd-gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
6466
status = "okay";
6567
};
6668

0 commit comments

Comments
 (0)