Linux-2.6.12-rc2
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / arch / ppc / platforms / 4xx / ep405.h
blobea3eb21338fbb0e711f569442e9b96a4c22d7a66
1 /*
2 * arch/ppc/platforms/4xx/ep405.h
4 * Embedded Planet 405GP board
5 * http://www.embeddedplanet.com
7 * Author: Matthew Locke <mlocke@mvista.com>
9 * 2000 (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_EP405_H__
17 #define __ASM_EP405_H__
19 /* We have a 405GP core */
20 #include <platforms/4xx/ibm405gp.h>
22 #ifndef __ASSEMBLY__
24 #include <linux/types.h>
26 typedef struct board_info {
27 unsigned int bi_memsize; /* DRAM installed, in bytes */
28 unsigned char bi_enetaddr[6]; /* Local Ethernet MAC address */
29 unsigned int bi_intfreq; /* Processor speed, in Hz */
30 unsigned int bi_busfreq; /* PLB Bus speed, in Hz */
31 unsigned int bi_pci_busfreq; /* PCI Bus speed, in Hz */
32 unsigned int bi_nvramsize; /* Size of the NVRAM/RTC */
33 } bd_t;
35 /* Some 4xx parts use a different timebase frequency from the internal clock.
37 #define bi_tbfreq bi_intfreq
39 extern u8 *ep405_bcsr;
40 extern u8 *ep405_nvram;
42 /* Map for the BCSR and NVRAM space */
43 #define EP405_BCSR_PADDR ((uint)0xf4000000)
44 #define EP405_BCSR_SIZE ((uint)16)
45 #define EP405_NVRAM_PADDR ((uint)0xf4200000)
47 /* serial defines */
48 #define BASE_BAUD 399193
50 #define PPC4xx_MACHINE_NAME "Embedded Planet 405GP"
52 #endif /* !__ASSEMBLY__ */
53 #endif /* __ASM_EP405_H__ */
54 #endif /* __KERNEL__ */