Linux-2.6.12-rc2
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / arch / ppc / platforms / 4xx / redwood6.h
blob1814b9f5fc3a2e393ac35d9ecb62b95325bf5189
1 /*
2 * arch/ppc/platforms/4xx/redwood6.h
4 * Macros, definitions, and data structures specific to the IBM PowerPC
5 * STBx25xx "Redwood6" evaluation board.
7 * Author: Armin Kuster <akuster@mvista.com>
9 * 2002 (c) MontaVista, Software, Inc. This file is licensed under
10 * the terms of the GNU General Public License version 2. This program
11 * is licensed "as is" without any warranty of any kind, whether express
12 * or implied.
15 #ifdef __KERNEL__
16 #ifndef __ASM_REDWOOD5_H__
17 #define __ASM_REDWOOD5_H__
19 /* Redwood6 has an STBx25xx core */
20 #include <platforms/4xx/ibmstbx25.h>
22 #ifndef __ASSEMBLY__
23 typedef struct board_info {
24 unsigned char bi_s_version[4]; /* Version of this structure */
25 unsigned char bi_r_version[30]; /* Version of the IBM ROM */
26 unsigned int bi_memsize; /* DRAM installed, in bytes */
27 unsigned int bi_dummy; /* field shouldn't exist */
28 unsigned char bi_enetaddr[6]; /* Ethernet MAC address */
29 unsigned int bi_intfreq; /* Processor speed, in Hz */
30 unsigned int bi_busfreq; /* Bus speed, in Hz */
31 unsigned int bi_tbfreq; /* Software timebase freq */
32 } bd_t;
33 #endif /* !__ASSEMBLY__ */
35 #define SMC91111_BASE_ADDR 0xf2030300
36 #define SMC91111_REG_SIZE 16
37 #define SMC91111_IRQ 27
38 #define IDE_XLINUX_MUX_BASE 0xf2040000
39 #define IDE_DMA_ADDR 0xfce00000
41 #ifdef MAX_HWIFS
42 #undef MAX_HWIFS
43 #endif
44 #define MAX_HWIFS 1
46 #define _IO_BASE 0
47 #define _ISA_MEM_BASE 0
48 #define PCI_DRAM_OFFSET 0
50 #define BASE_BAUD (378000000 / 18 / 16)
52 #define PPC4xx_MACHINE_NAME "IBM Redwood6"
54 #endif /* __ASM_REDWOOD5_H__ */
55 #endif /* __KERNEL__ */