Linux 2.6.12-rc6
[cris-mirror.git] / include / asm-sh / ec3104 / ec3104.h
blob639cfa489c8fb232e4ea59877d083b20bc9763ae
1 #ifndef __ASM_EC3104_H
2 #define __ASM_EC3104_H
5 /*
6 * Most of the register set is at 0xb0ec0000 - 0xb0ecffff.
8 * as far as I've figured it out the register map is:
9 * 0xb0ec0000 - id string
10 * 0xb0ec0XXX - power management
11 * 0xb0ec1XXX - interrupt control
12 * 0xb0ec3XXX - ps2 port (touch pad on aero 8000)
13 * 0xb0ec6XXX - i2c
14 * 0xb0ec7000 - first serial port (proprietary connector on aero 8000)
15 * 0xb0ec8000 - second serial port
16 * 0xb0ec9000 - third serial port
17 * 0xb0eca000 - fourth serial port (keyboard controller on aero 8000)
18 * 0xb0eccXXX - GPIO
19 * 0xb0ecdXXX - GPIO
22 #define EC3104_BASE 0xb0ec0000
24 #define EC3104_SER4_DATA (EC3104_BASE+0xa000)
25 #define EC3104_SER4_IIR (EC3104_BASE+0xa008)
26 #define EC3104_SER4_MCR (EC3104_BASE+0xa010)
27 #define EC3104_SER4_LSR (EC3104_BASE+0xa014)
28 #define EC3104_SER4_MSR (EC3104_BASE+0xa018)
31 * our ISA bus. this seems to be real ISA.
33 #define EC3104_ISA_BASE 0xa5000000
35 #define EC3104_IRQ 11
36 #define EC3104_IRQBASE 64
38 #define EC3104_IRQ_SER1 EC3104_IRQBASE + 7
39 #define EC3104_IRQ_SER2 EC3104_IRQBASE + 8
40 #define EC3104_IRQ_SER3 EC3104_IRQBASE + 9
41 #define EC3104_IRQ_SER4 EC3104_IRQBASE + 10
43 #endif /* __ASM_EC3104_H */