Commit 2736bbac authored by Srinivas Kandagatla's avatar Srinivas Kandagatla Committed by Andy Gross

ARM: dts: ifc6410: add real regulators for sdcc nodes.

This patch adds real regulators for all the three sdcc nodes.
Signed-off-by: default avatarSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: default avatarAndy Gross <agross@codeaurora.org>
parent c37e9958
...@@ -74,6 +74,12 @@ pm8921_l4: l4 { ...@@ -74,6 +74,12 @@ pm8921_l4: l4 {
bias-pull-down; bias-pull-down;
}; };
pm8921_l5: l5 {
regulator-min-microvolt = <2750000>;
regulator-max-microvolt = <3000000>;
bias-pull-down;
};
pm8921_l6: l6 { pm8921_l6: l6 {
regulator-min-microvolt = <2950000>; regulator-min-microvolt = <2950000>;
regulator-max-microvolt = <2950000>; regulator-max-microvolt = <2950000>;
...@@ -85,9 +91,25 @@ pm8921_l23: l23 { ...@@ -85,9 +91,25 @@ pm8921_l23: l23 {
regulator-max-microvolt = <1900000>; regulator-max-microvolt = <1900000>;
bias-pull-down; bias-pull-down;
}; };
pm8921_lvs1: lvs1 {
bias-pull-down;
};
}; };
}; };
ext_3p3v: regulator-fixed@1 {
compatible = "regulator-fixed";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
regulator-name = "ext_3p3v";
regulator-type = "voltage";
startup-delay-us = <0>;
gpio = <&tlmm_pinmux 77 GPIO_ACTIVE_HIGH>;
enable-active-high;
regulator-boot-on;
};
gsbi3: gsbi@16200000 { gsbi3: gsbi@16200000 {
status = "okay"; status = "okay";
qcom,mode = <GSBI_PROT_I2C>; qcom,mode = <GSBI_PROT_I2C>;
...@@ -188,11 +210,14 @@ amba { ...@@ -188,11 +210,14 @@ amba {
/* eMMC */ /* eMMC */
sdcc1: sdcc@12400000 { sdcc1: sdcc@12400000 {
status = "okay"; status = "okay";
vmmc-supply = <&pm8921_l5>;
vqmmc-supply = <&pm8921_s4>;
}; };
/* External micro SD card */ /* External micro SD card */
sdcc3: sdcc@12180000 { sdcc3: sdcc@12180000 {
status = "okay"; status = "okay";
vmmc-supply = <&pm8921_l6>;
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&card_detect>; pinctrl-0 = <&card_detect>;
cd-gpios = <&tlmm_pinmux 26 GPIO_ACTIVE_LOW>; cd-gpios = <&tlmm_pinmux 26 GPIO_ACTIVE_LOW>;
...@@ -200,6 +225,8 @@ sdcc3: sdcc@12180000 { ...@@ -200,6 +225,8 @@ sdcc3: sdcc@12180000 {
/* WLAN */ /* WLAN */
sdcc4: sdcc@121c0000 { sdcc4: sdcc@121c0000 {
status = "okay"; status = "okay";
vmmc-supply = <&ext_3p3v>;
vqmmc-supply = <&pm8921_lvs1>;
}; };
}; };
}; };
......
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