Ticket #1122: ec_vB81.ctl

File ec_vB81.ctl, 3.5 kB (added by frief, 8 years ago)

header file for d52

Line 
1;
2; Header file for d52 disassembler
3;
4; derived from:
5; KB3700 Keyboard Controller Datasheet Revision 0.1
6; http://dev.laptop.org/ticket/477
7;
8
9
10;
11; directly addressable Special Function Registers
12;
13f 80 P0IE
14f 86 PCON2
15f 87 PCON
16f 90 P1IE
17f 9a SCON2
18f 9b SCON3
19f b0 P3IE
20f d8 P0IF
21f e8 P1IF
22f f8 P3IF
23
24
25;
26; xdata Special Function Registers
27;
28s fc00 GPIOFS00
29s fc01 GPIOFS08
30s fc02 GPIOFS10
31s fc03 GPIOFS18
32s fc10 GPIOOE00
33s fc11 GPIOOE08
34s fc12 GPIOOE10
35s fc13 GPIOOE18
36s fc14 GPIOE0E0
37s fc15 GPIOE0E8
38
39s fc19 GPIO_UNKNOWN_FC19
40s fc1a GPIO_UNKNOWN_FC1A
41
42s fc20 GPIOD00
43s fc21 GPIOD08
44s fc22 GPIOD10
45s fc23 GPIOD18
46s fc24 GPIOED0
47s fc25 GPIOED8
48
49s fc29 GPIO_UNKNOWN_FC29
50s fc2a GPIO_UNKNOWN_FC2A
51
52s fc30 GPIOIN00
53s fc31 GPIOIN08
54s fc32 GPIOIN10
55s fc33 GPIOIN18
56s fc34 GPIOEIN0
57s fc35 GPIOEIN8
58s fc36 GPIADIN
59
60s fc3a GPIO_UNKNOWN_FC3A
61s fc3f GPIO_UNKNOWN_FC3F
62
63s fc40 GPIOPU00
64s fc41 GPIOPU08
65s fc42 GPIOPU10
66s fc43 GPIOPU18
67s fc44 GPIOEPU0
68s fc45 GPIOEPU8
69
70s fc50 GPIOOD00
71s fc51 GPIOOD08
72s fc52 GPIOOD10
73s fc53 GPIOOD18
74
75s fc60 GPIOIE00
76s fc61 GPIOIE08
77s fc62 GPIOIE10
78s fc63 GPIOIE18
79; name clash within table 4.2.1:
80s fc64 GPIOEIN0_ERR_FC64
81s fc65 GPIOEIN8_ERR_FC65
82s fc66 GPIAD0
83
84s fc70 GPIOMISC
85
86
87s fc80 KBCCB
88s fc81 KBCCFG
89s fc82 KBCCIF
90s fc83 KBCHWEN
91s fc84 KBCCMD
92s fc85 KBCDAT
93s fc86 KBCSTS
94
95s fc8e KBC_UNKNOWN_FC8E
96
97
98s fca0 XXX_UNKNOWN_FCA0
99s fca3 XXX_UNKNOWN_FCA3
100
101
102s fe00 PWMCFG
103s fe01 PWMHIGH0
104s fe02 PWMCYCL0
105s fe03 PWMHIGH1
106s fe04 PWMCYCL1
107s fe05 PWMCFG2
108s fe06 PWMCFG3
109s fe07 PWMCFG4
110s fe08 PWMHIGH2
111s fe09 PWMHIGH3
112s fe0a PWMHIGH4
113s fe0b PWMCYC2
114s fe0c PWMCYC3
115s fe0d PWMCYC4
116
117
118s fe20 XXX_UNKNOWN_FE20
119s fe26 XXX_UNKNOWN_FE26
120s fe27 XXX_UNKNOWN_FE27
121s fe30 XXX_UNKNOWN_FE30
122s fe36 XXX_UNKNOWN_FE36
123s fe37 XXX_UNKNOWN_FE37
124
125
126s fe50 GPTCFG
127s fe51 GPTPF
128s fe53 GPT0
129s fe55 GPT1
130s fe56 GPT2H
131s fe57 GPT2L
132s fe58 GPT3H
133s fe59 GPT3L
134
135
136s fe80 WDTCFG
137s fe81 WDTPF
138s fe82 WDTCNT
139s fe83 WDT19_12
140s fe84 WDT11_04
141s fe85 WDT03_00
142
143
144s fe90 LPCSTAT
145s fe91 LPCSIRQ
146s fe92 LPCBAH
147s fe93 LPCBAL
148s fe94 LPCFWH
149s fe95 LPCCFG
150s fe96 LPCXBAH
151s fe97 LPCXBAL
152s fe98 LPCEBAH
153s fe99 LPCEBAL
154s fe9a LPC_2EF
155s fe9b LPC_RSV_fe9b
156s fe9c LPC_2F_DATA
157s fe9d LPC68CFG
158s fe9e LPC68CSR
159s fe9f LPC68DAT
160
161
162s fea0 XBISEG0
163s fea1 XBISEG1
164s fea4 XBIXIOEN
165s fea5 XBICFG
166s fea6 XBICS
167s fea7 XBIWE
168s fea8 SPIA0
169s fea9 SPIA1
170s feaa SPIA2
171s feab SPIDAT
172s feac SPICMD
173s fead SPICFG
174s feae SPIDATR
175s feaf SPICFG2
176
177
178s fee0 PS2CFG
179s fee1 PS2PF
180s fee2 PS2CTRL
181s fee3 PS2DATA
182s fee4 PS2CFG2
183s fee5 PS2PINS
184s fee6 PS2PINO
185
186
187s ff00 ECHV
188s ff01 ECFV
189s ff02 ECHA
190s ff03 ESCICFG
191s ff04 ECCFG
192s ff05 SCIE0
193s ff06 SCIE1
194s ff07 SCIE2
195s ff08 SCIF0
196s ff0b SCID
197s ff0c PMUCFG
198s ff0d CLKCFG
199s ff0e EXTIO
200s ff0f PLLCFG
201;
202s ff11 RSV_0xff11
203s ff12 CLKCFG2
204s ff13 PLLCFG2
205s ff14 PXCFG
206s ff15 ADDAEN
207s ff16 PLLFRH
208s ff17 PLLFRL
209s ff18 ADCTRL
210s ff19 ADCDAT
211s ff1a ECIF
212s ff1b ECDAT
213s ff1c ECCMD
214s ff1d ECSTS
215s ff1e PLLVAL_A
216s ff1f PLLVAL_B
217
218
219s ff30 GPWUEN00
220s ff31 GPWUEN08
221s ff32 GPWUEN10
222s ff33 GPWUEN18
223
224s ff40 GPWUPF00
225s ff41 GPWUPF08
226s ff42 GPWUPF10
227s ff43 GPWUPF18
228
229s ff50 GPWUPS00
230s ff51 GPWUPS08
231s ff52 GPWUPS10
232s ff53 GPWUPS18
233
234s ff60 GPWUEL00
235s ff61 GPWUEL08
236s ff62 GPWUEL10
237s ff63 GPWUEL18
238
239
240;
241; Interrupt vectors
242;
243l 00 reset
244l 03 irq_ext0
245l 0b irq_tf0
246l 13 irq_ext1
247l 1b irq_tf1
248l 23 irq_ser
249;
250l 43 irq_wdt
251l 4b irq_na_4b
252l 53 irq_ps2
253l 5b irq_kbc_host
254l 63 irq_rsv63
255l 6b irq_lpc
256l 73 irq_ec_host
257l 7b irq_na_7b
258l 83 irq_rsv_83
259l 8b irq_rsv_8b
260l 93 irq_rsv_93
261l 9b irq_na_9b
262l a3 irq_gpt0
263l ab irq_gpt1
264l b3 irq_gpt2
265l bb irq_gpt3
266l c3 irq_extwio_port80
267l cb irq_gpio00_0f
268l d3 irq_gpio10_1b
269l db irq_rsvdb
270l e3 irq_rsv_e3
271l eb irq_rsv_eb
272l f3 irq_rsv_f3
273l fb irq_adc