2 * Copyright 2000 MontaVista Software Inc.
3 * http://www.mvista.com
6 * Embedded Planet 405GP board
7 * http://www.embeddedplanet.com
9 * Please read the COPYING file for all license details.
13 #ifndef __ASM_EP405_H__
14 #define __ASM_EP405_H__
16 /* We have a 405GP core */
17 #include <platforms/ibm405gp.h>
20 typedef struct board_info {
21 unsigned int bi_memsize; /* DRAM installed, in bytes */
22 unsigned char bi_enetaddr[6]; /* Local Ethernet MAC address */
23 unsigned int bi_intfreq; /* Processor speed, in Hz */
24 unsigned int bi_busfreq; /* PLB Bus speed, in Hz */
25 unsigned int bi_pci_busfreq; /* PCI Bus speed, in Hz */
26 unsigned int bi_nvramsize; /* Size of the NVRAM/RTC */
27 unsigned int bi_opb_busfreq; /* OPB Bus speed, in Hz */
28 int bi_iic_fast[1]; /* Use fast i2c mode */
31 /* Some 4xx parts use a different timebase frequency from the internal clock.
33 #define bi_tbfreq bi_intfreq
35 extern u8 *ep405_bcsr;
36 extern u8 *ep405_nvram;
38 /* Map for the BCSR and NVRAM space */
39 #define EP405_BCSR_PADDR ((uint)0xf4000000)
40 #define EP405_BCSR_SIZE ((uint)16)
41 #define EP405_NVRAM_PADDR ((uint)0xf4200000)
44 #define BASE_BAUD 399193
46 #define PPC4xx_MACHINE_NAME "Embedded Planet 405GP"
48 #endif /* !__ASSEMBLY__ */
49 #endif /* __ASM_EP405_H__ */
50 #endif /* __KERNEL__ */