aboutsummaryrefslogtreecommitdiffstats
path: root/arch/ppc/platforms/powerpmc250.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/ppc/platforms/powerpmc250.h')
-rw-r--r--arch/ppc/platforms/powerpmc250.h52
1 files changed, 52 insertions, 0 deletions
diff --git a/arch/ppc/platforms/powerpmc250.h b/arch/ppc/platforms/powerpmc250.h
new file mode 100644
index 000000000000..41a6dc881911
--- /dev/null
+++ b/arch/ppc/platforms/powerpmc250.h
@@ -0,0 +1,52 @@
+/*
+ * include/asm-ppc/platforms/powerpmc250.h
+ *
+ * Definitions for Force PowerPMC-250 board support
+ *
+ * Author: Troy Benjegerdes <tbenjegerdes@mvista.com>
+ *
+ * Borrowed heavily from prpmc750.h by Matt Porter <mporter@mvista.com>
+ *
+ * 2001-2004 (c) MontaVista, Software, Inc. This file is licensed under
+ * the terms of the GNU General Public License version 2. This program
+ * is licensed "as is" without any warranty of any kind, whether express
+ * or implied.
+ */
+
+#ifndef __ASMPPC_POWERPMC250_H
+#define __ASMPPC_POWERPMC250_H
+
+#define POWERPMC250_PCI_CONFIG_ADDR 0x80000cf8
+#define POWERPMC250_PCI_CONFIG_DATA 0x80000cfc
+
+#define POWERPMC250_PCI_PHY_MEM_BASE 0xc0000000
+#define POWERPMC250_PCI_MEM_BASE 0xf0000000
+#define POWERPMC250_PCI_IO_BASE 0x80000000
+
+#define POWERPMC250_ISA_IO_BASE POWERPMC250_PCI_IO_BASE
+#define POWERPMC250_ISA_MEM_BASE POWERPMC250_PCI_MEM_BASE
+#define POWERPMC250_PCI_MEM_OFFSET POWERPMC250_PCI_PHY_MEM_BASE
+
+#define POWERPMC250_SYS_MEM_BASE 0x80000000
+
+#define POWERPMC250_HAWK_SMC_BASE 0xfef80000
+
+#define POWERPMC250_BASE_BAUD 12288000
+#define POWERPMC250_SERIAL 0xff000000
+#define POWERPMC250_SERIAL_IRQ 20
+
+/* UART Defines. */
+#define RS_TABLE_SIZE 1
+
+#define BASE_BAUD (POWERPMC250_BASE_BAUD / 16)
+
+#define STD_COM_FLAGS ASYNC_BOOT_AUTOCONF
+
+#define SERIAL_PORT_DFNS \
+ { 0, BASE_BAUD, POWERPMC250_SERIAL, POWERPMC250_SERIAL_IRQ, \
+ STD_COM_FLAGS, /* ttyS0 */ \
+ iomem_base: (u8 *)POWERPMC250_SERIAL, \
+ iomem_reg_shift: 0, \
+ io_type: SERIAL_IO_MEM }
+
+#endif /* __ASMPPC_POWERPMC250_H */