2 * (C) Copyright 2004-2007 Freescale Semiconductor, Inc.
4 * MPC83xx Internal Memory Map
7 * Dave Liu <daveliu@freescale.com>
8 * Tanya Jiang <tanya.jiang@freescale.com>
9 * Mandy Lavi <mandy.lavi@freescale.com>
10 * Eran Liberty <liberty@freescale.com>
12 * This program is free software; you can redistribute it and/or
13 * modify it under the terms of the GNU General Public License as
14 * published by the Free Software Foundation; either version 2 of
15 * the License, or (at your option) any later version.
17 * This program is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 * GNU General Public License for more details.
22 * You should have received a copy of the GNU General Public License
23 * along with this program; if not, write to the Free Software
24 * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
28 #ifndef __IMMAP_83xx__
29 #define __IMMAP_83xx__
31 #include <asm/types.h>
32 #include <asm/fsl_i2c.h>
33 #include <asm/mpc8xxx_spi.h>
38 typedef struct law83xx {
39 u32 bar; /* LBIU local access window base address register */
40 u32 ar; /* LBIU local access window attribute register */
44 * System configuration registers
46 typedef struct sysconf83xx {
47 u32 immrbar; /* Internal memory map base address register */
49 u32 altcbar; /* Alternate configuration base address register */
51 law83xx_t lblaw[4]; /* LBIU local access window */
53 law83xx_t pcilaw[2]; /* PCI local access window */
55 law83xx_t ddrlaw[2]; /* DDR local access window */
57 u32 sgprl; /* System General Purpose Register Low */
58 u32 sgprh; /* System General Purpose Register High */
59 u32 spridr; /* System Part and Revision ID Register */
61 u32 spcr; /* System Priority Configuration Register */
62 u32 sicrl; /* System I/O Configuration Register Low */
63 u32 sicrh; /* System I/O Configuration Register High */
65 u32 ddrcdr; /* DDR Control Driver Register */
66 u32 ddrdsr; /* DDR Debug Status Register */
67 u32 obir; /* Output Buffer Impedance Register */
72 * Watch Dog Timer (WDT) Registers
74 typedef struct wdt83xx {
76 u32 swcrr; /* System watchdog control register */
77 u32 swcnr; /* System watchdog count register */
79 u16 swsrr; /* System watchdog service register */
84 * RTC/PIT Module Registers
86 typedef struct rtclk83xx {
87 u32 cnr; /* control register */
88 u32 ldr; /* load register */
89 u32 psr; /* prescale register */
90 u32 ctr; /* counter value field register */
91 u32 evr; /* event register */
92 u32 alr; /* alarm register */
99 typedef struct gtm83xx {
100 u8 cfr1; /* Timer1/2 Configuration */
102 u8 cfr2; /* Timer3/4 Configuration */
104 u16 mdr1; /* Timer1 Mode Register */
105 u16 mdr2; /* Timer2 Mode Register */
106 u16 rfr1; /* Timer1 Reference Register */
107 u16 rfr2; /* Timer2 Reference Register */
108 u16 cpr1; /* Timer1 Capture Register */
109 u16 cpr2; /* Timer2 Capture Register */
110 u16 cnr1; /* Timer1 Counter Register */
111 u16 cnr2; /* Timer2 Counter Register */
112 u16 mdr3; /* Timer3 Mode Register */
113 u16 mdr4; /* Timer4 Mode Register */
114 u16 rfr3; /* Timer3 Reference Register */
115 u16 rfr4; /* Timer4 Reference Register */
116 u16 cpr3; /* Timer3 Capture Register */
117 u16 cpr4; /* Timer4 Capture Register */
118 u16 cnr3; /* Timer3 Counter Register */
119 u16 cnr4; /* Timer4 Counter Register */
120 u16 evr1; /* Timer1 Event Register */
121 u16 evr2; /* Timer2 Event Register */
122 u16 evr3; /* Timer3 Event Register */
123 u16 evr4; /* Timer4 Event Register */
124 u16 psr1; /* Timer1 Prescaler Register */
125 u16 psr2; /* Timer2 Prescaler Register */
126 u16 psr3; /* Timer3 Prescaler Register */
127 u16 psr4; /* Timer4 Prescaler Register */
132 * Integrated Programmable Interrupt Controller
134 typedef struct ipic83xx {
135 u32 sicfr; /* System Global Interrupt Configuration Register */
136 u32 sivcr; /* System Global Interrupt Vector Register */
137 u32 sipnr_h; /* System Internal Interrupt Pending Register - High */
138 u32 sipnr_l; /* System Internal Interrupt Pending Register - Low */
139 u32 siprr_a; /* System Internal Interrupt Group A Priority Register */
141 u32 siprr_d; /* System Internal Interrupt Group D Priority Register */
142 u32 simsr_h; /* System Internal Interrupt Mask Register - High */
143 u32 simsr_l; /* System Internal Interrupt Mask Register - Low */
145 u32 sepnr; /* System External Interrupt Pending Register */
146 u32 smprr_a; /* System Mixed Interrupt Group A Priority Register */
147 u32 smprr_b; /* System Mixed Interrupt Group B Priority Register */
148 u32 semsr; /* System External Interrupt Mask Register */
149 u32 secnr; /* System External Interrupt Control Register */
150 u32 sersr; /* System Error Status Register */
151 u32 sermr; /* System Error Mask Register */
152 u32 sercr; /* System Error Control Register */
154 u32 sifcr_h; /* System Internal Interrupt Force Register - High */
155 u32 sifcr_l; /* System Internal Interrupt Force Register - Low */
156 u32 sefcr; /* System External Interrupt Force Register */
157 u32 serfr; /* System Error Force Register */
158 u32 scvcr; /* System Critical Interrupt Vector Register */
159 u32 smvcr; /* System Management Interrupt Vector Register */
164 * System Arbiter Registers
166 typedef struct arbiter83xx {
167 u32 acr; /* Arbiter Configuration Register */
168 u32 atr; /* Arbiter Timers Register */
170 u32 aer; /* Arbiter Event Register */
171 u32 aidr; /* Arbiter Interrupt Definition Register */
172 u32 amr; /* Arbiter Mask Register */
173 u32 aeatr; /* Arbiter Event Attributes Register */
174 u32 aeadr; /* Arbiter Event Address Register */
175 u32 aerr; /* Arbiter Event Response Register */
182 typedef struct reset83xx {
183 u32 rcwl; /* Reset Configuration Word Low Register */
184 u32 rcwh; /* Reset Configuration Word High Register */
186 u32 rsr; /* Reset Status Register */
187 u32 rmr; /* Reset Mode Register */
188 u32 rpr; /* Reset protection Register */
189 u32 rcr; /* Reset Control Register */
190 u32 rcer; /* Reset Control Enable Register */
197 typedef struct clk83xx {
198 u32 spmr; /* system PLL mode Register */
199 u32 occr; /* output clock control Register */
200 u32 sccr; /* system clock control Register */
205 * Power Management Control Module
207 typedef struct pmc83xx {
208 u32 pmccr; /* PMC Configuration Register */
209 u32 pmcer; /* PMC Event Register */
210 u32 pmcmr; /* PMC Mask Register */
211 u32 pmccr1; /* PMC Configuration Register 1 */
212 u32 pmccr2; /* PMC Configuration Register 2 */
217 * General purpose I/O module
219 typedef struct gpio83xx {
220 u32 dir; /* direction register */
221 u32 odr; /* open drain register */
222 u32 dat; /* data register */
223 u32 ier; /* interrupt event register */
224 u32 imr; /* interrupt mask register */
225 u32 icr; /* external interrupt control register */
230 * QE Ports Interrupts Registers
232 typedef struct qepi83xx {
234 u32 qepier; /* QE Ports Interrupt Event Register */
235 u32 qepimr; /* QE Ports Interrupt Mask Register */
236 u32 qepicr; /* QE Ports Interrupt Control Register */
241 * QE Parallel I/O Ports
243 typedef struct gpio_n {
244 u32 podr; /* Open Drain Register */
245 u32 pdat; /* Data Register */
246 u32 dir1; /* direction register 1 */
247 u32 dir2; /* direction register 2 */
248 u32 ppar1; /* Pin Assignment Register 1 */
249 u32 ppar2; /* Pin Assignment Register 2 */
252 typedef struct qegpio83xx {
253 gpio_n_t ioport[0x7];
258 * QE Secondary Bus Access Windows
260 typedef struct qesba83xx {
261 u32 lbmcsar; /* Local bus memory controller start address */
262 u32 sdmcsar; /* Secondary DDR memory controller start address */
264 u32 lbmcear; /* Local bus memory controller end address */
265 u32 sdmcear; /* Secondary DDR memory controller end address */
267 u32 lbmcar; /* Local bus memory controller attributes */
268 u32 sdmcar; /* Secondary DDR memory controller attributes */
273 * DDR Memory Controller Memory Map
275 typedef struct ddr_cs_bnds {
280 typedef struct ddr83xx {
281 ddr_cs_bnds_t csbnds[4];/* Chip Select x Memory Bounds */
283 u32 cs_config[4]; /* Chip Select x Configuration */
285 u32 timing_cfg_3; /* SDRAM Timing Configuration 3 */
286 u32 timing_cfg_0; /* SDRAM Timing Configuration 0 */
287 u32 timing_cfg_1; /* SDRAM Timing Configuration 1 */
288 u32 timing_cfg_2; /* SDRAM Timing Configuration 2 */
289 u32 sdram_cfg; /* SDRAM Control Configuration */
290 u32 sdram_cfg2; /* SDRAM Control Configuration 2 */
291 u32 sdram_mode; /* SDRAM Mode Configuration */
292 u32 sdram_mode2; /* SDRAM Mode Configuration 2 */
293 u32 sdram_md_cntl; /* SDRAM Mode Control */
294 u32 sdram_interval; /* SDRAM Interval Configuration */
295 u32 ddr_data_init; /* SDRAM Data Initialization */
297 u32 sdram_clk_cntl; /* SDRAM Clock Control */
299 u32 ddr_init_addr; /* DDR training initialization address */
300 u32 ddr_init_ext_addr; /* DDR training initialization extended address */
302 u32 ddr_ip_rev1; /* DDR IP block revision 1 */
303 u32 ddr_ip_rev2; /* DDR IP block revision 2 */
305 u32 data_err_inject_hi; /* Memory Data Path Error Injection Mask High */
306 u32 data_err_inject_lo; /* Memory Data Path Error Injection Mask Low */
307 u32 ecc_err_inject; /* Memory Data Path Error Injection Mask ECC */
309 u32 capture_data_hi; /* Memory Data Path Read Capture High */
310 u32 capture_data_lo; /* Memory Data Path Read Capture Low */
311 u32 capture_ecc; /* Memory Data Path Read Capture ECC */
313 u32 err_detect; /* Memory Error Detect */
314 u32 err_disable; /* Memory Error Disable */
315 u32 err_int_en; /* Memory Error Interrupt Enable */
316 u32 capture_attributes; /* Memory Error Attributes Capture */
317 u32 capture_address; /* Memory Error Address Capture */
318 u32 capture_ext_address;/* Memory Error Extended Address Capture */
319 u32 err_sbe; /* Memory Single-Bit ECC Error Management */
328 typedef struct duart83xx {
329 u8 urbr_ulcr_udlb; /* combined register for URBR, UTHR and UDLB */
330 u8 uier_udmb; /* combined register for UIER and UDMB */
331 u8 uiir_ufcr_uafr; /* combined register for UIIR, UFCR and UAFR */
332 u8 ulcr; /* line control register */
333 u8 umcr; /* MODEM control register */
334 u8 ulsr; /* line status register */
335 u8 umsr; /* MODEM status register */
336 u8 uscr; /* scratch register */
338 u8 udsr; /* DMA status register */
344 * Local Bus Controller Registers
346 typedef struct lbus_bank {
347 u32 br; /* Base Register */
348 u32 or; /* Option Register */
351 typedef struct lbus83xx {
354 u32 mar; /* UPM Address Register */
356 u32 mamr; /* UPMA Mode Register */
357 u32 mbmr; /* UPMB Mode Register */
358 u32 mcmr; /* UPMC Mode Register */
360 u32 mrtpr; /* Memory Refresh Timer Prescaler Register */
361 u32 mdr; /* UPM Data Register */
363 u32 lsor; /* Special Operation Initiation Register */
364 u32 lsdmr; /* SDRAM Mode Register */
366 u32 lurt; /* UPM Refresh Timer */
367 u32 lsrt; /* SDRAM Refresh Timer */
369 u32 ltesr; /* Transfer Error Status Register */
370 u32 ltedr; /* Transfer Error Disable Register */
371 u32 lteir; /* Transfer Error Interrupt Register */
372 u32 lteatr; /* Transfer Error Attributes Register */
373 u32 ltear; /* Transfer Error Address Register */
375 u32 lbcr; /* Configuration Register */
376 u32 lcrr; /* Clock Ratio Register */
378 u32 fmr; /* Flash Mode Register */
379 u32 fir; /* Flash Instruction Register */
380 u32 fcr; /* Flash Command Register */
381 u32 fbar; /* Flash Block Addr Register */
382 u32 fpar; /* Flash Page Addr Register */
383 u32 fbcr; /* Flash Byte Count Register */
390 typedef struct dma83xx {
391 u32 res0[0xC]; /* 0x0-0x29 reseverd */
392 u32 omisr; /* 0x30 Outbound message interrupt status register */
393 u32 omimr; /* 0x34 Outbound message interrupt mask register */
394 u32 res1[0x6]; /* 0x38-0x49 reserved */
395 u32 imr0; /* 0x50 Inbound message register 0 */
396 u32 imr1; /* 0x54 Inbound message register 1 */
397 u32 omr0; /* 0x58 Outbound message register 0 */
398 u32 omr1; /* 0x5C Outbound message register 1 */
399 u32 odr; /* 0x60 Outbound doorbell register */
400 u32 res2; /* 0x64-0x67 reserved */
401 u32 idr; /* 0x68 Inbound doorbell register */
402 u32 res3[0x5]; /* 0x6C-0x79 reserved */
403 u32 imisr; /* 0x80 Inbound message interrupt status register */
404 u32 imimr; /* 0x84 Inbound message interrupt mask register */
405 u32 res4[0x1E]; /* 0x88-0x99 reserved */
406 u32 dmamr0; /* 0x100 DMA 0 mode register */
407 u32 dmasr0; /* 0x104 DMA 0 status register */
408 u32 dmacdar0; /* 0x108 DMA 0 current descriptor address register */
409 u32 res5; /* 0x10C reserved */
410 u32 dmasar0; /* 0x110 DMA 0 source address register */
411 u32 res6; /* 0x114 reserved */
412 u32 dmadar0; /* 0x118 DMA 0 destination address register */
413 u32 res7; /* 0x11C reserved */
414 u32 dmabcr0; /* 0x120 DMA 0 byte count register */
415 u32 dmandar0; /* 0x124 DMA 0 next descriptor address register */
416 u32 res8[0x16]; /* 0x128-0x179 reserved */
417 u32 dmamr1; /* 0x180 DMA 1 mode register */
418 u32 dmasr1; /* 0x184 DMA 1 status register */
419 u32 dmacdar1; /* 0x188 DMA 1 current descriptor address register */
420 u32 res9; /* 0x18C reserved */
421 u32 dmasar1; /* 0x190 DMA 1 source address register */
422 u32 res10; /* 0x194 reserved */
423 u32 dmadar1; /* 0x198 DMA 1 destination address register */
424 u32 res11; /* 0x19C reserved */
425 u32 dmabcr1; /* 0x1A0 DMA 1 byte count register */
426 u32 dmandar1; /* 0x1A4 DMA 1 next descriptor address register */
427 u32 res12[0x16]; /* 0x1A8-0x199 reserved */
428 u32 dmamr2; /* 0x200 DMA 2 mode register */
429 u32 dmasr2; /* 0x204 DMA 2 status register */
430 u32 dmacdar2; /* 0x208 DMA 2 current descriptor address register */
431 u32 res13; /* 0x20C reserved */
432 u32 dmasar2; /* 0x210 DMA 2 source address register */
433 u32 res14; /* 0x214 reserved */
434 u32 dmadar2; /* 0x218 DMA 2 destination address register */
435 u32 res15; /* 0x21C reserved */
436 u32 dmabcr2; /* 0x220 DMA 2 byte count register */
437 u32 dmandar2; /* 0x224 DMA 2 next descriptor address register */
438 u32 res16[0x16]; /* 0x228-0x279 reserved */
439 u32 dmamr3; /* 0x280 DMA 3 mode register */
440 u32 dmasr3; /* 0x284 DMA 3 status register */
441 u32 dmacdar3; /* 0x288 DMA 3 current descriptor address register */
442 u32 res17; /* 0x28C reserved */
443 u32 dmasar3; /* 0x290 DMA 3 source address register */
444 u32 res18; /* 0x294 reserved */
445 u32 dmadar3; /* 0x298 DMA 3 destination address register */
446 u32 res19; /* 0x29C reserved */
447 u32 dmabcr3; /* 0x2A0 DMA 3 byte count register */
448 u32 dmandar3; /* 0x2A4 DMA 3 next descriptor address register */
449 u32 dmagsr; /* 0x2A8 DMA general status register */
450 u32 res20[0x15]; /* 0x2AC-0x2FF reserved */
454 * PCI Software Configuration Registers
456 typedef struct pciconf83xx {
464 * PCI Outbound Translation Register
466 typedef struct pci_outbound_window {
478 typedef struct ios83xx {
488 * PCI Controller Control and Status Registers
490 typedef struct pcictrl83xx {
526 typedef struct usb83xx {
533 typedef struct tsec83xx {
540 typedef struct security83xx {
547 typedef struct pex83xx {
554 typedef struct sata83xx {
561 typedef struct sdhc83xx {
568 typedef struct serdes83xx {
575 typedef struct rom83xx {
582 typedef struct tdm83xx {
589 typedef struct tdmdmac83xx {
593 #if defined(CONFIG_MPC834X)
594 typedef struct immap {
595 sysconf83xx_t sysconf; /* System configuration */
596 wdt83xx_t wdt; /* Watch Dog Timer (WDT) Registers */
597 rtclk83xx_t rtc; /* Real Time Clock Module Registers */
598 rtclk83xx_t pit; /* Periodic Interval Timer */
599 gtm83xx_t gtm[2]; /* Global Timers Module */
600 ipic83xx_t ipic; /* Integrated Programmable Interrupt Controller */
601 arbiter83xx_t arbiter; /* System Arbiter Registers */
602 reset83xx_t reset; /* Reset Module */
603 clk83xx_t clk; /* System Clock Module */
604 pmc83xx_t pmc; /* Power Management Control Module */
605 gpio83xx_t gpio[2]; /* General purpose I/O module */
610 ddr83xx_t ddr; /* DDR Memory Controller Memory */
611 fsl_i2c_t i2c[2]; /* I2C Controllers */
613 duart83xx_t duart[2]; /* DUART */
615 lbus83xx_t lbus; /* Local Bus Controller Registers */
617 spi8xxx_t spi; /* Serial Peripheral Interface */
618 dma83xx_t dma; /* DMA */
619 pciconf83xx_t pci_conf[2]; /* PCI Software Configuration Registers */
620 ios83xx_t ios; /* Sequencer */
621 pcictrl83xx_t pci_ctrl[2]; /* PCI Controller Control and Status Registers */
626 security83xx_t security;
630 #elif defined(CONFIG_MPC8313)
631 typedef struct immap {
632 sysconf83xx_t sysconf; /* System configuration */
633 wdt83xx_t wdt; /* Watch Dog Timer (WDT) Registers */
634 rtclk83xx_t rtc; /* Real Time Clock Module Registers */
635 rtclk83xx_t pit; /* Periodic Interval Timer */
636 gtm83xx_t gtm[2]; /* Global Timers Module */
637 ipic83xx_t ipic; /* Integrated Programmable Interrupt Controller */
638 arbiter83xx_t arbiter; /* System Arbiter Registers */
639 reset83xx_t reset; /* Reset Module */
640 clk83xx_t clk; /* System Clock Module */
641 pmc83xx_t pmc; /* Power Management Control Module */
642 gpio83xx_t gpio[1]; /* General purpose I/O module */
644 ddr83xx_t ddr; /* DDR Memory Controller Memory */
645 fsl_i2c_t i2c[2]; /* I2C Controllers */
647 duart83xx_t duart[2]; /* DUART */
649 lbus83xx_t lbus; /* Local Bus Controller Registers */
651 spi8xxx_t spi; /* Serial Peripheral Interface */
652 dma83xx_t dma; /* DMA */
653 pciconf83xx_t pci_conf[1]; /* PCI Software Configuration Registers */
655 ios83xx_t ios; /* Sequencer */
656 pcictrl83xx_t pci_ctrl[1]; /* PCI Controller Control and Status Registers */
661 security83xx_t security;
665 #elif defined(CONFIG_MPC8315)
666 typedef struct immap {
667 sysconf83xx_t sysconf; /* System configuration */
668 wdt83xx_t wdt; /* Watch Dog Timer (WDT) Registers */
669 rtclk83xx_t rtc; /* Real Time Clock Module Registers */
670 rtclk83xx_t pit; /* Periodic Interval Timer */
671 gtm83xx_t gtm[2]; /* Global Timers Module */
672 ipic83xx_t ipic; /* Integrated Programmable Interrupt Controller */
673 arbiter83xx_t arbiter; /* System Arbiter Registers */
674 reset83xx_t reset; /* Reset Module */
675 clk83xx_t clk; /* System Clock Module */
676 pmc83xx_t pmc; /* Power Management Control Module */
677 gpio83xx_t gpio[1]; /* General purpose I/O module */
679 ddr83xx_t ddr; /* DDR Memory Controller Memory */
680 fsl_i2c_t i2c[2]; /* I2C Controllers */
682 duart83xx_t duart[2]; /* DUART */
684 lbus83xx_t lbus; /* Local Bus Controller Registers */
686 spi8xxx_t spi; /* Serial Peripheral Interface */
687 dma83xx_t dma; /* DMA */
688 pciconf83xx_t pci_conf[1]; /* PCI Software Configuration Registers */
690 ios83xx_t ios; /* Sequencer */
691 pcictrl83xx_t pci_ctrl[1]; /* PCI Controller Control and Status Registers */
693 pex83xx_t pciexp[2]; /* PCI Express Controller */
695 tdm83xx_t tdm; /* TDM Controller */
697 sata83xx_t sata[2]; /* SATA Controller */
699 usb83xx_t usb[1]; /* USB DR Controller */
702 tdmdmac83xx_t tdmdmac; /* TDM DMAC */
704 security83xx_t security;
706 serdes83xx_t serdes[1]; /* SerDes Registers */
710 #elif defined(CONFIG_MPC837X)
711 typedef struct immap {
712 sysconf83xx_t sysconf; /* System configuration */
713 wdt83xx_t wdt; /* Watch Dog Timer (WDT) Registers */
714 rtclk83xx_t rtc; /* Real Time Clock Module Registers */
715 rtclk83xx_t pit; /* Periodic Interval Timer */
716 gtm83xx_t gtm[2]; /* Global Timers Module */
717 ipic83xx_t ipic; /* Integrated Programmable Interrupt Controller */
718 arbiter83xx_t arbiter; /* System Arbiter Registers */
719 reset83xx_t reset; /* Reset Module */
720 clk83xx_t clk; /* System Clock Module */
721 pmc83xx_t pmc; /* Power Management Control Module */
722 gpio83xx_t gpio[2]; /* General purpose I/O module */
724 ddr83xx_t ddr; /* DDR Memory Controller Memory */
725 fsl_i2c_t i2c[2]; /* I2C Controllers */
727 duart83xx_t duart[2]; /* DUART */
729 lbus83xx_t lbus; /* Local Bus Controller Registers */
731 spi8xxx_t spi; /* Serial Peripheral Interface */
732 dma83xx_t dma; /* DMA */
733 pciconf83xx_t pci_conf[1]; /* PCI Software Configuration Registers */
735 ios83xx_t ios; /* Sequencer */
736 pcictrl83xx_t pci_ctrl[1]; /* PCI Controller Control and Status Registers */
738 pex83xx_t pciexp[2]; /* PCI Express Controller */
740 sata83xx_t sata[4]; /* SATA Controller */
742 usb83xx_t usb[1]; /* USB DR Controller */
745 sdhc83xx_t sdhc; /* SDHC Controller */
747 security83xx_t security;
749 serdes83xx_t serdes[2]; /* SerDes Registers */
751 rom83xx_t rom; /* On Chip ROM */
754 #elif defined(CONFIG_MPC8360)
755 typedef struct immap {
756 sysconf83xx_t sysconf; /* System configuration */
757 wdt83xx_t wdt; /* Watch Dog Timer (WDT) Registers */
758 rtclk83xx_t rtc; /* Real Time Clock Module Registers */
759 rtclk83xx_t pit; /* Periodic Interval Timer */
761 ipic83xx_t ipic; /* Integrated Programmable Interrupt Controller */
762 arbiter83xx_t arbiter; /* System Arbiter Registers */
763 reset83xx_t reset; /* Reset Module */
764 clk83xx_t clk; /* System Clock Module */
765 pmc83xx_t pmc; /* Power Management Control Module */
766 qepi83xx_t qepi; /* QE Ports Interrupts Registers */
771 qepio83xx_t qepio; /* QE Parallel I/O ports */
772 qesba83xx_t qesba; /* QE Secondary Bus Access Windows */
774 ddr83xx_t ddr; /* DDR Memory Controller Memory */
775 fsl_i2c_t i2c[2]; /* I2C Controllers */
777 duart83xx_t duart[2]; /* DUART */
779 lbus83xx_t lbus; /* Local Bus Controller Registers */
781 dma83xx_t dma; /* DMA */
782 pciconf83xx_t pci_conf[1]; /* PCI Software Configuration Registers */
784 ios83xx_t ios; /* Sequencer (IOS) */
785 pcictrl83xx_t pci_ctrl[1]; /* PCI Controller Control and Status Registers */
787 ddr83xx_t ddr_secondary; /* Secondary DDR Memory Controller Memory Map */
789 security83xx_t security;
791 u8 qe[0x100000]; /* QE block */
794 #elif defined(CONFIG_MPC832X)
795 typedef struct immap {
796 sysconf83xx_t sysconf; /* System configuration */
797 wdt83xx_t wdt; /* Watch Dog Timer (WDT) Registers */
798 rtclk83xx_t rtc; /* Real Time Clock Module Registers */
799 rtclk83xx_t pit; /* Periodic Interval Timer */
800 gtm83xx_t gtm[2]; /* Global Timers Module */
801 ipic83xx_t ipic; /* Integrated Programmable Interrupt Controller */
802 arbiter83xx_t arbiter; /* System Arbiter Registers */
803 reset83xx_t reset; /* Reset Module */
804 clk83xx_t clk; /* System Clock Module */
805 pmc83xx_t pmc; /* Power Management Control Module */
806 qepi83xx_t qepi; /* QE Ports Interrupts Registers */
811 qepio83xx_t qepio; /* QE Parallel I/O ports */
813 ddr83xx_t ddr; /* DDR Memory Controller Memory */
814 fsl_i2c_t i2c[2]; /* I2C Controllers */
816 duart83xx_t duart[2]; /* DUART */
818 lbus83xx_t lbus; /* Local Bus Controller Registers */
820 dma83xx_t dma; /* DMA */
821 pciconf83xx_t pci_conf[1]; /* PCI Software Configuration Registers */
823 ios83xx_t ios; /* Sequencer (IOS) */
824 pcictrl83xx_t pci_ctrl[1]; /* PCI Controller Control and Status Registers */
826 security83xx_t security;
828 u8 qe[0x100000]; /* QE block */
832 #endif /* __IMMAP_83xx__ */