Commit a1ab5e4c authored by Ulf Hansson's avatar Ulf Hansson Committed by Linus Walleij

ARM: ux500: Configure regulator for I/O voltage for SD-card slot

To be able to enable SDR12|25 for SD-cards, we needed to fixup the
configuration in DT of the gpio regulator, which handles the signal
voltage level. Some configuration were missing and some were wrong.

Cc: Lee Jones <lee.jones@linaro.org>
Cc: devicetree@vger.kernel.org
Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent a987a3ac
...@@ -68,8 +68,6 @@ sdi0_per1@80126000 { ...@@ -68,8 +68,6 @@ sdi0_per1@80126000 {
vmmci: regulator-gpio { vmmci: regulator-gpio {
gpios = <&tc3589x_gpio 18 0x4>; gpios = <&tc3589x_gpio 18 0x4>;
enable-gpio = <&tc3589x_gpio 17 0x4>; enable-gpio = <&tc3589x_gpio 17 0x4>;
status = "okay";
}; };
pinctrl { pinctrl {
......
...@@ -22,6 +22,11 @@ sdi0_per1@80126000 { ...@@ -22,6 +22,11 @@ sdi0_per1@80126000 {
cd-gpios = <&gpio2 31 0x4>; // 95 cd-gpios = <&gpio2 31 0x4>; // 95
}; };
vmmci: regulator-gpio {
gpios = <&gpio0 5 0x4>;
enable-gpio = <&gpio5 9 0x4>;
};
pinctrl { pinctrl {
/* /*
* Set this up using hogs, as time goes by and as seems fit, these * Set this up using hogs, as time goes by and as seems fit, these
......
...@@ -146,10 +146,8 @@ ethernet@0 { ...@@ -146,10 +146,8 @@ ethernet@0 {
}; };
vmmci: regulator-gpio { vmmci: regulator-gpio {
gpios = <&gpio6 25 0x4>; gpios = <&gpio7 4 0x4>;
enable-gpio = <&gpio7 4 0x4>; enable-gpio = <&gpio6 25 0x4>;
status = "okay";
}; };
// External Micro SD slot // External Micro SD slot
......
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