Patchwork [U-Boot] exynos: Enable mmc for snow

login
register
mail settings
Submitter Simon Glass
Date May 11, 2013, 3:24 a.m.
Message ID <1368242640-23190-1-git-send-email-sjg@chromium.org>
Download mbox | patch
Permalink /patch/243111/
State Accepted
Delegated to: Minkyu Kang
Headers show

Comments

Simon Glass - May 11, 2013, 3:24 a.m.
Snow has an internal eMMC and an external SD card. Enable these in the
device tree.

Signed-off-by: Simon Glass <sjg@chromium.org>
---
 board/samsung/dts/exynos5250-snow.dts | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)
Minkyu Kang - June 21, 2013, 12:10 a.m.
On 11/05/13 12:24, Simon Glass wrote:
> Snow has an internal eMMC and an external SD card. Enable these in the
> device tree.
> 
> Signed-off-by: Simon Glass <sjg@chromium.org>
> ---
>  board/samsung/dts/exynos5250-snow.dts | 24 ++++++++++++++++++++++++
>  1 file changed, 24 insertions(+)
> 
> diff --git a/board/samsung/dts/exynos5250-snow.dts b/board/samsung/dts/exynos5250-snow.dts
> index 24658c1..d167df9 100644
> --- a/board/samsung/dts/exynos5250-snow.dts
> +++ b/board/samsung/dts/exynos5250-snow.dts
> @@ -30,6 +30,10 @@
>  		spi2 = "/spi@12d40000";
>  		spi3 = "/spi@131a0000";
>  		spi4 = "/spi@131b0000";
> +		mmc0 = "/mmc@12200000";
> +		mmc1 = "/mmc@12210000";
> +		mmc2 = "/mmc@12220000";
> +		mmc3 = "/mmc@12230000";
>  	};
>  
>  	sound@12d60000 {
> @@ -56,6 +60,26 @@
>  		};
>  	};
>  
> +	mmc@12200000 {
> +		samsung,bus-width = <8>;
> +		samsung,timing = <1 3 3>;
> +		samsung,removable = <0>;
> +	};
> +
> +	mmc@12210000 {
> +		status = "disabled";
> +	};
> +
> +	mmc@12220000 {
> +		samsung,bus-width = <4>;
> +		samsung,timing = <1 2 3>;
> +		samsung,removable = <1>;
> +	};
> +
> +	mmc@12230000 {
> +		status = "disabled";
> +	};
> +
>  	tmu@10060000 {
>  		samsung,min-temp	= <25>;
>  		samsung,max-temp	= <125>;
> 

applied to u-boot-samsung.

Thanks,
Minkyu Kang.

Patch

diff --git a/board/samsung/dts/exynos5250-snow.dts b/board/samsung/dts/exynos5250-snow.dts
index 24658c1..d167df9 100644
--- a/board/samsung/dts/exynos5250-snow.dts
+++ b/board/samsung/dts/exynos5250-snow.dts
@@ -30,6 +30,10 @@ 
 		spi2 = "/spi@12d40000";
 		spi3 = "/spi@131a0000";
 		spi4 = "/spi@131b0000";
+		mmc0 = "/mmc@12200000";
+		mmc1 = "/mmc@12210000";
+		mmc2 = "/mmc@12220000";
+		mmc3 = "/mmc@12230000";
 	};
 
 	sound@12d60000 {
@@ -56,6 +60,26 @@ 
 		};
 	};
 
+	mmc@12200000 {
+		samsung,bus-width = <8>;
+		samsung,timing = <1 3 3>;
+		samsung,removable = <0>;
+	};
+
+	mmc@12210000 {
+		status = "disabled";
+	};
+
+	mmc@12220000 {
+		samsung,bus-width = <4>;
+		samsung,timing = <1 2 3>;
+		samsung,removable = <1>;
+	};
+
+	mmc@12230000 {
+		status = "disabled";
+	};
+
 	tmu@10060000 {
 		samsung,min-temp	= <25>;
 		samsung,max-temp	= <125>;