Commit 3a6a6d0a authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski

ARM: dts: exynos: Add support for UHS-I SD cards on Arndale Octa

The Exynos5420's Mobile Storage Host supports SD cards in UHS-I standard
(SD specification v3.0), with 1.8 V signaling in SD UHS DDR50.  Adjust
the regulator and add necessary capability properties.  Change the SDR
and DDR timings to match values in Insignal v3.4 Android kernel.

Tested with SD UHS-I card in SD UHS DDR50 mode.
Signed-off-by: default avatarKrzysztof Kozlowski <krzk@kernel.org>
parent 30082e7b
...@@ -441,7 +441,7 @@ ldo12_reg: LDO12 { ...@@ -441,7 +441,7 @@ ldo12_reg: LDO12 {
ldo13_reg: LDO13 { ldo13_reg: LDO13 {
regulator-name = "PVDD_APIO_MMCOFF_2V8"; regulator-name = "PVDD_APIO_MMCOFF_2V8";
regulator-min-microvolt = <2800000>; regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <2800000>; regulator-max-microvolt = <2800000>;
}; };
...@@ -701,14 +701,17 @@ &mmc_2 { ...@@ -701,14 +701,17 @@ &mmc_2 {
status = "okay"; status = "okay";
card-detect-delay = <200>; card-detect-delay = <200>;
samsung,dw-mshc-ciu-div = <3>; samsung,dw-mshc-ciu-div = <3>;
samsung,dw-mshc-sdr-timing = <2 3>; samsung,dw-mshc-sdr-timing = <0 4>;
samsung,dw-mshc-ddr-timing = <1 2>; samsung,dw-mshc-ddr-timing = <0 2>;
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus1 &sd2_bus4>; pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus1 &sd2_bus4>;
vmmc-supply = <&ldo19_reg>; vmmc-supply = <&ldo19_reg>;
vqmmc-supply = <&ldo13_reg>; vqmmc-supply = <&ldo13_reg>;
bus-width = <4>; bus-width = <4>;
cap-sd-highspeed; cap-sd-highspeed;
sd-uhs-sdr50;
sd-uhs-sdr104;
sd-uhs-ddr50;
}; };
&pinctrl_0 { &pinctrl_0 {
......
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