Import 2.3.18pre1
[davej-history.git] / include / asm-ppc / fads.h
bloba23fe8b4e5a0a14d60cfa76f83accf93761fb1c7
2 /*
3 * A collection of structures, addresses, and values associated with
4 * the Motorola 860T FADS board. Copied from the MBX stuff.
6 * Copyright (c) 1998 Dan Malek (dmalek@jlc.net)
7 */
8 #ifndef __MACH_FADS_DEFS
9 #define __MACH_FADS_DEFS
11 /* A Board Information structure that is given to a program when
12 * prom starts it up.
14 typedef struct bd_info {
15 unsigned int bi_memstart; /* Memory start address */
16 unsigned int bi_memsize; /* Memory (end) size in bytes */
17 unsigned int bi_intfreq; /* Internal Freq, in Hz */
18 unsigned int bi_busfreq; /* Bus Freq, in Hz */
19 } bd_t;
21 extern bd_t m8xx_board_info;
23 /* Memory map is configured by the PROM startup.
24 * I tried to follow the FADS manual, although the startup PROM
25 * dictates this.
27 #define BCSR_ADDR ((uint)0x02100000)
28 #define BCSR_SIZE ((uint)(64 * 1024))
29 #define BCSR0 ((uint)0x02100000)
30 #define BCSR1 ((uint)0x02100004)
31 #define BCSR2 ((uint)0x02100008)
32 #define BCSR3 ((uint)0x0210000c)
33 #define BCSR4 ((uint)0x02100010)
34 #define IMAP_ADDR ((uint)0x02200000)
35 #define IMAP_SIZE ((uint)(64 * 1024))
36 #define PCMCIA_MEM_ADDR ((uint)0x04000000)
37 #define PCMCIA_MEM_SIZE ((uint)(64 * 1024))
39 #endif