2 * Embedded Planet 405GP board
3 * http://www.embeddedplanet.com
5 * Author: Matthew Locke <mlocke@mvista.com>
7 * 2000 (c) MontaVista, Software, Inc. This file is licensed under
8 * the terms of the GNU General Public License version 2. This program
9 * is licensed "as is" without any warranty of any kind, whether express
14 #ifndef __ASM_EP405_H__
15 #define __ASM_EP405_H__
17 /* We have a 405GP core */
18 #include <platforms/4xx/ibm405gp.h>
22 #include <linux/types.h>
24 typedef struct board_info
{
25 unsigned int bi_memsize
; /* DRAM installed, in bytes */
26 unsigned char bi_enetaddr
[6]; /* Local Ethernet MAC address */
27 unsigned int bi_intfreq
; /* Processor speed, in Hz */
28 unsigned int bi_busfreq
; /* PLB Bus speed, in Hz */
29 unsigned int bi_pci_busfreq
; /* PCI Bus speed, in Hz */
30 unsigned int bi_nvramsize
; /* Size of the NVRAM/RTC */
33 /* Some 4xx parts use a different timebase frequency from the internal clock.
35 #define bi_tbfreq bi_intfreq
37 extern u8
*ep405_bcsr
;
38 extern u8
*ep405_nvram
;
40 /* Map for the BCSR and NVRAM space */
41 #define EP405_BCSR_PADDR ((uint)0xf4000000)
42 #define EP405_BCSR_SIZE ((uint)16)
43 #define EP405_NVRAM_PADDR ((uint)0xf4200000)
46 #define BASE_BAUD 399193
48 #define PPC4xx_MACHINE_NAME "Embedded Planet 405GP"
50 #endif /* !__ASSEMBLY__ */
51 #endif /* __ASM_EP405_H__ */
52 #endif /* __KERNEL__ */