提交 b4e10dd7 编写于 作者: P Pramod Gurav 提交者: Kumar Gala

ARM: dts: qcom: Add Support for SD Card Detect for ifc6410 board

This changes muxes in gpio26 pin to function as gpio and adds support
for sd card detect for apq8064 based IFC6410 board.

Cc: Rob Herring <robh+dt@kernel.org>
Cc: Pawel Moll <pawel.moll@arm.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Ian Campbell <ijc+devicetree@hellion.org.uk>
Cc: Kumar Gala <galak@codeaurora.org>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: NPramod Gurav <pramod.gurav@smartplayin.com>
Signed-off-by: NKumar Gala <galak@codeaurora.org>
上级 97bf6af1
#include "qcom-apq8064-v2.0.dtsi" #include "qcom-apq8064-v2.0.dtsi"
#include <dt-bindings/gpio/gpio.h>
/ { / {
model = "Qualcomm APQ8064/IFC6410"; model = "Qualcomm APQ8064/IFC6410";
...@@ -12,6 +13,14 @@ ...@@ -12,6 +13,14 @@
function = "gsbi1"; function = "gsbi1";
}; };
}; };
card_detect: card_detect {
mux {
pins = "gpio26";
function = "gpio";
bias-disable;
};
};
}; };
gsbi@12440000 { gsbi@12440000 {
...@@ -49,6 +58,9 @@ ...@@ -49,6 +58,9 @@
/* External micro SD card */ /* External micro SD card */
sdcc3: sdcc@12180000 { sdcc3: sdcc@12180000 {
status = "okay"; status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&card_detect>;
cd-gpios = <&tlmm_pinmux 26 GPIO_ACTIVE_LOW>;
}; };
/* WLAN */ /* WLAN */
sdcc4: sdcc@121c0000 { sdcc4: sdcc@121c0000 {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册