2 * MPC86xx Internal Memory Map
6 * Copyright 2004 Freescale Semiconductor, Inc
8 * This program is free software; you can redistribute it and/or modify it
9 * under the terms of the GNU General Public License as published by the
10 * Free Software Foundation; either version 2 of the License, or (at your
11 * option) any later version.
15 #ifndef __ASM_POWERPC_IMMAP_86XX_H__
16 #define __ASM_POWERPC_IMMAP_86XX_H__
19 /* Eventually this should define all the IO block registers in 86xx */
22 typedef struct ccsr_pci {
23 uint cfg_addr; /* 0x.000 - PCI Configuration Address Register */
24 uint cfg_data; /* 0x.004 - PCI Configuration Data Register */
25 uint int_ack; /* 0x.008 - PCI Interrupt Acknowledge Register */
27 uint potar0; /* 0x.c00 - PCI Outbound Transaction Address Register 0 */
28 uint potear0; /* 0x.c04 - PCI Outbound Translation Extended Address Register 0 */
29 uint powbar0; /* 0x.c08 - PCI Outbound Window Base Address Register 0 */
31 uint powar0; /* 0x.c10 - PCI Outbound Window Attributes Register 0 */
33 uint potar1; /* 0x.c20 - PCI Outbound Transaction Address Register 1 */
34 uint potear1; /* 0x.c24 - PCI Outbound Translation Extended Address Register 1 */
35 uint powbar1; /* 0x.c28 - PCI Outbound Window Base Address Register 1 */
37 uint powar1; /* 0x.c30 - PCI Outbound Window Attributes Register 1 */
39 uint potar2; /* 0x.c40 - PCI Outbound Transaction Address Register 2 */
40 uint potear2; /* 0x.c44 - PCI Outbound Translation Extended Address Register 2 */
41 uint powbar2; /* 0x.c48 - PCI Outbound Window Base Address Register 2 */
43 uint powar2; /* 0x.c50 - PCI Outbound Window Attributes Register 2 */
45 uint potar3; /* 0x.c60 - PCI Outbound Transaction Address Register 3 */
46 uint potear3; /* 0x.c64 - PCI Outbound Translation Extended Address Register 3 */
47 uint powbar3; /* 0x.c68 - PCI Outbound Window Base Address Register 3 */
49 uint powar3; /* 0x.c70 - PCI Outbound Window Attributes Register 3 */
51 uint potar4; /* 0x.c80 - PCI Outbound Transaction Address Register 4 */
52 uint potear4; /* 0x.c84 - PCI Outbound Translation Extended Address Register 4 */
53 uint powbar4; /* 0x.c88 - PCI Outbound Window Base Address Register 4 */
55 uint powar4; /* 0x.c90 - PCI Outbound Window Attributes Register 4 */
57 uint pitar3; /* 0x.da0 - PCI Inbound Translation Address Register 3 */
59 uint piwbar3; /* 0x.da8 - PCI Inbound Window Base Address Register 3 */
60 uint piwbear3; /* 0x.dac - PCI Inbound Window Base Extended Address Register 3 */
61 uint piwar3; /* 0x.db0 - PCI Inbound Window Attributes Register 3 */
63 uint pitar2; /* 0x.dc0 - PCI Inbound Translation Address Register 2 */
65 uint piwbar2; /* 0x.dc8 - PCI Inbound Window Base Address Register 2 */
66 uint piwbear2; /* 0x.dcc - PCI Inbound Window Base Extended Address Register 2 */
67 uint piwar2; /* 0x.dd0 - PCI Inbound Window Attributes Register 2 */
69 uint pitar1; /* 0x.de0 - PCI Inbound Translation Address Register 1 */
71 uint piwbar1; /* 0x.de8 - PCI Inbound Window Base Address Register 1 */
73 uint piwar1; /* 0x.df0 - PCI Inbound Window Attributes Register 1 */
75 uint err_dr; /* 0x.e00 - PCI Error Detect Register */
76 uint err_cap_dr; /* 0x.e04 - PCI Error Capture Disable Register */
77 uint err_en; /* 0x.e08 - PCI Error Enable Register */
78 uint err_attrib; /* 0x.e0c - PCI Error Attributes Capture Register */
79 uint err_addr; /* 0x.e10 - PCI Error Address Capture Register */
80 uint err_ext_addr; /* 0x.e14 - PCI Error Extended Address Capture Register */
81 uint err_dl; /* 0x.e18 - PCI Error Data Low Capture Register */
82 uint err_dh; /* 0x.e1c - PCI Error Data High Capture Register */
83 uint gas_timr; /* 0x.e20 - PCI Gasket Timer Register */
84 uint pci_timr; /* 0x.e24 - PCI Timer Register */
88 /* PCI Express Registers */
89 typedef struct ccsr_pex {
90 uint pex_config_addr; /* 0x.000 - PCI Express Configuration Address Register */
91 uint pex_config_data; /* 0x.004 - PCI Express Configuration Data Register */
93 uint pex_otb_cpl_tor; /* 0x.00c - PCI Express Outbound completion timeout register */
94 uint pex_conf_tor; /* 0x.010 - PCI Express configuration timeout register */
96 uint pex_pme_mes_dr; /* 0x.020 - PCI Express PME and message detect register */
97 uint pex_pme_mes_disr; /* 0x.024 - PCI Express PME and message disable register */
98 uint pex_pme_mes_ier; /* 0x.028 - PCI Express PME and message interrupt enable register */
99 uint pex_pmcr; /* 0x.02c - PCI Express power management command register */
101 uint pexotar0; /* 0x.c00 - PCI Express outbound translation address register 0 */
102 uint pexotear0; /* 0x.c04 - PCI Express outbound translation extended address register 0*/
104 uint pexowar0; /* 0x.c10 - PCI Express outbound window attributes register 0*/
106 uint pexotar1; /* 0x.c20 - PCI Express outbound translation address register 1 */
107 uint pexotear1; /* 0x.c24 - PCI Express outbound translation extended address register 1*/
108 uint pexowbar1; /* 0x.c28 - PCI Express outbound window base address register 1*/
110 uint pexowar1; /* 0x.c30 - PCI Express outbound window attributes register 1*/
112 uint pexotar2; /* 0x.c40 - PCI Express outbound translation address register 2 */
113 uint pexotear2; /* 0x.c44 - PCI Express outbound translation extended address register 2*/
114 uint pexowbar2; /* 0x.c48 - PCI Express outbound window base address register 2*/
116 uint pexowar2; /* 0x.c50 - PCI Express outbound window attributes register 2*/
118 uint pexotar3; /* 0x.c60 - PCI Express outbound translation address register 3 */
119 uint pexotear3; /* 0x.c64 - PCI Express outbound translation extended address register 3*/
120 uint pexowbar3; /* 0x.c68 - PCI Express outbound window base address register 3*/
122 uint pexowar3; /* 0x.c70 - PCI Express outbound window attributes register 3*/
124 uint pexotar4; /* 0x.c80 - PCI Express outbound translation address register 4 */
125 uint pexotear4; /* 0x.c84 - PCI Express outbound translation extended address register 4*/
126 uint pexowbar4; /* 0x.c88 - PCI Express outbound window base address register 4*/
128 uint pexowar4; /* 0x.c90 - PCI Express outbound window attributes register 4*/
131 uint pexitar3; /* 0x.da0 - PCI Express inbound translation address register 3 */
133 uint pexiwbar3; /* 0x.da8 - PCI Express inbound window base address register 3 */
134 uint pexiwbear3; /* 0x.dac - PCI Express inbound window base extended address register 3 */
135 uint pexiwar3; /* 0x.db0 - PCI Express inbound window attributes register 3 */
137 uint pexitar2; /* 0x.dc0 - PCI Express inbound translation address register 2 */
139 uint pexiwbar2; /* 0x.dc8 - PCI Express inbound window base address register 2 */
140 uint pexiwbear2; /* 0x.dcc - PCI Express inbound window base extended address register 2 */
141 uint pexiwar2; /* 0x.dd0 - PCI Express inbound window attributes register 2 */
143 uint pexitar1; /* 0x.de0 - PCI Express inbound translation address register 2 */
145 uint pexiwbar1; /* 0x.de8 - PCI Express inbound window base address register 2 */
146 uint pexiwbear1; /* 0x.dec - PCI Express inbound window base extended address register 2 */
147 uint pexiwar1; /* 0x.df0 - PCI Express inbound window attributes register 2 */
149 uint pex_err_dr; /* 0x.e00 - PCI Express error detect register */
151 uint pex_err_en; /* 0x.e08 - PCI Express error interrupt enable register */
153 uint pex_err_disr; /* 0x.e10 - PCI Express error disable register */
155 uint pex_err_cap_stat; /* 0x.e20 - PCI Express error capture status register */
157 uint pex_err_cap_r0; /* 0x.e28 - PCI Express error capture register 0 */
158 uint pex_err_cap_r1; /* 0x.e2c - PCI Express error capture register 0 */
159 uint pex_err_cap_r2; /* 0x.e30 - PCI Express error capture register 0 */
160 uint pex_err_cap_r3; /* 0x.e34 - PCI Express error capture register 0 */
163 /* Global Utility Registers */
164 typedef struct ccsr_guts {
165 uint porpllsr; /* 0x.0000 - POR PLL Ratio Status Register */
166 uint porbmsr; /* 0x.0004 - POR Boot Mode Status Register */
167 uint porimpscr; /* 0x.0008 - POR I/O Impedance Status and Control Register */
168 uint pordevsr; /* 0x.000c - POR I/O Device Status Register */
169 uint pordbgmsr; /* 0x.0010 - POR Debug Mode Status Register */
171 uint gpporcr; /* 0x.0020 - General-Purpose POR Configuration Register */
173 uint gpiocr; /* 0x.0030 - GPIO Control Register */
175 uint gpoutdr; /* 0x.0040 - General-Purpose Output Data Register */
177 uint gpindr; /* 0x.0050 - General-Purpose Input Data Register */
179 uint pmuxcr; /* 0x.0060 - Alternate Function Signal Multiplex Control */
181 uint devdisr; /* 0x.0070 - Device Disable Control */
183 uint powmgtcsr; /* 0x.0080 - Power Management Status and Control Register */
185 uint mcpsumr; /* 0x.0090 - Machine Check Summary Register */
187 uint pvr; /* 0x.00a0 - Processor Version Register */
188 uint svr; /* 0x.00a4 - System Version Register */
190 uint clkocr; /* 0x.0e00 - Clock Out Select Register */
192 uint ddrdllcr; /* 0x.0e10 - DDR DLL Control Register */
194 uint lbcdllcr; /* 0x.0e20 - LBC DLL Control Register */
198 #endif /* __ASM_POWERPC_IMMAP_86XX_H__ */
199 #endif /* __KERNEL__ */