diff options
author | Tim Kryger <tim.kryger@linaro.org> | 2014-01-07 13:53:41 -0500 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2014-01-31 18:11:22 -0500 |
commit | 94db37ad85f8711d38744d3a12cae569641a41a3 (patch) | |
tree | 4fe19a70c04da85be82d78c5b032a0cb6b97c5f8 | |
parent | a00928f55841f8a7d28120f967068255b89d41b1 (diff) |
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>
-rw-r--r-- | arch/arm/boot/dts/bcm28155-ap.dts | 4 |
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 c7fa9fbb999c..5ff2382a49e4 100644 --- a/arch/arm/boot/dts/bcm28155-ap.dts +++ b/arch/arm/boot/dts/bcm28155-ap.dts | |||
@@ -13,6 +13,8 @@ | |||
13 | 13 | ||
14 | /dts-v1/; | 14 | /dts-v1/; |
15 | 15 | ||
16 | #include <dt-bindings/gpio/gpio.h> | ||
17 | |||
16 | #include "bcm11351.dtsi" | 18 | #include "bcm11351.dtsi" |
17 | 19 | ||
18 | / { | 20 | / { |
@@ -60,7 +62,7 @@ | |||
60 | 62 | ||
61 | sdio4: sdio@3f1b0000 { | 63 | sdio4: sdio@3f1b0000 { |
62 | max-frequency = <48000000>; | 64 | max-frequency = <48000000>; |
63 | cd-gpios = <&gpio 14 0>; | 65 | cd-gpios = <&gpio 14 GPIO_ACTIVE_LOW>; |
64 | status = "okay"; | 66 | status = "okay"; |
65 | }; | 67 | }; |
66 | 68 | ||