imx51reg.h revision 1.2.6.2 1 1.2.6.2 rmind /* $NetBSD: imx51reg.h,v 1.2.6.2 2011/03/05 20:49:34 rmind Exp $ */
2 1.2.6.2 rmind /*-
3 1.2.6.2 rmind * Copyright (c) 2007 The NetBSD Foundation, Inc.
4 1.2.6.2 rmind * All rights reserved.
5 1.2.6.2 rmind *
6 1.2.6.2 rmind * This code is derived from software contributed to The NetBSD Foundation
7 1.2.6.2 rmind * by Matt Thomas.
8 1.2.6.2 rmind *
9 1.2.6.2 rmind * Redistribution and use in source and binary forms, with or without
10 1.2.6.2 rmind * modification, are permitted provided that the following conditions
11 1.2.6.2 rmind * are met:
12 1.2.6.2 rmind * 1. Redistributions of source code must retain the above copyright
13 1.2.6.2 rmind * notice, this list of conditions and the following disclaimer.
14 1.2.6.2 rmind * 2. Redistributions in binary form must reproduce the above copyright
15 1.2.6.2 rmind * notice, this list of conditions and the following disclaimer in the
16 1.2.6.2 rmind * documentation and/or other materials provided with the distribution.
17 1.2.6.2 rmind *
18 1.2.6.2 rmind * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
19 1.2.6.2 rmind * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
20 1.2.6.2 rmind * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
21 1.2.6.2 rmind * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
22 1.2.6.2 rmind * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
23 1.2.6.2 rmind * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
24 1.2.6.2 rmind * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
25 1.2.6.2 rmind * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
26 1.2.6.2 rmind * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
27 1.2.6.2 rmind * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
28 1.2.6.2 rmind * POSSIBILITY OF SUCH DAMAGE.
29 1.2.6.2 rmind */
30 1.2.6.2 rmind
31 1.2.6.2 rmind #ifndef _ARM_IMX_IMX51REG_H_
32 1.2.6.2 rmind #define _ARM_IMX_IMX51REG_H_
33 1.2.6.2 rmind
34 1.2.6.2 rmind #define BOOTROM_BASE 0x00000000
35 1.2.6.2 rmind #define BOOTROM_SIZE 0x9000
36 1.2.6.2 rmind
37 1.2.6.2 rmind #define SCCRAM_BASE 0x1ffe0000
38 1.2.6.2 rmind #define SCCRAM_SIZE 0x20000
39 1.2.6.2 rmind
40 1.2.6.2 rmind #define GPUMEM_BASE 0x20000000
41 1.2.6.2 rmind #define GPUMEM_SIZE 0x20000
42 1.2.6.2 rmind
43 1.2.6.2 rmind #define GPU_BASE 0x30000000
44 1.2.6.2 rmind #define GPU_SIZE 0x10000000
45 1.2.6.2 rmind
46 1.2.6.2 rmind /* LCD controller */
47 1.2.6.2 rmind #define IPUEX_BASE 0x40000000
48 1.2.6.2 rmind #define IPUEX_SIZE 0x20000000
49 1.2.6.2 rmind
50 1.2.6.2 rmind #define DEBUGROM_BASE 0x60000000
51 1.2.6.2 rmind #define DEBUGROM_SIZE 0x1000
52 1.2.6.2 rmind
53 1.2.6.2 rmind #define ESDHC1_BASE 0x70004000
54 1.2.6.2 rmind #define ESDHC2_BASE 0x70008000
55 1.2.6.2 rmind #define ESDHC3_BASE 0x70020000
56 1.2.6.2 rmind #define ESDHC4_BASE 0x70024000
57 1.2.6.2 rmind #define ESDHC_SIZE 0x4000
58 1.2.6.2 rmind
59 1.2.6.2 rmind #define UART1_BASE 0x73fbc000
60 1.2.6.2 rmind #define UART2_BASE 0x73fc0000
61 1.2.6.2 rmind #define UART3_BASE 0x7000c000
62 1.2.6.2 rmind /* register definitions in imxuartreg.h */
63 1.2.6.2 rmind
64 1.2.6.2 rmind #define ECSPI1_BASE 0x70010000
65 1.2.6.2 rmind #define ECSPI2_BASE 0x83fac000
66 1.2.6.2 rmind #define ECSPI_SIZE 0x4000
67 1.2.6.2 rmind
68 1.2.6.2 rmind #define SSI1_BASE 0x83fcc000
69 1.2.6.2 rmind #define SSI2_BASE 0x70014000
70 1.2.6.2 rmind #define SSI3_BASE 0x83fe8000
71 1.2.6.2 rmind /* register definitions in imxssireg.h */
72 1.2.6.2 rmind
73 1.2.6.2 rmind #define SPDIF_BASE 0x70028000
74 1.2.6.2 rmind #define SPDIF_SIZE 0x4000
75 1.2.6.2 rmind
76 1.2.6.2 rmind #define PATA_UDMA_BASE 0x70030000
77 1.2.6.2 rmind #define PATA_UDMA_SIZE 0x4000
78 1.2.6.2 rmind #define PATA_PIO_BASE 0x83fe0000
79 1.2.6.2 rmind #define PATA_PIO_SIZE 0x4000
80 1.2.6.2 rmind
81 1.2.6.2 rmind #define SLM_BASE 0x70034000
82 1.2.6.2 rmind #define SLM_SIZE 0x4000
83 1.2.6.2 rmind
84 1.2.6.2 rmind #define HSI2C_BASE 0x70038000
85 1.2.6.2 rmind #define HSI2C_SIZE 0x4000
86 1.2.6.2 rmind
87 1.2.6.2 rmind #define SPBA_BASE 0x7003c000
88 1.2.6.2 rmind #define SPBA_SIZE 0x4000
89 1.2.6.2 rmind
90 1.2.6.2 rmind #define USBOH3_BASE 0x73f80000
91 1.2.6.2 rmind #define USBOH3_PL301_BASE 0x73fc4000
92 1.2.6.2 rmind #define USBOH3_EHCI_SIZE 0x200
93 1.2.6.2 rmind #define USBOH3_OTG 0x000
94 1.2.6.2 rmind #define USBOH3_EHCI(n) (USBOH3_EHCI_SIZE*(n)) /* n=1,2,3 */
95 1.2.6.2 rmind
96 1.2.6.2 rmind /* USB_CTRL register */
97 1.2.6.2 rmind #define USBOH3_USBCTRL 0x800
98 1.2.6.2 rmind #define USBCTRL_OWIR __BIT(31) /* OTG Wakeup interrupt request */
99 1.2.6.2 rmind #define USBCTRL_OSIC_SHIFT 29
100 1.2.6.2 rmind #define USBCTRL_OSIC __BITS(29,30) /* OTG Serial interface configuration */
101 1.2.6.2 rmind #define USBCTRL_OUIE __BIT(28) /* OTG Wake-up interrupt enable */
102 1.2.6.2 rmind #define USBCTRL_OBPAL __BITS(25,26) /* OTG Bypass value */
103 1.2.6.2 rmind #define USBCTRL_OPM __BIT(24) /* OTG Power Mask */
104 1.2.6.2 rmind #define USBCTRL_ICVOL __BIT(23) /* Host1 IC_USB voltage status */
105 1.2.6.2 rmind #define USBCTRL_ICTPIE __BIT(19) /* IC USB TP interrupt enable */
106 1.2.6.2 rmind #define USBCTRL_UBPCKE __BIT(18) /* Bypass clock enable */
107 1.2.6.2 rmind #define USBCTRL_H1TCKOEN __BIT(17) /* Host1 ULPO PHY clock enable */
108 1.2.6.2 rmind #define USBCTRL_ICTPC __BIT(16) /* Clear IC TP interrupt flag */
109 1.2.6.2 rmind #define USBCTRL_H1WIR __BIT(15) /* Host1 wakeup interrupt request */
110 1.2.6.2 rmind #define USBCTRL_H1STC_SHIFT 13
111 1.2.6.2 rmind #define USBCTRL_H1SIC __BITS(13,14) /* Host1 serial interface config */
112 1.2.6.2 rmind #define USBCTRL_H1UIE __BIT(12) /* Host1 ILPI interrupt enable */
113 1.2.6.2 rmind #define USBCTRL_H1WIE __BIT(11) /* Host1 wakeup interrupt enable */
114 1.2.6.2 rmind #define USBCTRL_H1BPVAL __BITS(9,10) /* Host1 bypass value */
115 1.2.6.2 rmind #define USBCTRL_H1PM __BIT(8) /* Host1 power mask */
116 1.2.6.2 rmind #define USBCTRL_OHSTLL __BIT(7) /* OTG ULPI TLL enable */
117 1.2.6.2 rmind #define USBCTRL_H1HSTLL __BIT(6) /* Host1 ULPI TLL enable */
118 1.2.6.2 rmind #define USBCTRL_H1DISFSTTL __BIT(4) /* Host1 serial TLL disable */
119 1.2.6.2 rmind #define USBCTRL_OTCKOEN __BIT(1) /* OTG ULPI PHY clock enable */
120 1.2.6.2 rmind #define USBCTRL_BPE __BIT(0) /* Bypass enable */
121 1.2.6.2 rmind
122 1.2.6.2 rmind #define USBOH3_OTGMIRROR 0x804
123 1.2.6.2 rmind #define USBOH3_PHYCTRL0 0x808
124 1.2.6.2 rmind #define PHYCTRL0_VLOAD __BIT(31)
125 1.2.6.2 rmind #define PHYCTRL0_VCONTROL __BITS(27,30)
126 1.2.6.2 rmind #define PHYCTRL0_CONF2 __BIT(26)
127 1.2.6.2 rmind #define PHYCTRL0_CONF3 __BIT(25)
128 1.2.6.2 rmind #define PHYCTRL0_CHGRDETEN __BIT(24)
129 1.2.6.2 rmind #define PHYCTRL0_CHGRDETON __BIT(23)
130 1.2.6.2 rmind #define PHYCTRL0_VSTATUS __BITS(15,22)
131 1.2.6.2 rmind #define PHYCTRL0_SUSPENDM __BIT(12)
132 1.2.6.2 rmind #define PHYCTRL0_RESET __BIT(11)
133 1.2.6.2 rmind #define PHYCTRL0_UTMI_ON_CLOCK __BIT(10)
134 1.2.6.2 rmind #define PHYCTRL0_OTG_OVER_CUR_POL __BIT(9)
135 1.2.6.2 rmind #define PHYCTRL0_OTG_OVER_CUR_DIS __BIT(8)
136 1.2.6.2 rmind #define PHYCTRL0_OTG_XCVR_CLK_SEL __BIT(7)
137 1.2.6.2 rmind #define PHYCTRL0_H1_XCVR_CLK_SEL __BIT(4)
138 1.2.6.2 rmind #define PHYCTRL0_PWR_POL __BIT(3)
139 1.2.6.2 rmind #define PHYCTRL0_CHRGDET __BIT(2)
140 1.2.6.2 rmind #define PHYCTRL0_CHRGDET_INT_EN __BIT(1)
141 1.2.6.2 rmind #define PHYCTRL0_CHRGDET_INT_FLG __BIT(0)
142 1.2.6.2 rmind
143 1.2.6.2 rmind #define USBOH3_PHYCTRL1 0x80c
144 1.2.6.2 rmind #define PHYCTRL1_PLLDIVVALUE_MASK __BITS(0,1)
145 1.2.6.2 rmind #define PHYCTRL1_PLLDIVVALUE_19MHZ 0 /* 19.2MHz */
146 1.2.6.2 rmind #define PHYCTRL1_PLLDIVVALUE_24MHZ 1
147 1.2.6.2 rmind #define PHYCTRL1_PLLDIVVALUE_26MHZ 2
148 1.2.6.2 rmind #define PHYCTRL1_PLLDIVVALUE_27MHZ 3
149 1.2.6.2 rmind #define USBOH3_USBCTRL1 0x810
150 1.2.6.2 rmind #define USBCTRL1_UH3_EXT_CLK_EN __BIT(27)
151 1.2.6.2 rmind #define USBCTRL1_UH2_EXT_CLK_EN __BIT(26)
152 1.2.6.2 rmind #define USBCTRL1_UH1_EXT_CLK_EN __BIT(25)
153 1.2.6.2 rmind #define USBCTRL1_OTG_EXT_CLK_EN __BIT(24)
154 1.2.6.2 rmind #define USBOH3_USBCTRL2 0x814
155 1.2.6.2 rmind #define USBOH3_USBCTRL3 0x818
156 1.2.6.2 rmind
157 1.2.6.2 rmind #define USBOH3_SIZE 0x820
158 1.2.6.2 rmind
159 1.2.6.2 rmind /* GPIO module */
160 1.2.6.2 rmind
161 1.2.6.2 rmind #define GPIO_BASE(n) (0x73f84000 + 0x4000 * ((n)-1))
162 1.2.6.2 rmind
163 1.2.6.2 rmind #define GPIO1_BASE GPIO_BASE(1)
164 1.2.6.2 rmind #define GPIO2_BASE GPIO_BASE(2)
165 1.2.6.2 rmind #define GPIO3_BASE GPIO_BASE(3)
166 1.2.6.2 rmind #define GPIO4_BASE GPIO_BASE(4)
167 1.2.6.2 rmind
168 1.2.6.2 rmind #define GPIO_NGROUPS 4
169 1.2.6.2 rmind
170 1.2.6.2 rmind #define KPP_BASE 0x73f94000
171 1.2.6.2 rmind /* register definitions in imxkppreg.h */
172 1.2.6.2 rmind
173 1.2.6.2 rmind #define WDOG1_BASE 0x73f98000
174 1.2.6.2 rmind #define WDOG2_BASE 0x73f9c000
175 1.2.6.2 rmind #define WDOG_SIZE 0x000a
176 1.2.6.2 rmind
177 1.2.6.2 rmind #define GPT_BASE 0x73fa0000
178 1.2.6.2 rmind #define GPT_SIZE 0x4000
179 1.2.6.2 rmind
180 1.2.6.2 rmind #define SRTC_BASE 0x73fa4000
181 1.2.6.2 rmind #define SRTC_SIZE 0x4000
182 1.2.6.2 rmind
183 1.2.6.2 rmind /* IO multiplexor */
184 1.2.6.2 rmind #define IOMUXC_BASE 0x73fa8000
185 1.2.6.2 rmind #define IOMUXC_SIZE 0x4000
186 1.2.6.2 rmind
187 1.2.6.2 rmind #define IOMUXC_MUX_CTL 0x001c /* multiprex control */
188 1.2.6.2 rmind #define IOMUX_CONFIG_ALT0 (0)
189 1.2.6.2 rmind #define IOMUX_CONFIG_ALT1 (1)
190 1.2.6.2 rmind #define IOMUX_CONFIG_ALT2 (2)
191 1.2.6.2 rmind #define IOMUX_CONFIG_ALT3 (3)
192 1.2.6.2 rmind #define IOMUX_CONFIG_ALT4 (4)
193 1.2.6.2 rmind #define IOMUX_CONFIG_ALT5 (5)
194 1.2.6.2 rmind #define IOMUX_CONFIG_ALT6 (6)
195 1.2.6.2 rmind #define IOMUX_CONFIG_ALT7 (7)
196 1.2.6.2 rmind #define IOMUX_CONFIG_SION __BIT(4)
197 1.2.6.2 rmind #define IOMUXC_PAD_CTL 0x03f0 /* pad control */
198 1.2.6.2 rmind #define PAD_CTL_DDR_INPUT __BIT(9)
199 1.2.6.2 rmind #define PAD_CTL_HYS __BIT(8)
200 1.2.6.2 rmind #define PAD_CTL_PKE __BIT(7)
201 1.2.6.2 rmind #define PAD_CTL_PUE __BIT(6)
202 1.2.6.2 rmind #define PAD_CTL_PULL (PAD_CTL_PKE|PAD_CTL_PUE)
203 1.2.6.2 rmind #define PAD_CTL_KEEPER (PAD_CTL_PKE|0)
204 1.2.6.2 rmind #define PAD_CTL_PUS_100K_PD (0x0 << 4)
205 1.2.6.2 rmind #define PAD_CTL_PUS_47K_PU (0x1 << 4)
206 1.2.6.2 rmind #define PAD_CTL_PUS_100K_PU (0x2 << 4)
207 1.2.6.2 rmind #define PAD_CTL_PUS_22K_PU (0x3 << 4)
208 1.2.6.2 rmind #define PAD_CTL_ODE __BIT(3) /* opendrain */
209 1.2.6.2 rmind #define PAD_CTL_DSE_LOW (0x0 << 1)
210 1.2.6.2 rmind #define PAD_CTL_DSE_MID (0x1 << 1)
211 1.2.6.2 rmind #define PAD_CTL_DSE_HIGH (0x2 << 1)
212 1.2.6.2 rmind #define PAD_CTL_DSE_MAX (0x3 << 1)
213 1.2.6.2 rmind #define PAD_CTL_SRE __BIT(0)
214 1.2.6.2 rmind #define IOMUXC_INPUT_CTL 0x08c4 /* input control */
215 1.2.6.2 rmind #define INPUT_DAISY_0 0
216 1.2.6.2 rmind #define INPUT_DAISY_1 1
217 1.2.6.2 rmind #define INPUT_DAISY_2 2
218 1.2.6.2 rmind #define INPUT_DAISY_3 3
219 1.2.6.2 rmind #define INPUT_DAISY_4 4
220 1.2.6.2 rmind #define INPUT_DAISY_5 5
221 1.2.6.2 rmind #define INPUT_DAISY_6 6
222 1.2.6.2 rmind #define INPUT_DAISY_7 7
223 1.2.6.2 rmind
224 1.2.6.2 rmind /*
225 1.2.6.2 rmind * IOMUX index
226 1.2.6.2 rmind */
227 1.2.6.2 rmind #define IOMUX_PIN_TO_MUX_ADDRESS(pin) (((pin) >> 16) & 0xffff)
228 1.2.6.2 rmind #define IOMUX_PIN_TO_PAD_ADDRESS(pin) (((pin) >> 0) & 0xffff)
229 1.2.6.2 rmind
230 1.2.6.2 rmind #define IOMUX_PIN(mux_adr, pad_adr) \
231 1.2.6.2 rmind (((mux_adr) << 16) | (((pad_adr) << 0)))
232 1.2.6.2 rmind #define IOMUX_MUX_NONE 0xffff
233 1.2.6.2 rmind #define IOMUX_PAD_NONE 0xffff
234 1.2.6.2 rmind
235 1.2.6.2 rmind /* EPIT */
236 1.2.6.2 rmind #define EPIT1_BASE 0x73FAC000
237 1.2.6.2 rmind #define EPIT2_BASE 0x73FB0000
238 1.2.6.2 rmind /* register definitions in imxepitreg.h */
239 1.2.6.2 rmind
240 1.2.6.2 rmind #define PWM1_BASE 0x73fb4000
241 1.2.6.2 rmind #define PWM2_BASE 0x73fb8000
242 1.2.6.2 rmind #define PWM_SIZE 0x4000
243 1.2.6.2 rmind
244 1.2.6.2 rmind #define SRC_BASE 0x73fd0000
245 1.2.6.2 rmind #define SRC_SIZE 0x4000
246 1.2.6.2 rmind
247 1.2.6.2 rmind #define CCM_BASE 0x73fd4000
248 1.2.6.2 rmind #define CCM_SIZE 0x0088
249 1.2.6.2 rmind
250 1.2.6.2 rmind #define GPC_BASE 0x73fd8000
251 1.2.6.2 rmind #define GPC_SIZE 0x4000
252 1.2.6.2 rmind
253 1.2.6.2 rmind #define DPLLIP1_BASE 0x83f80000
254 1.2.6.2 rmind #define DPLLIP2_BASE 0x83f84000
255 1.2.6.2 rmind #define DPLLIP3_BASE 0x83f88000
256 1.2.6.2 rmind #define DPLLIP_SIZE 0x4000
257 1.2.6.2 rmind
258 1.2.6.2 rmind #define AHBMAX_BASE 0x83f94000
259 1.2.6.2 rmind #define AHBMAX_SIZE 0x4000
260 1.2.6.2 rmind
261 1.2.6.2 rmind #define IIM_BASE 0x83f98000
262 1.2.6.2 rmind #define IIM_SIZE 0x4000
263 1.2.6.2 rmind
264 1.2.6.2 rmind #define CSU_BASE 0x83f9c000
265 1.2.6.2 rmind #define CSU_SIZE 0x4000
266 1.2.6.2 rmind
267 1.2.6.2 rmind #define OWIRE_BASE 0x83fa4000 /* 1-wire */
268 1.2.6.2 rmind #define OWIRE_SIZE 0x4000
269 1.2.6.2 rmind
270 1.2.6.2 rmind #define FIRI_BASE 0x83fa8000
271 1.2.6.2 rmind #define FIRI_SIZE 0x4000
272 1.2.6.2 rmind
273 1.2.6.2 rmind
274 1.2.6.2 rmind #define SDMA_BASE 0x83fb0000
275 1.2.6.2 rmind #define SDMA_SIZE 0x4000
276 1.2.6.2 rmind /* see imxsdmareg.h for register definitions */
277 1.2.6.2 rmind
278 1.2.6.2 rmind #define SCC_BASE 0x83fb4000
279 1.2.6.2 rmind #define SCC_SIZE 0x4000
280 1.2.6.2 rmind
281 1.2.6.2 rmind #define ROMCP_BASE 0x83fb8000
282 1.2.6.2 rmind #define ROMCP_SIZE 0x4000
283 1.2.6.2 rmind
284 1.2.6.2 rmind #define RTIC_BASE 0x83fbc000
285 1.2.6.2 rmind #define RTIC_SIZE 0x4000
286 1.2.6.2 rmind
287 1.2.6.2 rmind #define CSPI_BASE 0x83fc0000
288 1.2.6.2 rmind #define CSPI_SIZE 0x4000
289 1.2.6.2 rmind
290 1.2.6.2 rmind #define I2C1_BASE 0x83fc8000
291 1.2.6.2 rmind #define I2C2_BASE 0x83fc4000
292 1.2.6.2 rmind /* register definitions in imxi2creg.h */
293 1.2.6.2 rmind
294 1.2.6.2 rmind #define AUDMUX_BASE 0x83fd0000
295 1.2.6.2 rmind #define AUDMUX_SIZE 0x4000
296 1.2.6.2 rmind #define AUDMUX_PTCR(n) ((n - 1) * 0x8)
297 1.2.6.2 rmind #define PTCR_TFSDIR (1 << 31)
298 1.2.6.2 rmind #define PTCR_TFSEL(x) (((x) & 0x7) << 27)
299 1.2.6.2 rmind #define PTCR_TCLKDIR (1 << 26)
300 1.2.6.2 rmind #define PTCR_TCSEL(x) (((x) & 0x7) << 22)
301 1.2.6.2 rmind #define PTCR_RFSDIR (1 << 21)
302 1.2.6.2 rmind #define PTCR_RFSEL(x) (((x) & 0x7) << 17)
303 1.2.6.2 rmind #define PTCR_RCLKDIR (1 << 16)
304 1.2.6.2 rmind #define PTCR_RCSEL(x) (((x) & 0x7) << 12)
305 1.2.6.2 rmind #define PTCR_SYN (1 << 11)
306 1.2.6.2 rmind
307 1.2.6.2 rmind #define AUDMUX_PDCR(n) ((n - 1) * 0x8 + 0x4)
308 1.2.6.2 rmind #define PDCR_RXDSEL(x) (((x) & 0x7) << 13)
309 1.2.6.2 rmind #define PDCR_TXRXEN (1 << 12)
310 1.2.6.2 rmind #define PDCR_MODE(x) (((x) & 0x3) << 8)
311 1.2.6.2 rmind #define PDCR_INMMASK(x) (((x) & 0xff) << 0)
312 1.2.6.2 rmind #define AUDMUX_CNMCR 0x38
313 1.2.6.2 rmind
314 1.2.6.2 rmind #define EMI_BASE 0x83fd8000
315 1.2.6.2 rmind #define EMI_SIZE 0x4000
316 1.2.6.2 rmind
317 1.2.6.2 rmind #define SIM_BASE 0x83fe4000
318 1.2.6.2 rmind #define SIM_SIZE 0x4000
319 1.2.6.2 rmind
320 1.2.6.2 rmind #define FEC_BASE 0x83fec000
321 1.2.6.2 rmind #define FEC_SIZE 0x4000
322 1.2.6.2 rmind #define TVE_BASE 0x83ff0000
323 1.2.6.2 rmind #define TVE_SIZE 0x4000
324 1.2.6.2 rmind #define VPU_BASE 0x83ff4000
325 1.2.6.2 rmind #define VPU_SIZE 0x4000
326 1.2.6.2 rmind #define SAHARA_BASE 0x83ff8000
327 1.2.6.2 rmind #define SAHARA_SIZE 0x4000
328 1.2.6.2 rmind
329 1.2.6.2 rmind #define CSD0DDR_BASE 0x90000000
330 1.2.6.2 rmind #define CSD1DDR_BASE 0xa0000000
331 1.2.6.2 rmind #define CSDDDR_SIZE 0x10000000 /* 256MiB */
332 1.2.6.2 rmind #define CS0_BASE 0xb0000000
333 1.2.6.2 rmind #define CS0_SIZE 0x08000000 /* 128MiB */
334 1.2.6.2 rmind #define CS1_BASE 0xb8000000
335 1.2.6.2 rmind #define CS1_SIZE 0x08000000 /* 128MiB */
336 1.2.6.2 rmind #define CS2_BASE 0xc0000000
337 1.2.6.2 rmind #define CS2_SIZE 0x08000000 /* 128MiB */
338 1.2.6.2 rmind #define CS3_BASE 0xc8000000
339 1.2.6.2 rmind #define CS3_SIZE 0x04000000 /* 64MiB */
340 1.2.6.2 rmind #define CS4_BASE 0xcc000000
341 1.2.6.2 rmind #define CS4_SIZE 0x02000000 /* 32MiB */
342 1.2.6.2 rmind #define CS5_BASE 0xcefe0000
343 1.2.6.2 rmind #define CS5_SIZE 0x00010000 /* 32MiB */
344 1.2.6.2 rmind #define NAND_FLASH_BASE 0xcfff0000 /* internal buffer */
345 1.2.6.2 rmind #define NAND_FLASH_SIZE 0x00010000
346 1.2.6.2 rmind
347 1.2.6.2 rmind #define GPU2D_BASE 0xd0000000
348 1.2.6.2 rmind #define GPU2D_SIZE 0x10000000
349 1.2.6.2 rmind
350 1.2.6.2 rmind #define TZIC_BASE 0xe0000000
351 1.2.6.2 rmind /* register definitions in imx51_tzicreg.h */
352 1.2.6.2 rmind
353 1.2.6.2 rmind #endif /* _ARM_IMX_IMX51REG_H_ */
354