Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 94db37ad authored by Tim Kryger's avatar Tim Kryger Committed by Olof Johansson
Browse files

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: default avatarTim Kryger <tim.kryger@linaro.org>
Reviewed-by: default avatarMatt Porter <matt.porter@linaro.org>
Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
parent a00928f5
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -13,6 +13,8 @@

/dts-v1/;

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

#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";
	};