1 | /* |
---|
2 | * Copyright (c) 2011 Aeroflex Gaisler |
---|
3 | * |
---|
4 | * BSD license: |
---|
5 | * |
---|
6 | * Permission is hereby granted, free of charge, to any person obtaining a copy |
---|
7 | * of this software and associated documentation files (the "Software"), to deal |
---|
8 | * in the Software without restriction, including without limitation the rights |
---|
9 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
---|
10 | * copies of the Software, and to permit persons to whom the Software is |
---|
11 | * furnished to do so, subject to the following conditions: |
---|
12 | * |
---|
13 | * The above copyright notice and this permission notice shall be included in |
---|
14 | * all copies or substantial portions of the Software. |
---|
15 | * |
---|
16 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
---|
17 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
---|
18 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL |
---|
19 | * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
---|
20 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
---|
21 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN |
---|
22 | * THE SOFTWARE. |
---|
23 | */ |
---|
24 | |
---|
25 | |
---|
26 | #ifndef __AMBAPP_DEVS_H__ |
---|
27 | #define __AMBAPP_DEVS_H__ |
---|
28 | |
---|
29 | /* Vendor codes */ |
---|
30 | #define VENDOR_GAISLER 1 |
---|
31 | #define VENDOR_PENDER 2 |
---|
32 | #define VENDOR_ESA 4 |
---|
33 | #define VENDOR_ASTRIUM 6 |
---|
34 | #define VENDOR_OPENCHIP 7 |
---|
35 | #define VENDOR_OPENCORES 8 |
---|
36 | #define VENDOR_CONTRIB 9 |
---|
37 | #define VENDOR_EONIC 11 |
---|
38 | #define VENDOR_RADIONOR 15 |
---|
39 | #define VENDOR_GLEICHMANN 16 |
---|
40 | #define VENDOR_MENTA 17 |
---|
41 | #define VENDOR_SUN 19 |
---|
42 | #define VENDOR_MOVIDIA 20 |
---|
43 | #define VENDOR_ORBITA 23 |
---|
44 | #define VENDOR_SYNOPSYS 33 |
---|
45 | #define VENDOR_NASA 34 |
---|
46 | #define VENDOR_ACTEL 172 |
---|
47 | #define VENDOR_CAL 202 |
---|
48 | #define VENDOR_EMBEDDIT 234 |
---|
49 | #define VENDOR_CETON 203 |
---|
50 | |
---|
51 | /* Gaisler Research device id's */ |
---|
52 | #define GAISLER_LEON2DSU 0x002 |
---|
53 | #define GAISLER_LEON3 0x003 |
---|
54 | #define GAISLER_LEON3DSU 0x004 |
---|
55 | #define GAISLER_ETHAHB 0x005 |
---|
56 | #define GAISLER_APBMST 0x006 |
---|
57 | #define GAISLER_AHBUART 0x007 |
---|
58 | #define GAISLER_SRCTRL 0x008 |
---|
59 | #define GAISLER_SDCTRL 0x009 |
---|
60 | #define GAISLER_SSRCTRL 0x00a |
---|
61 | #define GAISLER_APBUART 0x00c |
---|
62 | #define GAISLER_IRQMP 0x00d |
---|
63 | #define GAISLER_AHBRAM 0x00e |
---|
64 | #define GAISLER_AHBDPRAM 0x00f |
---|
65 | #define GAISLER_GPTIMER 0x011 |
---|
66 | #define GAISLER_PCITRG 0x012 |
---|
67 | #define GAISLER_PCISBRG 0x013 |
---|
68 | #define GAISLER_PCIFBRG 0x014 |
---|
69 | #define GAISLER_PCITRACE 0x015 |
---|
70 | #define GAISLER_DMACTRL 0x016 |
---|
71 | #define GAISLER_AHBTRACE 0x017 |
---|
72 | #define GAISLER_DSUCTRL 0x018 |
---|
73 | #define GAISLER_CANAHB 0x019 |
---|
74 | #define GAISLER_GPIO 0x01a |
---|
75 | #define GAISLER_AHBROM 0x01b |
---|
76 | #define GAISLER_AHBJTAG 0x01c |
---|
77 | #define GAISLER_ETHMAC 0x01d |
---|
78 | #define GAISLER_SWNODE 0x01e |
---|
79 | #define GAISLER_SPW 0x01f |
---|
80 | #define GAISLER_AHB2AHB 0x020 |
---|
81 | #define GAISLER_USBDC 0x021 |
---|
82 | #define GAISLER_USB_DCL 0x022 |
---|
83 | #define GAISLER_DDRMP 0x023 |
---|
84 | #define GAISLER_ATACTRL 0x024 |
---|
85 | #define GAISLER_DDRSP 0x025 |
---|
86 | #define GAISLER_EHCI 0x026 |
---|
87 | #define GAISLER_UHCI 0x027 |
---|
88 | #define GAISLER_I2CMST 0x028 |
---|
89 | #define GAISLER_SPW2 0x029 |
---|
90 | #define GAISLER_AHBDMA 0x02a |
---|
91 | #define GAISLER_NUHOSP3 0x02b |
---|
92 | #define GAISLER_CLKGATE 0x02c |
---|
93 | #define GAISLER_SPICTRL 0x02d |
---|
94 | #define GAISLER_DDR2SP 0x02e |
---|
95 | #define GAISLER_SLINK 0x02f |
---|
96 | #define GAISLER_GRTM 0x030 |
---|
97 | #define GAISLER_GRTC 0x031 |
---|
98 | #define GAISLER_GRPW 0x032 |
---|
99 | #define GAISLER_GRCTM 0x033 |
---|
100 | #define GAISLER_GRHCAN 0x034 |
---|
101 | #define GAISLER_GRFIFO 0x035 |
---|
102 | #define GAISLER_GRADCDAC 0x036 |
---|
103 | #define GAISLER_GRPULSE 0x037 |
---|
104 | #define GAISLER_GRTIMER 0x038 |
---|
105 | #define GAISLER_AHB2PP 0x039 |
---|
106 | #define GAISLER_GRVERSION 0x03a |
---|
107 | #define GAISLER_APB2PW 0x03b |
---|
108 | #define GAISLER_PW2APB 0x03c |
---|
109 | #define GAISLER_GRCAN 0x03d |
---|
110 | #define GAISLER_I2CSLV 0x03e |
---|
111 | #define GAISLER_U16550 0x03f |
---|
112 | #define GAISLER_AHBMST_EM 0x040 |
---|
113 | #define GAISLER_AHBSLV_EM 0x041 |
---|
114 | #define GAISLER_GRTESTMOD 0x042 |
---|
115 | #define GAISLER_ASCS 0x043 |
---|
116 | #define GAISLER_IPMVBCTRL 0x044 |
---|
117 | #define GAISLER_SPIMCTRL 0x045 |
---|
118 | #define GAISLER_LEON4 0x048 |
---|
119 | #define GAISLER_LEON4DSU 0x049 |
---|
120 | #define GAISLER_GRPWM 0x04A |
---|
121 | #define GAISLER_FTAHBRAM 0x050 |
---|
122 | #define GAISLER_FTSRCTRL 0x051 |
---|
123 | #define GAISLER_AHBSTAT 0x052 |
---|
124 | #define GAISLER_LEON3FT 0x053 |
---|
125 | #define GAISLER_FTMCTRL 0x054 |
---|
126 | #define GAISLER_FTSDCTRL 0x055 |
---|
127 | #define GAISLER_FTSRCTRL8 0x056 |
---|
128 | #define GAISLER_APBPS2 0x060 |
---|
129 | #define GAISLER_VGACTRL 0x061 |
---|
130 | #define GAISLER_LOGAN 0x062 |
---|
131 | #define GAISLER_SVGACTRL 0x063 |
---|
132 | #define GAISLER_T1AHB 0x064 |
---|
133 | #define GAISLER_MP7WRAP 0x065 |
---|
134 | #define GAISLER_GRSYSMON 0x066 |
---|
135 | #define GAISLER_GRACECTRL 0x067 |
---|
136 | #define GAISLER_B1553BC 0x070 |
---|
137 | #define GAISLER_B1553RT 0x071 |
---|
138 | #define GAISLER_B1553BRM 0x072 |
---|
139 | #define GAISLER_SATCAN 0x080 |
---|
140 | #define GAISLER_CANMUX 0x081 |
---|
141 | #define GAISLER_GRTMRX 0x082 |
---|
142 | #define GAISLER_GRTCTX 0x083 |
---|
143 | #define GAISLER_GRTMDESC 0x084 |
---|
144 | #define GAISLER_GRTMVC 0x085 |
---|
145 | #define GAISLER_GEFFE 0x086 |
---|
146 | #define GAISLER_AES 0x073 |
---|
147 | #define GAISLER_ECC 0x074 |
---|
148 | #define GAISLER_PCIF 0x075 |
---|
149 | #define GAISLER_CLKMOD 0x076 |
---|
150 | #define GAISLER_HAPSTRAK 0x077 |
---|
151 | #define GAISLER_TEST_1X2 0x078 |
---|
152 | #define GAISLER_WILD2AHB 0x079 |
---|
153 | #define GAISLER_BIO1 0x07a |
---|
154 | |
---|
155 | #define GAISLER_PIPEWRAPPER 0xffa |
---|
156 | #define GAISLER_L2TIME 0xffd /* internal device: leon2 timer */ |
---|
157 | #define GAISLER_L2C 0xffe /* internal device: leon2compat */ |
---|
158 | #define GAISLER_PLUGPLAY 0xfff /* internal device: plug & play configarea */ |
---|
159 | |
---|
160 | /* European Space Agency device id's */ |
---|
161 | #define ESA_LEON2 0x002 |
---|
162 | #define ESA_LEON2APB 0x003 |
---|
163 | #define ESA_IRQ 0x005 |
---|
164 | #define ESA_TIMER 0x006 |
---|
165 | #define ESA_UART 0x007 |
---|
166 | #define ESA_CFG 0x008 |
---|
167 | #define ESA_IO 0x009 |
---|
168 | #define ESA_MCTRL 0x00f |
---|
169 | #define ESA_PCIARB 0x010 |
---|
170 | #define ESA_HURRICANE 0x011 |
---|
171 | #define ESA_SPW_RMAP 0x012 |
---|
172 | #define ESA_SPW2 0x012 |
---|
173 | #define ESA_AHBUART 0x013 |
---|
174 | #define ESA_SPWA 0x014 |
---|
175 | #define ESA_BOSCHCAN 0x015 |
---|
176 | #define ESA_IRQ2 0x016 |
---|
177 | #define ESA_AHBSTAT 0x017 |
---|
178 | #define ESA_WPROT 0x018 |
---|
179 | #define ESA_WPROT2 0x019 |
---|
180 | #define ESA_PDEC3AMBA 0x020 |
---|
181 | #define ESA_PTME3AMBA 0x021 |
---|
182 | |
---|
183 | #define OPENCHIP_APBGPIO 0x001 |
---|
184 | #define OPENCHIP_APBI2C 0x002 |
---|
185 | #define OPENCHIP_APBSPI 0x003 |
---|
186 | #define OPENCHIP_APBCHARLCD 0x004 |
---|
187 | #define OPENCHIP_APBPWM 0x005 |
---|
188 | #define OPENCHIP_APBPS2 0x006 |
---|
189 | #define OPENCHIP_APBMMCSD 0x007 |
---|
190 | #define OPENCHIP_APBNAND 0x008 |
---|
191 | #define OPENCHIP_APBLPC 0x009 |
---|
192 | #define OPENCHIP_APBCF 0x00a |
---|
193 | #define OPENCHIP_APBSYSACE 0x00b |
---|
194 | #define OPENCHIP_APB1WIRE 0x00c |
---|
195 | #define OPENCHIP_APBJTAG 0x00d |
---|
196 | #define OPENCHIP_APBSUI 0x00e |
---|
197 | |
---|
198 | |
---|
199 | #define CONTRIB_CORE1 0x001 |
---|
200 | #define CONTRIB_CORE2 0x002 |
---|
201 | |
---|
202 | #define GLEICHMANN_CUSTOM 0x001 |
---|
203 | #define GLEICHMANN_GEOLCD01 0x002 |
---|
204 | #define GLEICHMANN_DAC 0x003 |
---|
205 | #define GLEICHMANN_HPI 0x004 |
---|
206 | #define GLEICHMANN_SPI 0x005 |
---|
207 | #define GLEICHMANN_HIFC 0x006 |
---|
208 | #define GLEICHMANN_ADCDAC 0x007 |
---|
209 | #define GLEICHMANN_SPIOC 0x008 |
---|
210 | #define GLEICHMANN_AC97 0x009 |
---|
211 | |
---|
212 | #define SUN_T1 0x001 |
---|
213 | #define SUN_S1 0x011 |
---|
214 | |
---|
215 | #define ORBITA_1553B 0x001 |
---|
216 | #define ORBITA_429 0x002 |
---|
217 | #define ORBITA_SPI 0x003 |
---|
218 | #define ORBITA_I2C 0x004 |
---|
219 | #define ORBITA_SMARTCARD 0x064 |
---|
220 | #define ORBITA_SDCARD 0x065 |
---|
221 | #define ORBITA_UART16550 0x066 |
---|
222 | #define ORBITA_CRYPTO 0x067 |
---|
223 | #define ORBITA_SYSIF 0x068 |
---|
224 | #define ORBITA_PIO 0x069 |
---|
225 | #define ORBITA_RTC 0x0c8 |
---|
226 | #define ORBITA_COLORLCD 0x12c |
---|
227 | #define ORBITA_PCI 0x190 |
---|
228 | #define ORBITA_DSP 0x1f4 |
---|
229 | #define ORBITA_USBHOST 0x258 |
---|
230 | #define ORBITA_USBDEV 0x2bc |
---|
231 | |
---|
232 | #define NASA_EP32 0x001 |
---|
233 | |
---|
234 | #define CAL_DDRCTRL 0x188 |
---|
235 | |
---|
236 | #define ACTEL_COREMP7 0x001 |
---|
237 | |
---|
238 | /* Opencores device id's */ |
---|
239 | #define OPENCORES_PCIBR 0x4 |
---|
240 | #define OPENCORES_ETHMAC 0x5 |
---|
241 | |
---|
242 | #endif |
---|