public inbox for linux-mmc@vger.kernel.org
 help / color / mirror / Atom feed
* [patch 084/232] powerpc/85xx: add eSDHC support for MPC8536DS boards
@ 2009-09-22 23:45 akpm
  2009-09-23  0:32 ` Anton Vorontsov
  0 siblings, 1 reply; 4+ messages in thread
From: akpm @ 2009-09-22 23:45 UTC (permalink / raw)
  To: torvalds
  Cc: akpm, avorontsov, ben, benh, david.vrabel, galak, linux-mmc,
	pierre, s.hauer

From: Anton Vorontsov <avorontsov@ru.mvista.com>

This patch simply adds sdhci node to the device tree.

We specify clock-frequency manually, so that eSDHC will work without
upgrading U-Boot.  Though, that'll only work for default setup (1500 MHz)
on new board revisions.  For non-default setups, it's recommended to
upgrade U-Boot, since it will fixup clock-frequency automatically.

Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Cc: Pierre Ossman <pierre@ossman.eu>
Cc: Kumar Gala <galak@kernel.crashing.org>
Cc: David Vrabel <david.vrabel@csr.com>
Cc: Ben Dooks <ben@fluff.org>
Cc: Sascha Hauer <s.hauer@pengutronix.de>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: <linux-mmc@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 arch/powerpc/boot/dts/mpc8536ds.dts |    8 ++++++++
 1 file changed, 8 insertions(+)

diff -puN arch/powerpc/boot/dts/mpc8536ds.dts~powerpc-85xx-add-esdhc-support-for-mpc8536ds-boards arch/powerpc/boot/dts/mpc8536ds.dts
--- a/arch/powerpc/boot/dts/mpc8536ds.dts~powerpc-85xx-add-esdhc-support-for-mpc8536ds-boards
+++ a/arch/powerpc/boot/dts/mpc8536ds.dts
@@ -258,6 +258,14 @@
 			clock-frequency = <250000000>;
 		};
 
+		sdhci@2e000 {
+			compatible = "fsl,mpc8536-esdhc", "fsl,esdhc";
+			reg = <0x2e000 0x1000>;
+			interrupts = <72 0x2>;
+			interrupt-parent = <&mpic>;
+			clock-frequency = <250000000>;
+		};
+
 		serial0: serial@4500 {
 			cell-index = <0>;
 			device_type = "serial";
_

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-09-23  1:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-22 23:45 [patch 084/232] powerpc/85xx: add eSDHC support for MPC8536DS boards akpm
2009-09-23  0:32 ` Anton Vorontsov
2009-09-23  0:56   ` Andrew Morton
2009-09-23  1:16     ` Anton Vorontsov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox