summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/qcom-apq8064-cm-qs600.dts
diff options
context:
space:
mode:
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>2015-09-18 13:32:18 +0100
committerAndy Gross <agross@codeaurora.org>2015-10-13 16:40:01 -0500
commit8eb84480cc6df9f4b5cbce51e20d86e73f04575c (patch)
tree52962fdf5aa00f17342d20343e199801de6cde01 /arch/arm/boot/dts/qcom-apq8064-cm-qs600.dts
parent2630a52fd5c996cfba775346ad5a218c4b7dc147 (diff)
downloadop-kernel-dev-8eb84480cc6df9f4b5cbce51e20d86e73f04575c.zip
op-kernel-dev-8eb84480cc6df9f4b5cbce51e20d86e73f04575c.tar.gz
ARM: dts: qs600: Add SD card detect support.
This patch adds SD card detect support. Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Acked-by: Igor Grinberg <grinberg@compulab.co.il> Signed-off-by: Andy Gross <agross@codeaurora.org>
Diffstat (limited to 'arch/arm/boot/dts/qcom-apq8064-cm-qs600.dts')
-rw-r--r--arch/arm/boot/dts/qcom-apq8064-cm-qs600.dts13
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/qcom-apq8064-cm-qs600.dts b/arch/arm/boot/dts/qcom-apq8064-cm-qs600.dts
index cc9d942..03784f1 100644
--- a/arch/arm/boot/dts/qcom-apq8064-cm-qs600.dts
+++ b/arch/arm/boot/dts/qcom-apq8064-cm-qs600.dts
@@ -29,6 +29,16 @@
};
soc {
+ pinctrl@800000 {
+ card_detect: card_detect {
+ mux {
+ pins = "gpio26";
+ function = "gpio";
+ bias-disable;
+ };
+ };
+ };
+
rpm@108000 {
regulators {
vin_lvs1_3_6-supply = <&pm8921_s4>;
@@ -197,6 +207,9 @@
sdcc3: sdcc@12180000 {
status = "okay";
vmmc-supply = <&v3p3_fixed>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&card_detect>;
+ cd-gpios = <&tlmm_pinmux 26 GPIO_ACTIVE_LOW>;
};
/* WLAN */
sdcc4: sdcc@121c0000 {
OpenPOWER on IntegriCloud