[PATCH v6 5/6] powerpc, video: add SM501 support for charon board.

Heiko Schocher hs at denx.de
Tue Mar 22 19:27:31 EST 2011


Signed-off-by: Heiko Schocher <hs at denx.de>
cc: Wolfram Sang <w.sang at pengutronix.de>
cc: Grant Likely <grant.likely at secretlab.ca>
cc: Benjamin Herrenschmidt <benh at kernel.crashing.org>
cc: linux-fbdev at vger.kernel.org
cc: devicetree-discuss at ozlabs.org
cc: Ben Dooks <ben at simtec.co.uk>
cc: Vincent Sanders <vince at simtec.co.uk>
cc: Samuel Ortiz <sameo at linux.intel.com>
cc: linux-kernel at vger.kernel.org
cc: Randy Dunlap <rdunlap at xenotime.net>
cc: Wolfgang Denk <wd at denx.de>
cc: Paul Mundt <lethal at linux-sh.org>
---
- changes since v1:
  - no board specific defconfig file for mpc52xx based boards as suggested
    from Wolfram Sang

- changes since v2:
  add Ben Dooks, Vincent Sanders and Samuel Ortiz and lkml to cc, as
  suggested from Paul Mundt.

- changes since v3:
  - rebased against v2.6.38-rc2
- changes since v4:
  - added Paul Mundt to cc (Sorry forgot this in series v4)

 arch/powerpc/boot/dts/charon.dts |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/arch/powerpc/boot/dts/charon.dts b/arch/powerpc/boot/dts/charon.dts
index 9776889..0e00e50 100644
--- a/arch/powerpc/boot/dts/charon.dts
+++ b/arch/powerpc/boot/dts/charon.dts
@@ -186,6 +186,7 @@
 		#address-cells = <2>;
 		#size-cells = <1>;
 		ranges = <	0 0 0xfc000000 0x02000000
+				1 0 0xe0000000 0x04000000 // CS1 range, SM501
 				3 0 0xe8000000 0x00080000>;
 
 		flash at 0,0 {
@@ -197,6 +198,15 @@
 			#address-cells = <1>;
 		};
 
+		display at 1,0 {
+			compatible = "smi,sm501";
+			reg = <1 0x00000000 0x00800000
+			       1 0x03e00000 0x00200000>;
+			mode = "640x480-32 at 60";
+			interrupts = <1 1 3>;
+			little-endian;
+		};
+
 		mram0 at 3,0 {
 			compatible = "mtd-ram";
 			reg = <3 0x00000 0x80000>;
-- 
1.7.4



More information about the Linuxppc-dev mailing list