diff mbox

[4/4] ODROID-X: dts: Add mshc node for ODROID-X board

Message ID 1355774107-364-5-git-send-email-tobetter@gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

Dongjin Kim Dec. 17, 2012, 7:55 p.m. UTC
Adding the device node to support eMMC storage on SDCARD4 ports, controlled by
Mobile Storage Host Controller.

Signed-off-by: Dongjin Kim <tobetter@gmail.com>
---
 arch/arm/boot/dts/exynos4412-odroidx.dts |   21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

Comments

Tomasz Figa Dec. 17, 2012, 9:40 p.m. UTC | #1
Hi Dongjin,

On Tuesday 18 of December 2012 04:55:07 Dongjin Kim wrote:
> Adding the device node to support eMMC storage on SDCARD4 ports,
> controlled by Mobile Storage Host Controller.
> 
> Signed-off-by: Dongjin Kim <tobetter@gmail.com>
> ---
>  arch/arm/boot/dts/exynos4412-odroidx.dts |   21 +++++++++++++++++++++
>  1 file changed, 21 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/exynos4412-odroidx.dts
> b/arch/arm/boot/dts/exynos4412-odroidx.dts index 3943011..fbd0b51
> 100644
> --- a/arch/arm/boot/dts/exynos4412-odroidx.dts
> +++ b/arch/arm/boot/dts/exynos4412-odroidx.dts
> @@ -73,4 +73,25 @@
>  			linux,default-trigger = "mmc0";
>  		};
>  	};
> +
> +	mshc@12550000 {
> +		num-slots = <1>;
> +		supports-highspeed;
> +		broken-cd;
> +		fifo-depth = <0x80>;
> +		card-detect-delay = <200>;
> +		samsung,dw-mshc-ciu-div = <3>;
> +		samsung,dw-mshc-sdr-timing = <2 3 3>;
> +		samsung,dw-mshc-ddr-timing = <1 2 3>;
> +
> +		slot@0 {
> +			reg = <0>;
> +			bus-width = <8>;
> +			gpios = <&gpk0 0 3>, <&gpk0 1 3>,
> +				<&gpk0 3 3>, <&gpk0 4 3>,
> +				<&gpk0 5 3>, <&gpk0 6 3>,
> +				<&gpk1 3 4>, <&gpk1 4 4>,
> +				<&gpk1 5 4>, <&gpk1 6 4>;

What is the gpios property for in this node? Pin configuration using 
legacy GPIO bindings is not supported anymore on Exynos4. Pin control 
bindings must be used.

Best regards,
Tomasz Figa
diff mbox

Patch

diff --git a/arch/arm/boot/dts/exynos4412-odroidx.dts b/arch/arm/boot/dts/exynos4412-odroidx.dts
index 3943011..fbd0b51 100644
--- a/arch/arm/boot/dts/exynos4412-odroidx.dts
+++ b/arch/arm/boot/dts/exynos4412-odroidx.dts
@@ -73,4 +73,25 @@ 
 			linux,default-trigger = "mmc0";
 		};
 	};
+
+	mshc@12550000 {
+		num-slots = <1>;
+		supports-highspeed;
+		broken-cd;
+		fifo-depth = <0x80>;
+		card-detect-delay = <200>;
+		samsung,dw-mshc-ciu-div = <3>;
+		samsung,dw-mshc-sdr-timing = <2 3 3>;
+		samsung,dw-mshc-ddr-timing = <1 2 3>;
+
+		slot@0 {
+			reg = <0>;
+			bus-width = <8>;
+			gpios = <&gpk0 0 3>, <&gpk0 1 3>,
+				<&gpk0 3 3>, <&gpk0 4 3>,
+				<&gpk0 5 3>, <&gpk0 6 3>,
+				<&gpk1 3 4>, <&gpk1 4 4>,
+				<&gpk1 5 4>, <&gpk1 6 4>;
+		};
+	};
 };