Commit 8eb84480 authored by Srinivas Kandagatla's avatar Srinivas Kandagatla Committed by Andy Gross

ARM: dts: qs600: Add SD card detect support.

This patch adds SD card detect support.
Signed-off-by: default avatarSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Acked-by: default avatarIgor Grinberg <grinberg@compulab.co.il>
Signed-off-by: default avatarAndy Gross <agross@codeaurora.org>
parent 2630a52f
...@@ -29,6 +29,16 @@ sdcc4_pwrseq: sdcc4_pwrseq { ...@@ -29,6 +29,16 @@ sdcc4_pwrseq: sdcc4_pwrseq {
}; };
soc { soc {
pinctrl@800000 {
card_detect: card_detect {
mux {
pins = "gpio26";
function = "gpio";
bias-disable;
};
};
};
rpm@108000 { rpm@108000 {
regulators { regulators {
vin_lvs1_3_6-supply = <&pm8921_s4>; vin_lvs1_3_6-supply = <&pm8921_s4>;
...@@ -197,6 +207,9 @@ sdcc1: sdcc@12400000 { ...@@ -197,6 +207,9 @@ sdcc1: sdcc@12400000 {
sdcc3: sdcc@12180000 { sdcc3: sdcc@12180000 {
status = "okay"; status = "okay";
vmmc-supply = <&v3p3_fixed>; vmmc-supply = <&v3p3_fixed>;
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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment