[PATCH v3] ARM: dts: bcm281xx: Add card detect GPIO
Markus Mayer
markus.mayer at linaro.org
Wed Oct 2 14:00:16 EDT 2013
Register GPIO 14 as card detect interrupt for the SD card slot.
Signed-off-by: Markus Mayer <markus.mayer at linaro.org>
---
This patch depends on [PATCH v9 3/3] ARM: bcm281xx: Add device node for
the GPIO controller
(http://lists.infradead.org/pipermail/linux-arm-kernel/2013-September/197399.html)
and should therefore likely go into Christian's tree.
Changes since v2:
- Add "cd-gpios" to the affected dts files, not the dtsi
Changes since v1:
- Corrected commit message to mention "card detect"
arch/arm/boot/dts/bcm11351-brt.dts | 1 +
arch/arm/boot/dts/bcm28155-ap.dts | 1 +
2 files changed, 2 insertions(+)
diff --git a/arch/arm/boot/dts/bcm11351-brt.dts b/arch/arm/boot/dts/bcm11351-brt.dts
index 9d36eb4..23cd16d 100644
--- a/arch/arm/boot/dts/bcm11351-brt.dts
+++ b/arch/arm/boot/dts/bcm11351-brt.dts
@@ -40,6 +40,7 @@
sdio4: sdio at 3f1b0000 {
max-frequency = <48000000>;
+ cd-gpios = <&gpio 14 0>;
status = "okay";
};
diff --git a/arch/arm/boot/dts/bcm28155-ap.dts b/arch/arm/boot/dts/bcm28155-ap.dts
index 96ae67a..08e47c2 100644
--- a/arch/arm/boot/dts/bcm28155-ap.dts
+++ b/arch/arm/boot/dts/bcm28155-ap.dts
@@ -40,6 +40,7 @@
sdio4: sdio at 3f1b0000 {
max-frequency = <48000000>;
+ cd-gpios = <&gpio 14 0>;
status = "okay";
};
};
--
1.7.9.5
More information about the linux-arm-kernel
mailing list