ARM: dts: Add HS400 support for exynos5420 and exynos5800
authorSeungwon Jeon <tgih.jun@samsung.com>
Thu, 26 Mar 2015 16:52:02 +0000 (01:52 +0900)
committerKukjin Kim <kgene@kernel.org>
Thu, 26 Mar 2015 16:52:02 +0000 (01:52 +0900)
HS400 timing values are added for SMDK5420, exynos5420-peach-pit
and exynos5800-peach-pi boards. This also adds RCLK GPIO line,
this gpio should be in pull-down state.
This also enables HS400 on peach-pi and this updates the clock
frequency to 800MHz to be set as input clock to controller.

Signed-off-by: Seungwon Jeon <tgih.jun@samsung.com>
[alim.akhtar@samsung.com: addressed review comments]
Signed-off-by: Alim Akhtar <alim.akhtar@samsung.com>
Acked-by: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Kukjin Kim <kgene@kernel.org>
arch/arm/boot/dts/exynos5420-peach-pit.dts
arch/arm/boot/dts/exynos5420-pinctrl.dtsi
arch/arm/boot/dts/exynos5420-smdk5420.dts
arch/arm/boot/dts/exynos5800-peach-pi.dts

index 3f4e2feaa927314cfee522f5416b4d5eee383527..0788d08fb43edd00b65f64864ab4a4476f7aaff6 100644 (file)
        samsung,dw-mshc-ciu-div = <3>;
        samsung,dw-mshc-sdr-timing = <0 4>;
        samsung,dw-mshc-ddr-timing = <0 2>;
+       samsung,dw-mshc-hs400-timing = <0 2>;
+       samsung,read-strobe-delay = <90>;
        pinctrl-names = "default";
-       pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus1 &sd0_bus4 &sd0_bus8>;
+       pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus1 &sd0_bus4 &sd0_bus8 &sd0_rclk>;
        bus-width = <8>;
 };
 
index ba686e40eac7965942555a1f5eca9a81bb57ef39..8b153166ebdb430e6c827ab1a80d5bd9da316e47 100644 (file)
                        samsung,pin-drv = <3>;
                };
 
+               sd0_rclk: sd0-rclk {
+                       samsung,pins = "gpc0-7";
+                       samsung,pin-function = <2>;
+                       samsung,pin-pud = <1>;
+                       samsung,pin-drv = <3>;
+               };
+
                sd1_cmd: sd1-cmd {
                        samsung,pins = "gpc1-1";
                        samsung,pin-function = <2>;
index 7a56852efadaaf0a7098edba013acd685e34e1b3..9103f2381a6d7ccefd22a429758fd7e3a4755820 100644 (file)
                samsung,dw-mshc-ciu-div = <3>;
                samsung,dw-mshc-sdr-timing = <0 4>;
                samsung,dw-mshc-ddr-timing = <0 2>;
+               samsung,dw-mshc-hs400-timing = <0 2>;
+               samsung,read-strobe-delay = <90>;
                pinctrl-names = "default";
-               pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus1 &sd0_bus4 &sd0_bus8>;
+               pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus1 &sd0_bus4 &sd0_bus8
+                            &sd0_rclk>;
                bus-width = <8>;
                cap-mmc-highspeed;
        };
index c833bacf873b552d0ed6ecd8d215dd2ed89bfe25..412f41d62686f3ae966df4640d98988dc489c65f 100644 (file)
        num-slots = <1>;
        broken-cd;
        mmc-hs200-1_8v;
+       mmc-hs400-1_8v;
        cap-mmc-highspeed;
        non-removable;
        card-detect-delay = <200>;
-       clock-frequency = <400000000>;
+       clock-frequency = <800000000>;
        samsung,dw-mshc-ciu-div = <3>;
        samsung,dw-mshc-sdr-timing = <0 4>;
        samsung,dw-mshc-ddr-timing = <0 2>;
+       samsung,dw-mshc-hs400-timing = <0 2>;
+       samsung,read-strobe-delay = <90>;
        pinctrl-names = "default";
-       pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus1 &sd0_bus4 &sd0_bus8>;
+       pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus1 &sd0_bus4 &sd0_bus8 &sd0_rclk>;
        bus-width = <8>;
 };