From: Kyungmin Park <kyungmin.p...@samsung.com>

This patch add MSHC (Mobile Storage Host Controller) dt node which is an
interface between the system and SD/MMC card. mshc dt node is used for dw_mmc
device driver to operate SD/MMC card.

Signed-off-by: Kyungmin Park <kyungmin.p...@samsung.com>
[Modify the sdr/ddr timing for eMMC by Jaehoon Chung]
Signed-off-by: Jaehoon Chung <jh80.ch...@samsung.com>
---
 arch/arm/boot/dts/exynos3250.dtsi | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/arch/arm/boot/dts/exynos3250.dtsi 
b/arch/arm/boot/dts/exynos3250.dtsi
index a16c3ea..587a124 100644
--- a/arch/arm/boot/dts/exynos3250.dtsi
+++ b/arch/arm/boot/dts/exynos3250.dtsi
@@ -28,6 +28,8 @@
        aliases {
                pinctrl0 = &pinctrl_0;
                pinctrl1 = &pinctrl_1;
+               mshc0 = &mshc_0;
+               mshc1 = &mshc_1;
                i2c0 = &i2c_0;
                i2c1 = &i2c_1;
                i2c2 = &i2c_2;
@@ -92,6 +94,30 @@
                interrupts = <0 240 0>;
        };
 
+       mshc_0: mshc@12510000 {
+               compatible = "samsung,exynos5250-dw-mshc";
+               reg = <0x12510000 0x1000>;
+               interrupts = <0 142 0>;
+               clocks = <&cmu CLK_SDMMC0>, <&cmu CLK_SCLK_MMC0>;
+               clock-names = "biu", "ciu";
+               fifo-depth = <0x80>;
+               #address-cells = <1>;
+               #size-cells = <0>;
+               status = "disabled";
+       };
+
+       mshc_1: mshc@12520000 {
+               compatible = "samsung,exynos5250-dw-mshc";
+               reg = <0x12520000 0x1000>;
+               interrupts = <0 143 0>;
+               clocks = <&cmu CLK_SDMMC1>, <&cmu CLK_SCLK_MMC1>;
+               clock-names = "biu", "ciu";
+               fifo-depth = <0x80>;
+               #address-cells = <1>;
+               #size-cells = <0>;
+               status = "disabled";
+       };
+
        adc: adc@126C0000 {
                compatible = "samsung,exynos-adc-v2";
                reg = <0x126C0000 0x100>, <0x10020718 0x4>;
-- 
1.8.0

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to