Commit 226355fb authored by Srinivas Kandagatla's avatar Srinivas Kandagatla Committed by Andy Gross

ARM: dts: db600c: Add eMMC and SD card support

This patch adds eMMC and SD card support with card detect and adding
required regulators.
Signed-off-by: default avatarSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Acked-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: default avatarAndy Gross <andy.gross@linaro.org>
parent 696a8a16
&tlmm_pinmux {
card_detect: card-detect {
mux {
pins = "gpio26";
function = "gpio";
bias-disable;
};
};
};
#include "qcom-apq8064-v2.0.dtsi" #include "qcom-apq8064-v2.0.dtsi"
#include "qcom-apq8064-arrow-db600c-pins.dtsi"
#include <dt-bindings/gpio/gpio.h>
/ { / {
model = "Arrow Electronics, APQ8064 DB600c"; model = "Arrow Electronics, APQ8064 DB600c";
...@@ -69,6 +71,20 @@ s7 { ...@@ -69,6 +71,20 @@ s7 {
regulator-max-microvolt = <1300000>; regulator-max-microvolt = <1300000>;
qcom,switch-mode-frequency = <3200000>; qcom,switch-mode-frequency = <3200000>;
}; };
l5 {
regulator-min-microvolt = <2750000>;
regulator-max-microvolt = <3000000>;
bias-pull-down;
regulator-boot-on;
regulator-always-on;
};
l6 {
regulator-min-microvolt = <2950000>;
regulator-max-microvolt = <2950000>;
bias-pull-down;
};
}; };
}; };
...@@ -94,5 +110,23 @@ serial@16640000 { ...@@ -94,5 +110,23 @@ serial@16640000 {
pinctrl-0 = <&gsbi7_uart_2pins>; pinctrl-0 = <&gsbi7_uart_2pins>;
}; };
}; };
amba {
/* eMMC */
sdcc@12400000 {
status = "okay";
vmmc-supply = <&pm8921_l5>;
vqmmc-supply = <&pm8921_s4>;
};
/* External micro SD card */
sdcc@12180000 {
status = "okay";
vmmc-supply = <&pm8921_l6>;
pinctrl-names = "default";
pinctrl-0 = <&card_detect>;
cd-gpios = <&tlmm_pinmux 26 GPIO_ACTIVE_HIGH>;
};
};
}; };
}; };
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