[PATCH 2/2 v2] powerpc, video: add SM501 support for charon board.
Heiko Schocher
hs at denx.de
Tue Dec 7 17:59:20 EST 2010
Signed-off-by: Heiko Schocher <hs at denx.de>
cc: linux-fbdev at vger.kernel.org
cc: devicetree-discuss at ozlabs.org
---
- based against 2.6.37-rc4
./scripts/checkpatch.pl 0003-powerpc-video-add-SM501-support-for-charon-board.patch
total: 0 errors, 0 warnings, 21 lines checked
0003-powerpc-video-add-SM501-support-for-charon-board.patch has no obvious style problems and is ready for submission.
- changes since v1:
- no board specific defconfig file for mpc52xx based boards as suggested
from Wolfram Sang
arch/powerpc/boot/dts/charon.dts | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/arch/powerpc/boot/dts/charon.dts b/arch/powerpc/boot/dts/charon.dts
index 9776889..d9af022 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,14 @@
#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>;
+ };
+
mram0 at 3,0 {
compatible = "mtd-ram";
reg = <3 0x00000 0x80000>;
--
1.7.2.3
More information about the devicetree-discuss
mailing list