aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Kryger <tim.kryger@linaro.org>2013-11-13 17:23:05 -0800
committerTim Kryger <tim.kryger@linaro.org>2013-12-05 14:18:18 -0800
commit678b897b81393fe2a3ab8a48f2cd3799ee9c20a1 (patch)
tree19136935a6e47fbe45e455301fa5659b8895bb36
parentdc1ccc48159d63eca5089e507c82c7d22ef60839 (diff)
ARM: dts: bcm28155-ap: Fix Card Detection GPIOpublic-review/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>
-rw-r--r--arch/arm/boot/dts/bcm28155-ap.dts4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/bcm28155-ap.dts b/arch/arm/boot/dts/bcm28155-ap.dts
index 08e47c28522..27dd110c603 100644
--- a/arch/arm/boot/dts/bcm28155-ap.dts
+++ b/arch/arm/boot/dts/bcm28155-ap.dts
@@ -13,6 +13,8 @@
/dts-v1/;
+#include <dt-bindings/gpio/gpio.h>
+
#include "bcm11351.dtsi"
/ {
@@ -40,7 +42,7 @@
sdio4: sdio@3f1b0000 {
max-frequency = <48000000>;
- cd-gpios = <&gpio 14 0>;
+ cd-gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
status = "okay";
};
};