This commit was manufactured by cvs2svn to create branch 'vserver'.
[linux-2.6.git] / include / asm-arm / arch-iop3xx / iq80331.h
1 /*
2  * linux/include/asm/arch-iop3xx/iq80331.h
3  *
4  * Intel IQ80331 evaluation board registers
5  */
6
7 #ifndef _IQ80331_H_
8 #define _IQ80331_H_
9
10 #define IQ80331_RAMBASE         0x00000000
11
12 #define IQ80331_FLASHBASE       0xc0000000      /* Flash */
13 #define IQ80331_FLASHSIZE       0x00800000
14 #define IQ80331_FLASHWIDTH      1
15
16 #define IQ80331_UART0_PHYS  (IOP331_PHYS_MEM_BASE | 0x00001700) /* UART #1 physical */
17 #define IQ80331_UART1_PHYS  (IOP331_PHYS_MEM_BASE | 0x00001740) /* UART #2 physical */
18 #define IQ80331_UART0_VIRT  (IOP331_VIRT_MEM_BASE | 0x00001700) /* UART #1 virtual addr */
19 #define IQ80331_UART1_VIRT  (IOP331_VIRT_MEM_BASE | 0x00001740) /* UART #2 virtual addr */
20 #define IQ80331_7SEG_1          0xce840000      /* 7-Segment MSB */
21 #define IQ80331_7SEG_0          0xce850000      /* 7-Segment LSB (WO) */
22 #define IQ80331_ROTARY_SW       0xce8d0000      /* Rotary Switch */
23 #define IQ80331_BATT_STAT       0xce8f0000      /* Battery Status */
24
25 /*
26  * IQ80331 PCI I/O and Mem space regions
27  */
28 #define IQ80331_PCI_IO_BASE     0x90000000
29 #define IQ80331_PCI_IO_SIZE     0x00010000
30 #define IQ80331_PCI_MEM_BASE    0x80000000
31 #define IQ80331_PCI_MEM_SIZE    0x08000000
32 #define IQ80331_PCI_IO_OFFSET   0x6e000000
33
34 #ifndef __ASSEMBLY__
35 extern void iq80331_map_io(void);
36 #endif
37
38 #endif  // _IQ80331_H_