blob: 808786985e549249e9dad99518d4bd2df9653751 [file] [log] [blame]
Rafal Jaworowskid3a02c32007-07-27 14:43:59 +02001/*
2 * (C) Copyright 2007 DENX Software Engineering
3 *
4 * MPC512x Internal Memory Map
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License as
8 * published by the Free Software Foundation; either version 2 of
9 * the License, or (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
19 * MA 02111-1307 USA
20 *
21 * Based on the MPC83xx header.
22 */
23
24#ifndef __IMMAP_512x__
25#define __IMMAP_512x__
26
27#include <asm/types.h>
28
29typedef struct law512x {
30 u32 bar; /* Base Addr Register */
31 u32 ar; /* Attributes Register */
John Rigbyd1228c92008-02-26 09:38:14 -070032} law512x_t;
Rafal Jaworowskid3a02c32007-07-27 14:43:59 +020033
34/*
35 * System configuration registers
36 */
37typedef struct sysconf512x {
38 u32 immrbar; /* Internal memory map base address register */
39 u8 res0[0x1c];
40 u32 lpbaw; /* LP Boot Access Window */
41 u32 lpcs0aw; /* LP CS0 Access Window */
42 u32 lpcs1aw; /* LP CS1 Access Window */
43 u32 lpcs2aw; /* LP CS2 Access Window */
44 u32 lpcs3aw; /* LP CS3 Access Window */
45 u32 lpcs4aw; /* LP CS4 Access Window */
46 u32 lpcs5aw; /* LP CS5 Access Window */
47 u32 lpcs6aw; /* LP CS6 Access Window */
48 u32 lpcs7aw; /* LP CS7 Access Window */
49 u8 res1[0x1c];
John Rigbyd1228c92008-02-26 09:38:14 -070050 law512x_t pcilaw[3]; /* PCI Local Access Window 0-2 Registers */
Rafal Jaworowskid3a02c32007-07-27 14:43:59 +020051 u8 res2[0x28];
John Rigbyd1228c92008-02-26 09:38:14 -070052 law512x_t ddrlaw; /* DDR Local Access Window */
Rafal Jaworowskid3a02c32007-07-27 14:43:59 +020053 u8 res3[0x18];
54 u32 mbxbar; /* MBX Base Address */
55 u32 srambar; /* SRAM Base Address */
56 u32 nfcbar; /* NFC Base Address */
57 u8 res4[0x34];
58 u32 spridr; /* System Part and Revision ID Register */
59 u32 spcr; /* System Priority Configuration Register */
60 u8 res5[0xf8];
61} sysconf512x_t;
62
63/*
64 * Watch Dog Timer (WDT) Registers
65 */
66typedef struct wdt512x {
67 u8 res0[4];
68 u32 swcrr; /* System watchdog control register */
69 u32 swcnr; /* System watchdog count register */
70 u8 res1[2];
71 u16 swsrr; /* System watchdog service register */
72 u8 res2[0xF0];
73} wdt512x_t;
74
75/*
76 * RTC Module Registers
77 */
78typedef struct rtclk512x {
79 u8 fixme[0x100];
80} rtclk512x_t;
81
82/*
83 * General Purpose Timer
84 */
85typedef struct gpt512x {
86 u8 fixme[0x100];
87} gpt512x_t;
88
89/*
90 * Integrated Programmable Interrupt Controller
91 */
92typedef struct ipic512x {
93 u8 fixme[0x100];
94} ipic512x_t;
95
96/*
97 * System Arbiter Registers
98 */
99typedef struct arbiter512x {
100 u32 acr; /* Arbiter Configuration Register */
101 u32 atr; /* Arbiter Timers Register */
102 u32 ater; /* Arbiter Transfer Error Register */
103 u32 aer; /* Arbiter Event Register */
104 u32 aidr; /* Arbiter Interrupt Definition Register */
105 u32 amr; /* Arbiter Mask Register */
106 u32 aeatr; /* Arbiter Event Attributes Register */
107 u32 aeadr; /* Arbiter Event Address Register */
108 u32 aerr; /* Arbiter Event Response Register */
109 u8 res1[0xDC];
110} arbiter512x_t;
111
112/*
113 * Reset Module
114 */
115typedef struct reset512x {
116 u32 rcwl; /* Reset Configuration Word Low Register */
117 u32 rcwh; /* Reset Configuration Word High Register */
118 u8 res0[8];
119 u32 rsr; /* Reset Status Register */
120 u32 rmr; /* Reset Mode Register */
121 u32 rpr; /* Reset protection Register */
122 u32 rcr; /* Reset Control Register */
123 u32 rcer; /* Reset Control Enable Register */
124 u8 res1[0xDC];
125} reset512x_t;
126
127/*
128 * Clock Module
129 */
130typedef struct clk512x {
131 u32 spmr; /* System PLL Mode Register */
132 u32 sccr[2]; /* System Clock Control Registers */
133 u32 scfr[2]; /* System Clock Frequency Registers */
134 u8 res0[4];
135 u32 bcr; /* Bread Crumb Register */
136 u32 pscccr[12]; /* PSC0-11 Clock Control Registers */
137 u32 spccr; /* SPDIF Clock Control Registers */
138 u32 cccr; /* CFM Clock Control Registers */
139 u32 dccr; /* DIU Clock Control Registers */
140 u8 res1[0xa8];
141} clk512x_t;
142
143/*
144 * Power Management Control Module
145 */
146typedef struct pmc512x {
147 u8 fixme[0x100];
148} pmc512x_t;
149
150/*
151 * General purpose I/O module
152 */
153typedef struct gpio512x {
154 u8 fixme[0x100];
155} gpio512x_t;
156
157/*
158 * DDR Memory Controller Memory Map
159 */
160typedef struct ddr512x {
161 u32 ddr_sys_config; /* System Configuration Register */
162 u32 ddr_time_config0; /* Timing Configuration Register */
163 u32 ddr_time_config1; /* Timing Configuration Register */
164 u32 ddr_time_config2; /* Timing Configuration Register */
165 u32 ddr_command; /* Command Register */
166 u32 ddr_compact_command; /* Compact Command Register */
167 u32 self_refresh_cmd_0; /* Enter/Exit Self Refresh Registers */
168 u32 self_refresh_cmd_1; /* Enter/Exit Self Refresh Registers */
169 u32 self_refresh_cmd_2; /* Enter/Exit Self Refresh Registers */
170 u32 self_refresh_cmd_3; /* Enter/Exit Self Refresh Registers */
171 u32 self_refresh_cmd_4; /* Enter/Exit Self Refresh Registers */
172 u32 self_refresh_cmd_5; /* Enter/Exit Self Refresh Registers */
173 u32 self_refresh_cmd_6; /* Enter/Exit Self Refresh Registers */
174 u32 self_refresh_cmd_7; /* Enter/Exit Self Refresh Registers */
175 u32 DQS_config_offset_count; /* DQS Config Offset Count */
176 u32 DQS_config_offset_time; /* DQS Config Offset Time */
177 u32 DQS_delay_status; /* DQS Delay Status */
178 u32 res0[0xF];
179 u32 prioman_config1; /* Priority Manager Configuration */
180 u32 prioman_config2; /* Priority Manager Configuration */
181 u32 hiprio_config; /* High Priority Configuration */
182 u32 lut_table0_main_upper; /* LUT0 Main Upper */
183 u32 lut_table1_main_upper; /* LUT1 Main Upper */
184 u32 lut_table2_main_upper; /* LUT2 Main Upper */
185 u32 lut_table3_main_upper; /* LUT3 Main Upper */
186 u32 lut_table4_main_upper; /* LUT4 Main Upper */
187 u32 lut_table0_main_lower; /* LUT0 Main Lower */
188 u32 lut_table1_main_lower; /* LUT1 Main Lower */
189 u32 lut_table2_main_lower; /* LUT2 Main Lower */
190 u32 lut_table3_main_lower; /* LUT3 Main Lower */
191 u32 lut_table4_main_lower; /* LUT4 Main Lower */
192 u32 lut_table0_alternate_upper; /* LUT0 Alternate Upper */
193 u32 lut_table1_alternate_upper; /* LUT1 Alternate Upper */
194 u32 lut_table2_alternate_upper; /* LUT2 Alternate Upper */
195 u32 lut_table3_alternate_upper; /* LUT3 Alternate Upper */
196 u32 lut_table4_alternate_upper; /* LUT4 Alternate Upper */
197 u32 lut_table0_alternate_lower; /* LUT0 Alternate Lower */
198 u32 lut_table1_alternate_lower; /* LUT1 Alternate Lower */
199 u32 lut_table2_alternate_lower; /* LUT2 Alternate Lower */
200 u32 lut_table3_alternate_lower; /* LUT3 Alternate Lower */
201 u32 lut_table4_alternate_lower; /* LUT4 Alternate Lower */
202 u32 performance_monitor_config;
203 u32 event_time_counter;
204 u32 event_time_preset;
205 u32 performance_monitor1_address_low;
206 u32 performance_monitor2_address_low;
207 u32 performance_monitor1_address_hi;
208 u32 performance_monitor2_address_hi;
209 u32 res1[2];
210 u32 performance_monitor1_read_counter;
211 u32 performance_monitor2_read_counter;
212 u32 performance_monitor1_write_counter;
213 u32 performance_monitor2_write_counter;
214 u32 granted_ack_counter0;
215 u32 granted_ack_counter1;
216 u32 granted_ack_counter2;
217 u32 granted_ack_counter3;
218 u32 granted_ack_counter4;
219 u32 cumulative_wait_counter0;
220 u32 cumulative_wait_counter1;
221 u32 cumulative_wait_counter2;
222 u32 cumulative_wait_counter3;
223 u32 cumulative_wait_counter4;
224 u32 summed_priority_counter0;
225 u32 summed_priority_counter1;
226 u32 summed_priority_counter2;
227 u32 summed_priority_counter3;
228 u32 summed_priority_counter4;
229 u32 res2[0x3AD];
230} ddr512x_t;
231
232
233/*
234 * DMA/Messaging Unit
235 */
236typedef struct dma512x {
237 u8 fixme[0x1800];
238} dma512x_t;
239
240/*
241 * PCI Software Configuration Registers
242 */
243typedef struct pciconf512x {
John Rigbyd1228c92008-02-26 09:38:14 -0700244 u32 config_address;
245 u32 config_data;
246 u32 int_ack;
247 u8 res[116];
Rafal Jaworowskid3a02c32007-07-27 14:43:59 +0200248} pciconf512x_t;
249
250/*
John Rigbyd1228c92008-02-26 09:38:14 -0700251 * PCI Outbound Translation Register
252 */
253typedef struct pci_outbound_window {
254 u32 potar;
255 u8 res0[4];
256 u32 pobar;
257 u8 res1[4];
258 u32 pocmr;
259 u8 res2[4];
260} pot512x_t;
261
262/*
Rafal Jaworowskid3a02c32007-07-27 14:43:59 +0200263 * Sequencer
264 */
265typedef struct ios512x {
John Rigbyd1228c92008-02-26 09:38:14 -0700266 pot512x_t pot[6];
267 u8 res0[0x60];
268 u32 pmcr;
269 u8 res1[4];
270 u32 dtcr;
271 u8 res2[4];
Rafal Jaworowskid3a02c32007-07-27 14:43:59 +0200272} ios512x_t;
273
274/*
275 * PCI Controller
276 */
277typedef struct pcictrl512x {
John Rigbyd1228c92008-02-26 09:38:14 -0700278 u32 esr;
279 u32 ecdr;
280 u32 eer;
281 u32 eatcr;
282 u32 eacr;
283 u32 eeacr;
284 u32 edlcr;
285 u32 edhcr;
286 u32 gcr;
287 u32 ecr;
288 u32 gsr;
289 u8 res0[12];
290 u32 pitar2;
291 u8 res1[4];
292 u32 pibar2;
293 u32 piebar2;
294 u32 piwar2;
295 u8 res2[4];
296 u32 pitar1;
297 u8 res3[4];
298 u32 pibar1;
299 u32 piebar1;
300 u32 piwar1;
301 u8 res4[4];
302 u32 pitar0;
303 u8 res5[4];
304 u32 pibar0;
305 u8 res6[4];
306 u32 piwar0;
307 u8 res7[132];
Rafal Jaworowskid3a02c32007-07-27 14:43:59 +0200308} pcictrl512x_t;
309
310
311/*
312 * MSCAN
313 */
314typedef struct mscan512x {
315 u8 fixme[0x100];
316} mscan512x_t;
317
318/*
319 * BDLC
320 */
321typedef struct bdlc512x {
322 u8 fixme[0x100];
323} bdlc512x_t;
324
325/*
326 * SDHC
327 */
328typedef struct sdhc512x {
329 u8 fixme[0x100];
330} sdhc512x_t;
331
332/*
333 * SPDIF
334 */
335typedef struct spdif512x {
336 u8 fixme[0x100];
337} spdif512x_t;
338
339/*
340 * I2C
341 */
342typedef struct i2c512x_dev {
343 volatile u32 madr; /* I2Cn + 0x00 */
344 volatile u32 mfdr; /* I2Cn + 0x04 */
345 volatile u32 mcr; /* I2Cn + 0x08 */
346 volatile u32 msr; /* I2Cn + 0x0C */
347 volatile u32 mdr; /* I2Cn + 0x10 */
348 u8 res0[0x0C];
349} i2c512x_dev_t;
350
351typedef struct i2c512x {
352 i2c512x_dev_t dev[3];
353 volatile u32 icr;
354 volatile u32 mifr;
355 u8 res0[0x98];
356} i2c512x_t;
357
358/*
359 * AXE
360 */
361typedef struct axe512x {
362 u8 fixme[0x100];
363} axe512x_t;
364
365/*
366 * DIU
367 */
368typedef struct diu512x {
369 u8 fixme[0x100];
370} diu512x_t;
371
372/*
373 * CFM
374 */
375typedef struct cfm512x {
376 u8 fixme[0x100];
377} cfm512x_t;
378
379/*
380 * FEC
381 */
382typedef struct fec512x {
383 u8 fixme[0x800];
384} fec512x_t;
385
386/*
387 * ULPI
388 */
389typedef struct ulpi512x {
390 u8 fixme[0x600];
391} ulpi512x_t;
392
393/*
394 * UTMI
395 */
396typedef struct utmi512x {
397 u8 fixme[0x3000];
398} utmi512x_t;
399
400/*
401 * PCI DMA
402 */
403typedef struct pcidma512x {
404 u8 fixme[0x300];
405} pcidma512x_t;
406
407/*
408 * IO Control
409 */
410typedef struct ioctrl512x {
411 u32 regs[0x400];
412} ioctrl512x_t;
413
414/*
415 * IIM
416 */
417typedef struct iim512x {
Martha Marx5d3e23f2009-01-26 10:45:07 -0700418 u32 stat; /* IIM status register */
419 u32 statm; /* IIM status IRQ mask */
420 u32 err; /* IIM errors register */
421 u32 emask; /* IIM error IRQ mask */
422 u32 fctl; /* IIM fuse control register */
423 u32 ua; /* IIM upper address register */
424 u32 la; /* IIM lower address register */
425 u32 sdat; /* IIM explicit sense data */
426 u8 res0[0x08];
427 u32 prg_p; /* IIM program protection register */
428 u8 res1[0x10];
429 u32 divide; /* IIM divide factor register */
430 u8 res2[0x7c0];
431 u32 fbac0; /* IIM fuse bank 0 prot (for Freescale use) */
432 u32 fb0w0[0x1f]; /* IIM fuse bank 0 data (for Freescale use) */
433 u8 res3[0x380];
434 u32 fbac1; /* IIM fuse bank 1 protection */
435 u32 fb1w1[0x01f]; /* IIM fuse bank 1 data */
436 u8 res4[0x380];
Rafal Jaworowskid3a02c32007-07-27 14:43:59 +0200437} iim512x_t;
438
439/*
440 * LPC
441 */
442typedef struct lpc512x {
443 u32 cs_cfg[8]; /* Chip Select N Configuration Registers
444 No dedicated entry for CS Boot as == CS0 */
445 u32 cs_cr; /* Chip Select Control Register */
446 u32 cs_sr; /* Chip Select Status Register */
447 u32 cs_bcr; /* Chip Select Burst Control Register */
448 u32 cs_dccr; /* Chip Select Deadcycle Control Register */
449 u32 cs_hccr; /* Chip Select Holdcycle Control Register */
450 u8 res0[0xcc];
451 u32 sclpc_psr; /* SCLPC Packet Size Register */
452 u32 sclpc_sar; /* SCLPC Start Address Register */
453 u32 sclpc_cr; /* SCLPC Control Register */
454 u32 sclpc_er; /* SCLPC Enable Register */
455 u32 sclpc_nar; /* SCLPC NextAddress Register */
456 u32 sclpc_sr; /* SCLPC Status Register */
457 u32 sclpc_bdr; /* SCLPC Bytes Done Register */
458 u32 emb_scr; /* EMB Share Counter Register */
459 u32 emb_pcr; /* EMB Pause Control Register */
460 u8 res1[0x1c];
461 u32 lpc_fdwr; /* LPC RX/TX FIFO Data Word Register */
462 u32 lpc_fsr; /* LPC RX/TX FIFO Status Register */
463 u32 lpc_cr; /* LPC RX/TX FIFO Control Register */
464 u32 lpc_ar; /* LPC RX/TX FIFO Alarm Register */
465 u8 res2[0xb0];
466} lpc512x_t;
467
468/*
469 * PATA
470 */
471typedef struct pata512x {
Ralph Kondziellad074bfe2009-01-26 12:34:36 -0700472 /* LOCAL Registers */
473 u32 pata_time1; /* Time register 1: PIO and tx timing parameter */
474 u32 pata_time2; /* Time register 2: PIO timing parameter */
475 u32 pata_time3; /* Time register 3: PIO and MDMA timing parameter */
476 u32 pata_time4; /* Time register 4: MDMA and UDMA timing parameter */
477 u32 pata_time5; /* Time register 5: UDMA timing parameter */
478 u32 pata_time6; /* Time register 6: UDMA timing parameter */
479 u32 pata_fifo_data32; /* 32bit wide dataport to/from FIFO */
480 u32 pata_fifo_data16; /* 16bit wide dataport to/from FIFO */
481 u32 pata_fifo_fill; /* FIFO filling in halfwords (READONLY)*/
482 u32 pata_ata_control; /* ATA Interface control register */
483 u32 pata_irq_pending; /* Interrupt pending register (READONLY) */
484 u32 pata_irq_enable; /* Interrupt enable register */
485 u32 pata_irq_clear; /* Interrupt clear register (WRITEONLY)*/
486 u32 pata_fifo_alarm; /* fifo alarm threshold */
487 u32 res1[0x1A];
488 /* DRIVE Registers */
489 u32 pata_drive_data; /* drive data register*/
490 u32 pata_drive_features;/* drive features register */
491 u32 pata_drive_sectcnt; /* drive sector count register */
492 u32 pata_drive_sectnum; /* drive sector number register */
493 u32 pata_drive_cyllow; /* drive cylinder low register */
494 u32 pata_drive_cylhigh; /* drive cylinder high register */
495 u32 pata_drive_dev_head;/* drive device head register */
496 u32 pata_drive_command; /* write = drive command, read = drive status reg */
497 u32 res2[0x06];
498 u32 pata_drive_alt_stat;/* write = drive control, read = drive alt status reg */
499 u32 res3[0x09];
Rafal Jaworowskid3a02c32007-07-27 14:43:59 +0200500} pata512x_t;
501
502/*
503 * PSC
504 */
505typedef struct psc512x {
506 volatile u8 mode; /* PSC + 0x00 */
507 volatile u8 res0[3];
508 union { /* PSC + 0x04 */
509 volatile u16 status;
510 volatile u16 clock_select;
511 } sr_csr;
512#define psc_status sr_csr.status
513#define psc_clock_select sr_csr.clock_select
514 volatile u16 res1;
515 volatile u8 command; /* PSC + 0x08 */
516 volatile u8 res2[3];
517 union { /* PSC + 0x0c */
518 volatile u8 buffer_8;
519 volatile u16 buffer_16;
520 volatile u32 buffer_32;
521 } buffer;
522#define psc_buffer_8 buffer.buffer_8
523#define psc_buffer_16 buffer.buffer_16
524#define psc_buffer_32 buffer.buffer_32
525 union { /* PSC + 0x10 */
526 volatile u8 ipcr;
527 volatile u8 acr;
528 } ipcr_acr;
529#define psc_ipcr ipcr_acr.ipcr
530#define psc_acr ipcr_acr.acr
531 volatile u8 res3[3];
532 union { /* PSC + 0x14 */
533 volatile u16 isr;
534 volatile u16 imr;
535 } isr_imr;
536#define psc_isr isr_imr.isr
537#define psc_imr isr_imr.imr
538 volatile u16 res4;
539 volatile u8 ctur; /* PSC + 0x18 */
540 volatile u8 res5[3];
541 volatile u8 ctlr; /* PSC + 0x1c */
542 volatile u8 res6[3];
543 volatile u32 ccr; /* PSC + 0x20 */
544 volatile u8 res7[12];
545 volatile u8 ivr; /* PSC + 0x30 */
546 volatile u8 res8[3];
547 volatile u8 ip; /* PSC + 0x34 */
548 volatile u8 res9[3];
549 volatile u8 op1; /* PSC + 0x38 */
550 volatile u8 res10[3];
551 volatile u8 op0; /* PSC + 0x3c */
552 volatile u8 res11[3];
553 volatile u32 sicr; /* PSC + 0x40 */
554 volatile u8 res12[60];
555 volatile u32 tfcmd; /* PSC + 0x80 */
556 volatile u32 tfalarm; /* PSC + 0x84 */
557 volatile u32 tfstat; /* PSC + 0x88 */
558 volatile u32 tfintstat; /* PSC + 0x8C */
559 volatile u32 tfintmask; /* PSC + 0x90 */
560 volatile u32 tfcount; /* PSC + 0x94 */
561 volatile u16 tfwptr; /* PSC + 0x98 */
562 volatile u16 tfrptr; /* PSC + 0x9A */
563 volatile u32 tfsize; /* PSC + 0x9C */
564 volatile u8 res13[28];
565 union { /* PSC + 0xBC */
566 volatile u8 buffer_8;
567 volatile u16 buffer_16;
568 volatile u32 buffer_32;
569 } tfdata_buffer;
570#define tfdata_8 tfdata_buffer.buffer_8
571#define tfdata_16 tfdata_buffer.buffer_16
572#define tfdata_32 tfdata_buffer.buffer_32
573
574 volatile u32 rfcmd; /* PSC + 0xC0 */
575 volatile u32 rfalarm; /* PSC + 0xC4 */
576 volatile u32 rfstat; /* PSC + 0xC8 */
577 volatile u32 rfintstat; /* PSC + 0xCC */
578 volatile u32 rfintmask; /* PSC + 0xD0 */
579 volatile u32 rfcount; /* PSC + 0xD4 */
580 volatile u16 rfwptr; /* PSC + 0xD8 */
581 volatile u16 rfrptr; /* PSC + 0xDA */
582 volatile u32 rfsize; /* PSC + 0xDC */
583 volatile u8 res18[28];
584 union { /* PSC + 0xFC */
585 volatile u8 buffer_8;
586 volatile u16 buffer_16;
587 volatile u32 buffer_32;
588 } rfdata_buffer;
589#define rfdata_8 rfdata_buffer.buffer_8
590#define rfdata_16 rfdata_buffer.buffer_16
591#define rfdata_32 rfdata_buffer.buffer_32
592} psc512x_t;
593
594/*
595 * FIFOC
596 */
597typedef struct fifoc512x {
598 u32 fifoc_cmd;
599 u32 fifoc_int;
600 u32 fifoc_dma;
601 u32 fifoc_axe;
602 u32 fifoc_debug;
603 u8 fixme[0xEC];
604} fifoc512x_t;
605
606/*
607 * SATA
608 */
609typedef struct sata512x {
610 u8 fixme[0x2000];
611} sata512x_t;
612
613typedef struct immap {
614 sysconf512x_t sysconf; /* System configuration */
615 u8 res0[0x700];
616 wdt512x_t wdt; /* Watch Dog Timer (WDT) */
617 rtclk512x_t rtc; /* Real Time Clock Module */
618 gpt512x_t gpt; /* General Purpose Timer */
619 ipic512x_t ipic; /* Integrated Programmable Interrupt Controller */
620 arbiter512x_t arbiter; /* CSB Arbiter */
621 reset512x_t reset; /* Reset Module */
622 clk512x_t clk; /* Clock Module */
623 pmc512x_t pmc; /* Power Management Control Module */
624 gpio512x_t gpio; /* General purpose I/O module */
625 u8 res1[0x100];
626 mscan512x_t mscan; /* MSCAN */
627 bdlc512x_t bdlc; /* BDLC */
628 sdhc512x_t sdhc; /* SDHC */
629 spdif512x_t spdif; /* SPDIF */
630 i2c512x_t i2c; /* I2C Controllers */
631 u8 res2[0x800];
632 axe512x_t axe; /* AXE */
633 diu512x_t diu; /* Display Interface Unit */
634 cfm512x_t cfm; /* Clock Frequency Measurement */
635 u8 res3[0x500];
636 fec512x_t fec; /* Fast Ethernet Controller */
637 ulpi512x_t ulpi; /* USB ULPI */
638 u8 res4[0xa00];
639 utmi512x_t utmi; /* USB UTMI */
640 u8 res5[0x1000];
641 pcidma512x_t pci_dma; /* PCI DMA */
642 pciconf512x_t pci_conf; /* PCI Configuration */
643 u8 res6[0x80];
644 ios512x_t ios; /* PCI Sequencer */
645 pcictrl512x_t pci_ctrl; /* PCI Controller Control and Status */
646 u8 res7[0xa00];
647 ddr512x_t mddrc; /* Multi-port DDR Memory Controller */
648 ioctrl512x_t io_ctrl; /* IO Control */
649 iim512x_t iim; /* IC Identification module */
650 u8 res8[0x4000];
651 lpc512x_t lpc; /* LocalPlus Controller */
652 pata512x_t pata; /* Parallel ATA */
653 u8 res9[0xd00];
654 psc512x_t psc[12]; /* PSCs */
655 u8 res10[0x300];
656 fifoc512x_t fifoc; /* FIFO Controller */
657 u8 res11[0x2000];
658 dma512x_t dma; /* DMA */
659 u8 res12[0xa800];
660 sata512x_t sata; /* Serial ATA */
661 u8 res13[0xde000];
662} immap_t;
663#endif /* __IMMAP_512x__ */