Hello,
The following patch adds support for the mpc8247 based
board MGCOGE from keymile.
changes to the previous patchset:
- Added the suggestions from Scott Wood:
http://ozlabs.org/pipermail/linuxppc-dev/2008-January/050957.html
- The patch http://ozlabs.org/pipermail/linuxppc-dev/2008-January/050931.html
is no longer needed.
Signed-off-by: Heiko Schocher [EMAIL PROTECTED]
---
arch/powerpc/boot/dts/mgcoge.dts | 149 ++
arch/powerpc/configs/mgcoge_defconfig | 821 +
arch/powerpc/platforms/82xx/Kconfig |9 +
arch/powerpc/platforms/82xx/Makefile |1 +
arch/powerpc/platforms/82xx/mgcoge.c | 130 ++
5 files changed, 1110 insertions(+), 0 deletions(-)
create mode 100644 arch/powerpc/boot/dts/mgcoge.dts
create mode 100644 arch/powerpc/configs/mgcoge_defconfig
create mode 100644 arch/powerpc/platforms/82xx/mgcoge.c
diff --git a/arch/powerpc/boot/dts/mgcoge.dts b/arch/powerpc/boot/dts/mgcoge.dts
new file mode 100644
index 000..63f7cfe
--- /dev/null
+++ b/arch/powerpc/boot/dts/mgcoge.dts
@@ -0,0 +1,149 @@
+/*
+ * Device Tree for the MGCOGE plattform from keymile
+ *
+ * Copyright 2008 DENX Software Engineering GmbH
+ *
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the
+ * Free Software Foundation; either version 2 of the License, or (at your
+ * option) any later version.
+ */
+
+/dts-v1/;
+/ {
+ model = MGCOGE;
+ compatible = keymile,mgcoge;
+ #address-cells = 1;
+ #size-cells = 1;
+
+ aliases {
+ ethernet0 = eth0;
+ serial0 = smc2;
+ };
+
+ cpus {
+ #address-cells = 1;
+ #size-cells = 0;
+
+ PowerPC,[EMAIL PROTECTED] {
+ device_type = cpu;
+ reg = 0;
+ d-cache-line-size = 32;
+ i-cache-line-size = 32;
+ d-cache-size = 16384;
+ i-cache-size = 16384;
+ timebase-frequency = 0;
+ clock-frequency = 0;
+ bus-frequency = 0;
+ };
+ };
+
+ [EMAIL PROTECTED] {
+ compatible = fsl,mpc8247-localbus,
+fsl,pq2-localbus,
+simple-bus;
+ #address-cells = 2;
+ #size-cells = 1;
+ reg = 0xf0010100 0x40;
+
+ ranges = 0 0 0xfe00 0x0040;
+
+ [EMAIL PROTECTED],0 {
+ compatible = cfi-flash;
+ reg = 0 0x0 0x40;
+ #address-cells = 1;
+ #size-cells = 1;
+ bank-width = 1;
+ device-width = 1;
+ [EMAIL PROTECTED] {
+ label = u-boot;
+ reg = 0 0x4;
+ };
+ [EMAIL PROTECTED] {
+ label = env;
+ reg = 0x4 0x2;
+ };
+ [EMAIL PROTECTED] {
+ label = user;
+ reg = 0x6 0x3a;
+ };
+ };
+ };
+
+ memory {
+ device_type = memory;
+ reg = 0 0;
+ };
+
+ [EMAIL PROTECTED] {
+ #address-cells = 1;
+ #size-cells = 1;
+ compatible = fsl,mpc8247-immr, fsl,pq2-soc, simple-bus;
+ ranges = 0x 0xf000 0x00053000;
+
+ // Temporary until code stops depending on it.
+ device_type = soc;
+
+ [EMAIL PROTECTED] {
+ #address-cells = 1;
+ #size-cells = 1;
+ #interrupt-cells = 2;
+ compatible = fsl,mpc8247-cpm, fsl,cpm2,
+ simple-bus;
+ reg = 0x119c0 0x30;
+ ranges;
+
+ muram {
+ #address-cells = 1;
+ #size-cells = 1;
+ ranges = 0 0 0x1;
+
+ [EMAIL PROTECTED] {
+ compatible = fsl,cpm-muram-data;
+ reg = 0x80 0x1f80 0x9800 0x800;
+ };
+ };
+
+ [EMAIL PROTECTED] {
+ compatible = fsl,mpc8247-brg,
+fsl,cpm2-brg,
+fsl,cpm-brg;
+ reg = 0x119f0 0x10 0x115f0 0x10;
+ };
+
+