Commit aaa25a5a authored by Jaehoon Chung's avatar Jaehoon Chung Committed by Kukjin Kim

ARM: dts: unuse the slot-node and deprecate the supports-highspeed for dw-mmc in exynos

dw-mmc controller can support multiple slots.
But, there are no use-cases anywhere. So we don't need to support the
slot-node for dw-mmc controller.
And "supports-highspeed" property in dw-mmc is deprecated.
"supports-highspeed" property can be replaced with "cap-sd/mmc-highspeed".
Signed-off-by: default avatarJaehoon Chung <jh80.chung@samsung.com>
Reviewed-by: default avatarTushar Behera <trblinux@gmail.com>
Reviewed-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
Tested-by: default avatarSachin Kamat <sachin.kamat@samsung.com>
[kgene.kim@samsung.com: rebased exynos5250-snow changes]
Signed-off-by: default avatarKukjin Kim <kgene.kim@samsung.com>
parent 5fbc3f20
...@@ -54,17 +54,13 @@ mmc@12550000 { ...@@ -54,17 +54,13 @@ mmc@12550000 {
status = "okay"; status = "okay";
num-slots = <1>; num-slots = <1>;
supports-highspeed;
broken-cd; broken-cd;
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 = <2 3>;
samsung,dw-mshc-ddr-timing = <1 2>; samsung,dw-mshc-ddr-timing = <1 2>;
bus-width = <8>;
slot@0 { cap-mmc-highspeed;
reg = <0>;
bus-width = <8>;
};
}; };
watchdog@10060000 { watchdog@10060000 {
......
...@@ -137,17 +137,13 @@ mmc@12550000 { ...@@ -137,17 +137,13 @@ mmc@12550000 {
status = "okay"; status = "okay";
num-slots = <1>; num-slots = <1>;
supports-highspeed;
broken-cd; broken-cd;
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 = <2 3>;
samsung,dw-mshc-ddr-timing = <1 2>; samsung,dw-mshc-ddr-timing = <1 2>;
bus-width = <8>;
slot@0 { cap-mmc-highspeed;
reg = <0>;
bus-width = <8>;
};
}; };
codec@13400000 { codec@13400000 {
......
...@@ -520,7 +520,6 @@ buck9_reg: buck9 { ...@@ -520,7 +520,6 @@ buck9_reg: buck9 {
mmc@12550000 { mmc@12550000 {
num-slots = <1>; num-slots = <1>;
supports-highspeed;
broken-cd; broken-cd;
non-removable; non-removable;
card-detect-delay = <200>; card-detect-delay = <200>;
...@@ -532,11 +531,8 @@ mmc@12550000 { ...@@ -532,11 +531,8 @@ mmc@12550000 {
pinctrl-0 = <&sd4_clk &sd4_cmd &sd4_bus4 &sd4_bus8>; pinctrl-0 = <&sd4_clk &sd4_cmd &sd4_bus4 &sd4_bus8>;
pinctrl-names = "default"; pinctrl-names = "default";
status = "okay"; status = "okay";
bus-width = <8>;
slot@0 { cap-mmc-highspeed;
reg = <0>;
bus-width = <8>;
};
}; };
serial@13800000 { serial@13800000 {
......
...@@ -401,7 +401,6 @@ sata-phy@12170000 { ...@@ -401,7 +401,6 @@ sata-phy@12170000 {
mmc_0: mmc@12200000 { mmc_0: mmc@12200000 {
status = "okay"; status = "okay";
num-slots = <1>; num-slots = <1>;
supports-highspeed;
broken-cd; broken-cd;
card-detect-delay = <200>; card-detect-delay = <200>;
samsung,dw-mshc-ciu-div = <3>; samsung,dw-mshc-ciu-div = <3>;
...@@ -410,17 +409,13 @@ mmc_0: mmc@12200000 { ...@@ -410,17 +409,13 @@ mmc_0: mmc@12200000 {
vmmc-supply = <&mmc_reg>; vmmc-supply = <&mmc_reg>;
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus4 &sd0_bus8>; pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus4 &sd0_bus8>;
bus-width = <8>;
slot@0 { cap-mmc-highspeed;
reg = <0>;
bus-width = <8>;
};
}; };
mmc_2: mmc@12220000 { mmc_2: mmc@12220000 {
status = "okay"; status = "okay";
num-slots = <1>; num-slots = <1>;
supports-highspeed;
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 = <2 3>;
...@@ -428,12 +423,9 @@ mmc_2: mmc@12220000 { ...@@ -428,12 +423,9 @@ mmc_2: mmc@12220000 {
vmmc-supply = <&mmc_reg>; vmmc-supply = <&mmc_reg>;
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus4>; pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus4>;
bus-width = <4>;
slot@0 { disable-wp;
reg = <0>; cap-sd-highspeed;
bus-width = <4>;
disable-wp;
};
}; };
i2s0: i2s@03830000 { i2s0: i2s@03830000 {
......
...@@ -284,7 +284,6 @@ sata-phy@12170000 { ...@@ -284,7 +284,6 @@ sata-phy@12170000 {
mmc@12200000 { mmc@12200000 {
status = "okay"; status = "okay";
num-slots = <1>; num-slots = <1>;
supports-highspeed;
broken-cd; broken-cd;
card-detect-delay = <200>; card-detect-delay = <200>;
samsung,dw-mshc-ciu-div = <3>; samsung,dw-mshc-ciu-div = <3>;
...@@ -292,29 +291,22 @@ mmc@12200000 { ...@@ -292,29 +291,22 @@ mmc@12200000 {
samsung,dw-mshc-ddr-timing = <1 2>; samsung,dw-mshc-ddr-timing = <1 2>;
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus4 &sd0_bus8>; pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus4 &sd0_bus8>;
bus-width = <8>;
slot@0 { cap-mmc-highspeed;
reg = <0>;
bus-width = <8>;
};
}; };
mmc@12220000 { mmc@12220000 {
status = "okay"; status = "okay";
num-slots = <1>; num-slots = <1>;
supports-highspeed;
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 = <2 3>;
samsung,dw-mshc-ddr-timing = <1 2>; samsung,dw-mshc-ddr-timing = <1 2>;
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus4>; pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus4>;
bus-width = <4>;
slot@0 { disable-wp;
reg = <0>; cap-sd-highspeed;
bus-width = <4>;
disable-wp;
};
}; };
spi_1: spi@12d30000 { spi_1: spi@12d30000 {
......
...@@ -563,7 +563,6 @@ hdmiphy: hdmiphy@38 { ...@@ -563,7 +563,6 @@ hdmiphy: hdmiphy@38 {
&mmc_0 { &mmc_0 {
status = "okay"; status = "okay";
num-slots = <1>; num-slots = <1>;
supports-highspeed;
broken-cd; broken-cd;
card-detect-delay = <200>; card-detect-delay = <200>;
samsung,dw-mshc-ciu-div = <3>; samsung,dw-mshc-ciu-div = <3>;
...@@ -571,29 +570,22 @@ &mmc_0 { ...@@ -571,29 +570,22 @@ &mmc_0 {
samsung,dw-mshc-ddr-timing = <1 2>; samsung,dw-mshc-ddr-timing = <1 2>;
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_cd &sd0_bus4 &sd0_bus8>; pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_cd &sd0_bus4 &sd0_bus8>;
bus-width = <8>;
slot@0 { cap-mmc-highspeed;
reg = <0>;
bus-width = <8>;
};
}; };
&mmc_2 { &mmc_2 {
status = "okay"; status = "okay";
num-slots = <1>; num-slots = <1>;
supports-highspeed;
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 = <2 3>;
samsung,dw-mshc-ddr-timing = <1 2>; samsung,dw-mshc-ddr-timing = <1 2>;
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus4>; pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus4>;
bus-width = <4>;
slot@0 { wp-gpios = <&gpc2 1 0>;
reg = <0>; cap-sd-highspeed;
bus-width = <4>;
wp-gpios = <&gpc2 1 0>;
};
}; };
/* /*
...@@ -603,7 +595,6 @@ slot@0 { ...@@ -603,7 +595,6 @@ slot@0 {
&mmc_3 { &mmc_3 {
status = "okay"; status = "okay";
num-slots = <1>; num-slots = <1>;
supports-highspeed;
broken-cd; broken-cd;
card-detect-delay = <200>; card-detect-delay = <200>;
samsung,dw-mshc-ciu-div = <3>; samsung,dw-mshc-ciu-div = <3>;
...@@ -611,11 +602,8 @@ &mmc_3 { ...@@ -611,11 +602,8 @@ &mmc_3 {
samsung,dw-mshc-ddr-timing = <1 2>; samsung,dw-mshc-ddr-timing = <1 2>;
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&sd3_clk &sd3_cmd &sd3_bus4>; pinctrl-0 = <&sd3_clk &sd3_cmd &sd3_bus4>;
bus-width = <4>;
slot@0 { cap-sd-highspeed;
reg = <0>;
bus-width = <4>;
};
}; };
&pinctrl_0 { &pinctrl_0 {
......
...@@ -69,7 +69,7 @@ &mmc_0 { ...@@ -69,7 +69,7 @@ &mmc_0 {
num-slots = <1>; num-slots = <1>;
broken-cd; broken-cd;
bypass-smu; bypass-smu;
supports-highspeed; cap-mmc-highspeed;
supports-hs200-mode; /* 200 Mhz */ supports-hs200-mode; /* 200 Mhz */
card-detect-delay = <200>; card-detect-delay = <200>;
samsung,dw-mshc-ciu-div = <3>; samsung,dw-mshc-ciu-div = <3>;
...@@ -77,27 +77,19 @@ &mmc_0 { ...@@ -77,27 +77,19 @@ &mmc_0 {
samsung,dw-mshc-ddr-timing = <0 2>; samsung,dw-mshc-ddr-timing = <0 2>;
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&sd0_rdqs &sd0_clk &sd0_cmd &sd0_bus1 &sd0_bus4 &sd0_bus8>; pinctrl-0 = <&sd0_rdqs &sd0_clk &sd0_cmd &sd0_bus1 &sd0_bus4 &sd0_bus8>;
bus-width = <8>;
slot@0 {
reg = <0>;
bus-width = <8>;
};
}; };
&mmc_2 { &mmc_2 {
status = "okay"; status = "okay";
num-slots = <1>; num-slots = <1>;
supports-highspeed; cap-sd-highspeed;
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 = <2 3>;
samsung,dw-mshc-ddr-timing = <1 2>; samsung,dw-mshc-ddr-timing = <1 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>;
bus-width = <4>;
slot@0 { disable-wp;
reg = <0>;
bus-width = <4>;
disable-wp;
};
}; };
...@@ -40,33 +40,25 @@ firmware@02037000 { ...@@ -40,33 +40,25 @@ firmware@02037000 {
&mmc_0 { &mmc_0 {
status = "okay"; status = "okay";
num-slots = <1>; num-slots = <1>;
supports-highspeed; cap-mmc-highspeed;
broken-cd; broken-cd;
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 = <2 3>;
samsung,dw-mshc-ddr-timing = <1 2>; samsung,dw-mshc-ddr-timing = <1 2>;
bus-width = <8>;
slot@0 {
reg = <0>;
bus-width = <8>;
};
}; };
&mmc_2 { &mmc_2 {
status = "okay"; status = "okay";
num-slots = <1>; num-slots = <1>;
supports-highspeed; cap-sd-highspeed;
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 = <2 3>;
samsung,dw-mshc-ddr-timing = <1 2>; samsung,dw-mshc-ddr-timing = <1 2>;
bus-width = <4>;
slot@0 { disable-wp;
reg = <0>;
bus-width = <4>;
disable-wp;
};
}; };
&uart0 { &uart0 {
......
...@@ -50,7 +50,6 @@ codec@11000000 { ...@@ -50,7 +50,6 @@ codec@11000000 {
mmc@12200000 { mmc@12200000 {
status = "okay"; status = "okay";
broken-cd; broken-cd;
supports-highspeed;
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 = <0 4>; samsung,dw-mshc-sdr-timing = <0 4>;
...@@ -58,16 +57,12 @@ mmc@12200000 { ...@@ -58,16 +57,12 @@ mmc@12200000 {
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus4 &sd0_bus8>; pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus4 &sd0_bus8>;
vmmc-supply = <&ldo10_reg>; vmmc-supply = <&ldo10_reg>;
bus-width = <8>;
slot@0 { cap-mmc-highspeed;
reg = <0>;
bus-width = <8>;
};
}; };
mmc@12220000 { mmc@12220000 {
status = "okay"; status = "okay";
supports-highspeed;
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 = <2 3>;
...@@ -75,11 +70,8 @@ mmc@12220000 { ...@@ -75,11 +70,8 @@ mmc@12220000 {
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus4>; pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus4>;
vmmc-supply = <&ldo10_reg>; vmmc-supply = <&ldo10_reg>;
bus-width = <4>;
slot@0 { cap-sd-highspeed;
reg = <0>;
bus-width = <4>;
};
}; };
hsi2c_4: i2c@12CA0000 { hsi2c_4: i2c@12CA0000 {
......
...@@ -187,7 +187,7 @@ &mmc_0 { ...@@ -187,7 +187,7 @@ &mmc_0 {
num-slots = <1>; num-slots = <1>;
broken-cd; broken-cd;
caps2-mmc-hs200-1_8v; caps2-mmc-hs200-1_8v;
supports-highspeed; cap-mmc-highspeed;
non-removable; non-removable;
card-detect-delay = <200>; card-detect-delay = <200>;
clock-frequency = <400000000>; clock-frequency = <400000000>;
...@@ -196,17 +196,13 @@ &mmc_0 { ...@@ -196,17 +196,13 @@ &mmc_0 {
samsung,dw-mshc-ddr-timing = <0 2>; samsung,dw-mshc-ddr-timing = <0 2>;
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus4 &sd0_bus8>; pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus4 &sd0_bus8>;
bus-width = <8>;
slot@0 {
reg = <0>;
bus-width = <8>;
};
}; };
&mmc_2 { &mmc_2 {
status = "okay"; status = "okay";
num-slots = <1>; num-slots = <1>;
supports-highspeed; cap-sd-highspeed;
card-detect-delay = <200>; card-detect-delay = <200>;
clock-frequency = <400000000>; clock-frequency = <400000000>;
samsung,dw-mshc-ciu-div = <3>; samsung,dw-mshc-ciu-div = <3>;
...@@ -214,11 +210,7 @@ &mmc_2 { ...@@ -214,11 +210,7 @@ &mmc_2 {
samsung,dw-mshc-ddr-timing = <1 2>; samsung,dw-mshc-ddr-timing = <1 2>;
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus4>; pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus4>;
bus-width = <4>;
slot@0 {
reg = <0>;
bus-width = <4>;
};
}; };
......
...@@ -76,34 +76,26 @@ codec@11000000 { ...@@ -76,34 +76,26 @@ codec@11000000 {
mmc@12200000 { mmc@12200000 {
status = "okay"; status = "okay";
broken-cd; broken-cd;
supports-highspeed;
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 = <0 4>; samsung,dw-mshc-sdr-timing = <0 4>;
samsung,dw-mshc-ddr-timing = <0 2>; samsung,dw-mshc-ddr-timing = <0 2>;
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus4 &sd0_bus8>; pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus4 &sd0_bus8>;
bus-width = <8>;
slot@0 { cap-mmc-highspeed;
reg = <0>;
bus-width = <8>;
};
}; };
mmc@12220000 { mmc@12220000 {
status = "okay"; status = "okay";
supports-highspeed;
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 = <2 3>;
samsung,dw-mshc-ddr-timing = <1 2>; samsung,dw-mshc-ddr-timing = <1 2>;
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus4>; pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus4>;
bus-width = <4>;
slot@0 { cap-sd-highspeed;
reg = <0>;
bus-width = <4>;
};
}; };
dp-controller@145B0000 { dp-controller@145B0000 {
......
...@@ -185,7 +185,7 @@ &mmc_0 { ...@@ -185,7 +185,7 @@ &mmc_0 {
num-slots = <1>; num-slots = <1>;
broken-cd; broken-cd;
caps2-mmc-hs200-1_8v; caps2-mmc-hs200-1_8v;
supports-highspeed; cap-mmc-highspeed;
non-removable; non-removable;
card-detect-delay = <200>; card-detect-delay = <200>;
clock-frequency = <400000000>; clock-frequency = <400000000>;
...@@ -194,17 +194,13 @@ &mmc_0 { ...@@ -194,17 +194,13 @@ &mmc_0 {
samsung,dw-mshc-ddr-timing = <0 2>; samsung,dw-mshc-ddr-timing = <0 2>;
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus4 &sd0_bus8>; pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus4 &sd0_bus8>;
bus-width = <8>;
slot@0 {
reg = <0>;
bus-width = <8>;
};
}; };
&mmc_2 { &mmc_2 {
status = "okay"; status = "okay";
num-slots = <1>; num-slots = <1>;
supports-highspeed; cap-sd-highspeed;
card-detect-delay = <200>; card-detect-delay = <200>;
clock-frequency = <400000000>; clock-frequency = <400000000>;
samsung,dw-mshc-ciu-div = <3>; samsung,dw-mshc-ciu-div = <3>;
...@@ -212,11 +208,7 @@ &mmc_2 { ...@@ -212,11 +208,7 @@ &mmc_2 {
samsung,dw-mshc-ddr-timing = <1 2>; samsung,dw-mshc-ddr-timing = <1 2>;
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus4>; pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus4>;
bus-width = <4>;
slot@0 {
reg = <0>;
bus-width = <4>;
};
}; };
......
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