Patchwork [4/6] powerpc/85xx: Add eSDHC support for MPC8569E-MDS boards

login
register
mail settings
Submitter Anton Vorontsov
Date May 2, 2009, 2:16 a.m.
Message ID <20090502021653.GD18281@oksana.dev.rtsoft.ru>
Download mbox | patch
Permalink /patch/26795/
State Accepted
Delegated to: Kumar Gala
Headers show

Comments

Anton Vorontsov - May 2, 2009, 2:16 a.m.
Note that eSDHC and DUART0 are mutually exclusive on MPC8569E-MDS
boards. Default option is DUART0, so eSDHC is disabled by default.
U-Boot will fixup device tree if eSDHC should be used instead of
DUART0.

Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
---
 arch/powerpc/boot/dts/mpc8569mds.dts |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)
Kumar Gala - May 8, 2009, 2:14 p.m.
On May 1, 2009, at 9:16 PM, Anton Vorontsov wrote:

> Note that eSDHC and DUART0 are mutually exclusive on MPC8569E-MDS
> boards. Default option is DUART0, so eSDHC is disabled by default.
> U-Boot will fixup device tree if eSDHC should be used instead of
> DUART0.
>
> Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
> ---
> arch/powerpc/boot/dts/mpc8569mds.dts |   10 ++++++++++
> 1 files changed, 10 insertions(+), 0 deletions(-)

tweaked the .dts to use fsl,esdhc


applied to next

- k

Patch

diff --git a/arch/powerpc/boot/dts/mpc8569mds.dts b/arch/powerpc/boot/dts/mpc8569mds.dts
index ede515e..14120d7 100644
--- a/arch/powerpc/boot/dts/mpc8569mds.dts
+++ b/arch/powerpc/boot/dts/mpc8569mds.dts
@@ -221,6 +221,16 @@ 
 			};
 		};
 
+		sdhci@2e000 {
+			compatible = "fsl,mpc8569-esdhc", "fsl,mpc8536-esdhc";
+			reg = <0x2e000 0x1000>;
+			interrupts = <72 0x8>;
+			interrupt-parent = <&mpic>;
+			/* Filled in by U-Boot */
+			clock-frequency = <0>;
+			status = "disabled";
+		};
+
 		crypto@30000 {
 			compatible = "fsl,sec3.1", "fsl,sec3.0", "fsl,sec2.4",
 				"fsl,sec2.2", "fsl,sec2.1", "fsl,sec2.0";