1
2
3
4
5
6
7
8
9
10
11 #ifndef __MACH_S3C24XX_VR1000_H
12 #define __MACH_S3C24XX_VR1000_H __FILE__
13
14 #define VR1000_CPLD_CTRL2_RAMWEN (0x04)
15
16
17
18 #define VR1000_IRQ_USBOC IRQ_EINT19
19 #define VR1000_IRQ_IDE0 IRQ_EINT16
20 #define VR1000_IRQ_IDE1 IRQ_EINT17
21 #define VR1000_IRQ_SERIAL IRQ_EINT12
22 #define VR1000_IRQ_DM9000A IRQ_EINT10
23 #define VR1000_IRQ_DM9000N IRQ_EINT9
24 #define VR1000_IRQ_SMALERT IRQ_EINT8
25
26
27
28 #define VR1000_IOADDR(x) (S3C2410_ADDR((x) + 0x01300000))
29
30
31
32 #define VR1000_VA_CTRL1 VR1000_IOADDR(0x00000000)
33 #define VR1000_PA_CTRL1 (S3C2410_CS5 | 0x7800000)
34
35 #define VR1000_VA_CTRL2 VR1000_IOADDR(0x00100000)
36 #define VR1000_PA_CTRL2 (S3C2410_CS1 | 0x6000000)
37
38 #define VR1000_VA_CTRL3 VR1000_IOADDR(0x00200000)
39 #define VR1000_PA_CTRL3 (S3C2410_CS1 | 0x6800000)
40
41 #define VR1000_VA_CTRL4 VR1000_IOADDR(0x00300000)
42 #define VR1000_PA_CTRL4 (S3C2410_CS1 | 0x7000000)
43
44
45
46 #define VR1000_PA_PC104_IRQREQ (S3C2410_CS5 | 0x6000000)
47 #define VR1000_VA_PC104_IRQREQ VR1000_IOADDR(0x00400000)
48
49 #define VR1000_PA_PC104_IRQRAW (S3C2410_CS5 | 0x6800000)
50 #define VR1000_VA_PC104_IRQRAW VR1000_IOADDR(0x00500000)
51
52 #define VR1000_PA_PC104_IRQMASK (S3C2410_CS5 | 0x7000000)
53 #define VR1000_VA_PC104_IRQMASK VR1000_IOADDR(0x00600000)
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83 #define VR1000_VA_MULTISPACE (0xE0000000)
84
85 #define VR1000_VA_ISAIO (VR1000_VA_MULTISPACE + 0x00000000)
86 #define VR1000_VA_ISAMEM (VR1000_VA_MULTISPACE + 0x01000000)
87 #define VR1000_VA_IDEPRI (VR1000_VA_MULTISPACE + 0x02000000)
88 #define VR1000_VA_IDEPRIAUX (VR1000_VA_MULTISPACE + 0x02100000)
89 #define VR1000_VA_IDESEC (VR1000_VA_MULTISPACE + 0x02200000)
90 #define VR1000_VA_IDESECAUX (VR1000_VA_MULTISPACE + 0x02300000)
91 #define VR1000_VA_ASIXNET (VR1000_VA_MULTISPACE + 0x02400000)
92 #define VR1000_VA_DM9000 (VR1000_VA_MULTISPACE + 0x02500000)
93 #define VR1000_VA_SUPERIO (VR1000_VA_MULTISPACE + 0x02600000)
94
95
96
97 #define VR1000_PA_IDEPRI (0x02000000)
98 #define VR1000_PA_IDEPRIAUX (0x02800000)
99 #define VR1000_PA_IDESEC (0x03000000)
100 #define VR1000_PA_IDESECAUX (0x03800000)
101 #define VR1000_PA_DM9000 (0x05000000)
102
103 #define VR1000_PA_SERIAL (0x11800000)
104 #define VR1000_VA_SERIAL (VR1000_IOADDR(0x00700000))
105
106
107 #define VR1000_PA_SRAM (S3C2410_CS1 | 0x05000000)
108
109
110
111 #define VR1000_DM9000_CS VR1000_VAM_CS4
112
113 #endif