Index: testing/arch/ppc/Kconfig
===================================================================
--- testing.orig/arch/ppc/Kconfig	2005-11-16 13:31:24.000000000 -0200
+++ testing/arch/ppc/Kconfig	2005-11-16 13:33:11.000000000 -0200
@@ -504,6 +504,9 @@
 	  MPC821 PowerPC, introduced in 1998 and designed to be used in
 	  thin-client machines.  Say Y to support it directly.
 
+config SIEMENS_TME1
+	bool "Siemens TMCAS 1"
+
 endchoice
 
 choice
Index: testing/arch/ppc/platforms/siemens_tme1.h
===================================================================
--- /dev/null	1970-01-01 00:00:00.000000000 +0000
+++ testing/arch/ppc/platforms/siemens_tme1.h	2005-11-16 13:33:11.000000000 -0200
@@ -0,0 +1,82 @@
+
+/*
+ * A collection of structures, addresses, and values associated with
+ * the Siemens HiPath TME1 Board.
+ *
+ * Copyright (c) 1998 Dan Malek (dmalek@jlc.net)
+ */
+#ifdef __KERNEL__
+#ifndef __MACH_TME1_DEFS
+#define __MACH_TME1_DEFS
+
+#include <linux/config.h>
+
+
+#ifndef __ASSEMBLY__
+typedef struct bd_info {
+       unsigned long   bi_memstart;    /* start of  DRAM memory            */
+       unsigned long   bi_memsize;         /* size      of  DRAM memory in bytes   */
+       unsigned long   bi_flashstart;  /* start of FLASH memory            */
+       unsigned long   bi_flashsize;   /* size  of FLASH memory            */
+       unsigned long   bi_flashoffset; /* reserved area for startup monitor*/
+       unsigned long   bi_serverip_addr;       /* Server IP address            */
+       unsigned long   bi_server2ip_addr;      /* Second Server IP address     */
+       unsigned long   bi_immr_base;   /* base of IMMR register            */
+       unsigned long   bi_bootflags;   /* boot / reboot flag (for LynxOS)  */
+       unsigned long   bi_ip_addr;         /* IP Address                       */
+       unsigned char   bi_enetaddr[6]; /* Ethernet adress                  */
+       unsigned short  bi_ethspeed;    /* Ethernet speed in Mbps           */
+       unsigned long   bi_intfreq;         /* Internal Freq, in MHz            */
+       unsigned long   bi_busfreq;         /* Bus Freq, in MHz                 */
+       unsigned long   bi_baudrate;    /* Console Baudrate                             */
+} bd_t;
+
+/* Memory map is configured by the PROM startup.
+ * We just map a few things we need.  The CSR is actually 4 byte-wide
+ * registers that can be accessed as 8-, 16-, or 32-bit values.
+ */
+#define TME1_FEC_CSR		((uint)0xFF000E00)
+#define TME1_FEC_CSR_SIZE	((uint)(4 * 1024))
+#define TME1_FECLED_CSR		TME_FEC_CSR + 0x80
+#define IMAP_ADDR		((uint)0xFF000000)
+#define IMAP_SIZE		((uint)(64 * 1024))
+#define TME1_DSP_CSR       	((uint)0x06000000)
+#define TME1_DSP_CSR_SIZE	((uint)3)
+#define TME1_7SD_CSR		((uint)0x0A000000)
+#define TME1_7SD_CSR_SIZE	((uint)2)
+
+/*
+ * Bits in parallel I/O port registers that have to be set/cleared
+ * to configure the pins for SCC1 use.
+ */
+#define PA_ENET_RXD     ((ushort)0x0001)
+#define PA_ENET_TXD     ((ushort)0x0002)
+#define PA_ENET_TCLK    ((ushort)0x0200)
+#define PA_ENET_RCLK    ((ushort)0x0800)
+#define PB_ENET_TENA    ((uint)0x00001000)
+#define PC_ENET_CLSN    ((ushort)0x0010)
+#define PC_ENET_RENA    ((ushort)0x0020)
+
+/*
+ * Control bits in the SICR to route TCLK (CLK2) and RCLK (CLK4) to
+ * SCC1.  Also, make sure GR1 (bit 24) and SC1 (bit 25) are zero.
+ */
+#define SICR_ENET_MASK  ((uint)0x000000ff)
+#define SICR_ENET_CLKRT ((uint)0x0000003d)
+
+/* Interrupt level assignments.
+*/
+#define FEC_INTERRUPT	SIU_LEVEL4	/* FEC interrupt - 9 */
+#define PHY_INTERRUPT   SIU_IRQ6
+#endif /* !__ASSEMBLY__ */
+
+/* We don't use the 8259.
+*/
+#define NR_8259_INTS	0
+
+/* Machine type
+*/
+#define _MACH_8xx (_MACH_tme1)
+
+#endif
+#endif /* __KERNEL__ */
Index: testing/include/asm-ppc/mpc8xx.h
===================================================================
--- testing.orig/include/asm-ppc/mpc8xx.h	2005-11-16 13:31:50.000000000 -0200
+++ testing/include/asm-ppc/mpc8xx.h	2005-11-16 13:33:11.000000000 -0200
@@ -68,6 +68,10 @@
 #include <platforms/mpc885ads.h>
 #endif
 
+#ifdef CONFIG_SIEMENS_TME1
+#include <platforms/siemens_tme1.h>
+#endif
+
 /* Currently, all 8xx boards that support a processor to PCI/ISA bridge
  * use the same memory map.
  */

