1 /* $NetBSD: imx51reg.h,v 1.7 2015/05/07 04:37:29 hkenken Exp $ */ 2 /*- 3 * Copyright (c) 2007 The NetBSD Foundation, Inc. 4 * All rights reserved. 5 * 6 * This code is derived from software contributed to The NetBSD Foundation 7 * by Matt Thomas. 8 * 9 * Redistribution and use in source and binary forms, with or without 10 * modification, are permitted provided that the following conditions 11 * are met: 12 * 1. Redistributions of source code must retain the above copyright 13 * notice, this list of conditions and the following disclaimer. 14 * 2. Redistributions in binary form must reproduce the above copyright 15 * notice, this list of conditions and the following disclaimer in the 16 * documentation and/or other materials provided with the distribution. 17 * 18 * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS 19 * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 20 * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 21 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 22 * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 23 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 24 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 25 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 26 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 27 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 28 * POSSIBILITY OF SUCH DAMAGE. 29 */ 30 31 #ifndef _ARM_IMX_IMX51REG_H_ 32 #define _ARM_IMX_IMX51REG_H_ 33 34 #ifdef IMX50 35 #define TZIC_BASE 0x0fffc000 36 #define APB_BASE 0x40000000 37 #define AIPSTZ1_BASE 0x50000000 38 #define AIPSTZ2_BASE 0x60000000 39 #define CSD0DDR_BASE 0x70000000 40 #else 41 #define TZIC_BASE 0xe0000000 42 #define AIPSTZ1_BASE 0x70000000 43 #define AIPSTZ2_BASE 0x80000000 44 #define CSD0DDR_BASE 0x90000000 45 #define CSD1DDR_BASE 0xa0000000 46 #define CSDDDR_SIZE 0x10000000 /* 256MiB */ 47 #define CS0_BASE 0xb0000000 48 #define CS0_SIZE 0x08000000 /* 128MiB */ 49 #define CS1_BASE 0xb8000000 50 #define CS1_SIZE 0x08000000 /* 128MiB */ 51 #define CS2_BASE 0xc0000000 52 #define CS2_SIZE 0x08000000 /* 128MiB */ 53 #define CS3_BASE 0xc8000000 54 #define CS3_SIZE 0x04000000 /* 64MiB */ 55 #define CS4_BASE 0xcc000000 56 #define CS4_SIZE 0x02000000 /* 32MiB */ 57 #define CS5_BASE 0xcefe0000 58 #define CS5_SIZE 0x00010000 /* 32MiB */ 59 #define NAND_FLASH_BASE 0xcfff0000 /* internal buffer */ 60 #define NAND_FLASH_SIZE 0x00010000 61 62 #define GPU2D_BASE 0xd0000000 63 #define GPU2D_SIZE 0x10000000 64 #endif 65 66 #define BOOTROM_BASE 0x00000000 67 #define BOOTROM_SIZE 0x9000 68 69 #define SCCRAM_BASE 0x1ffe0000 70 #define SCCRAM_SIZE 0x20000 71 72 #define GPUMEM_BASE 0x20000000 73 #define GPUMEM_SIZE 0x20000 74 75 #define GPU_BASE 0x30000000 76 #define GPU_SIZE 0x10000000 77 78 #ifdef IMX50 79 #define EPDC_BASE (APB_BASE + 0x01010000) 80 #define EPDC_SIZE 0x2000 81 #endif 82 83 /* Image Prossasing Unit */ 84 #define IPU_BASE 0x40000000 85 #define IPU_CM_BASE (IPU_BASE + 0x1e000000) 86 #define IPU_CM_SIZE 0x8000 87 #define IPU_IDMAC_BASE (IPU_BASE + 0x1e008000) 88 #define IPU_IDMAC_SIZE 0x8000 89 #define IPU_DP_BASE (IPU_BASE + 0x1e018000) 90 #define IPU_DP_SIZE 0x8000 91 #define IPU_IC_BASE (IPU_BASE + 0x1e020000) 92 #define IPU_IC_SIZE 0x8000 93 #define IPU_IRT_BASE (IPU_BASE + 0x1e028000) 94 #define IPU_IRT_SIZE 0x8000 95 #define IPU_CSI0_BASE (IPU_BASE + 0x1e030000) 96 #define IPU_CSI0_SIZE 0x8000 97 #define IPU_CSI1_BASE (IPU_BASE + 0x1e038000) 98 #define IPU_CSI1_SIZE 0x8000 99 #define IPU_DI0_BASE (IPU_BASE + 0x1e040000) 100 #define IPU_DI0_SIZE 0x8000 101 #define IPU_DI1_BASE (IPU_BASE + 0x1e048000) 102 #define IPU_DI1_SIZE 0x8000 103 #define IPU_SMFC_BASE (IPU_BASE + 0x1e050000) 104 #define IPU_SMFC_SIZE 0x8000 105 #define IPU_DC_BASE (IPU_BASE + 0x1e058000) 106 #define IPU_DC_SIZE 0x8000 107 #define IPU_DMFC_BASE (IPU_BASE + 0x1e060000) 108 #define IPU_DMFC_SIZE 0x8000 109 #define IPU_VDI_BASE (IPU_BASE + 0x1e068000) 110 #define IPU_VDI_SIZE 0x8000 111 #define IPU_CPMEM_BASE (IPU_BASE + 0x1f000000) 112 #define IPU_CPMEM_SIZE 0x20000 113 #define IPU_LUT_BASE (IPU_BASE + 0x1f020000) 114 #define IPU_LUT_SIZE 0x20000 115 #define IPU_SRM_BASE (IPU_BASE + 0x1f040000) 116 #define IPU_SRM_SIZE 0x20000 117 #define IPU_TPM_BASE (IPU_BASE + 0x1f060000) 118 #define IPU_TPM_SIZE 0x20000 119 #define IPU_DCTMPL_BASE (IPU_BASE + 0x1f080000) 120 #define IPU_DCTMPL_SIZE 0x20000 121 122 #define DEBUGROM_BASE 0x60000000 123 #define DEBUGROM_SIZE 0x1000 124 125 #define ESDHC1_BASE (AIPSTZ1_BASE + 0x00004000) 126 #define ESDHC2_BASE (AIPSTZ1_BASE + 0x00008000) 127 #define ESDHC3_BASE (AIPSTZ1_BASE + 0x00020000) 128 #define ESDHC4_BASE (AIPSTZ1_BASE + 0x00024000) 129 #define ESDHC_SIZE 0x4000 130 131 #define PWM1_BASE (AIPSTZ1_BASE + 0x03fb4000) 132 #define PWM2_BASE (AIPSTZ1_BASE + 0x03fb8000) 133 134 #define UART1_BASE (AIPSTZ1_BASE + 0x03fbc000) 135 #define UART2_BASE (AIPSTZ1_BASE + 0x03fc0000) 136 #define UART3_BASE (AIPSTZ1_BASE + 0x0000c000) 137 /* register definitions in imxuartreg.h */ 138 139 #define CCMC_BASE (AIPSTZ1_BASE + 0x03fd4000) 140 141 #define ECSPI1_BASE (AIPSTZ1_BASE + 0x00010000) 142 #define ECSPI2_BASE (AIPSTZ2_BASE + 0x03fac000) 143 #define ECSPI_SIZE 0x4000 144 145 #define SSI1_BASE (AIPSTZ2_BASE + 0x03fcc000) 146 #define SSI2_BASE (AIPSTZ1_BASE + 0x00014000) 147 #define SSI3_BASE (AIPSTZ2_BASE + 0x03fe8000) 148 /* register definitions in imxssireg.h */ 149 150 #define SPDIF_BASE (AIPSTZ1_BASE + 0x00028000) 151 #define SPDIF_SIZE 0x4000 152 153 #define PATA_UDMA_BASE (AIPSTZ1_BASE + 0x00030000) 154 #define PATA_UDMA_SIZE 0x4000 155 #define PATA_PIO_BASE (AIPSTZ2_BASE + 0x03fe0000) 156 #define PATA_PIO_SIZE 0x4000 157 158 #define SLM_BASE (AIPSTZ1_BASE + 0x00034000) 159 #define SLM_SIZE 0x4000 160 161 #ifdef IMX50 162 #define I2C3_BASE (AIPSTZ1_BASE + 0x00038000) 163 #define I2C3_SIZE 0x4000 164 #else 165 #define HSI2C_BASE (AIPSTZ1_BASE + 0x00038000) 166 #define HSI2C_SIZE 0x4000 167 #endif 168 169 #define SPBA_BASE (AIPSTZ1_BASE + 0x0003c000) 170 #define SPBA_SIZE 0x4000 171 172 #define USBOH3_BASE (AIPSTZ1_BASE + 0x03f80000) 173 #define USBOH3_PL301_BASE (AIPSTZ1_BASE + 0x03fc4000) 174 #define USBOH3_EHCI_SIZE 0x200 175 #define USBOH3_OTG 0x000 176 #define USBOH3_EHCI(n) (USBOH3_EHCI_SIZE*(n)) /* n=1,2,3 */ 177 178 /* USB_CTRL register */ 179 #define USBOH3_USBCTRL 0x800 180 #define USBCTRL_OWIR __BIT(31) /* OTG Wakeup interrupt request */ 181 #define USBCTRL_OSIC __BITS(29,30) /* OTG Serial interface configuration */ 182 #define USBCTRL_OUIE __BIT(28) /* OTG Wake-up interrupt enable */ 183 #define USBCTRL_OBPAL __BITS(25,26) /* OTG Bypass value */ 184 #define USBCTRL_OPM __BIT(24) /* OTG Power Mask */ 185 #define USBCTRL_ICVOL __BIT(23) /* Host1 IC_USB voltage status */ 186 #define USBCTRL_ICTPIE __BIT(19) /* IC USB TP interrupt enable */ 187 #define USBCTRL_UBPCKE __BIT(18) /* Bypass clock enable */ 188 #define USBCTRL_H1TCKOEN __BIT(17) /* Host1 ULPO PHY clock enable */ 189 #define USBCTRL_ICTPC __BIT(16) /* Clear IC TP interrupt flag */ 190 #define USBCTRL_H1WIR __BIT(15) /* Host1 wakeup interrupt request */ 191 #define USBCTRL_H1SIC __BITS(13,14) /* Host1 serial interface config */ 192 #define USBCTRL_H1UIE __BIT(12) /* Host1 ILPI interrupt enable */ 193 #define USBCTRL_H1WIE __BIT(11) /* Host1 wakeup interrupt enable */ 194 #define USBCTRL_H1BPVAL __BITS(9,10) /* Host1 bypass value */ 195 #define USBCTRL_H1PM __BIT(8) /* Host1 power mask */ 196 #define USBCTRL_OHSTLL __BIT(7) /* OTG ULPI TLL enable */ 197 #define USBCTRL_H1HSTLL __BIT(6) /* Host1 ULPI TLL enable */ 198 #define USBCTRL_H1DISFSTTL __BIT(4) /* Host1 serial TLL disable */ 199 #define USBCTRL_OTCKOEN __BIT(1) /* OTG ULPI PHY clock enable */ 200 #define USBCTRL_BPE __BIT(0) /* Bypass enable */ 201 #define USBOH3_OTGMIRROR 0x804 202 #define USBOH3_PHYCTRL0 0x808 203 #define PHYCTRL0_VLOAD __BIT(31) 204 #define PHYCTRL0_VCONTROL __BITS(27,30) 205 #define PHYCTRL0_CONF2 __BIT(26) 206 #define PHYCTRL0_CONF3 __BIT(25) 207 #define PHYCTRL0_CHGRDETEN __BIT(24) 208 #define PHYCTRL0_CHGRDETON __BIT(23) 209 #define PHYCTRL0_VSTATUS __BITS(15,22) 210 #define PHYCTRL0_SUSPENDM __BIT(12) 211 #define PHYCTRL0_RESET __BIT(11) 212 #define PHYCTRL0_UTMI_ON_CLOCK __BIT(10) 213 #define PHYCTRL0_OTG_OVER_CUR_POL __BIT(9) 214 #define PHYCTRL0_OTG_OVER_CUR_DIS __BIT(8) 215 #define PHYCTRL0_OTG_XCVR_CLK_SEL __BIT(7) 216 #define PHYCTRL0_H1_OVER_CUR_POL __BIT(6) 217 #define PHYCTRL0_H1_OVER_CUR_DIS __BIT(5) 218 #define PHYCTRL0_H1_XCVR_CLK_SEL __BIT(4) 219 #define PHYCTRL0_PWR_POL __BIT(3) 220 #define PHYCTRL0_CHRGDET __BIT(2) 221 #define PHYCTRL0_CHRGDET_INT_EN __BIT(1) 222 #define PHYCTRL0_CHRGDET_INT_FLG __BIT(0) 223 #define USBOH3_PHYCTRL1 0x80c 224 #define PHYCTRL1_PLLDIVVALUE_MASK __BITS(0,1) 225 #define PHYCTRL1_PLLDIVVALUE_19MHZ 0 /* 19.2MHz */ 226 #define PHYCTRL1_PLLDIVVALUE_24MHZ 1 227 #define PHYCTRL1_PLLDIVVALUE_26MHZ 2 228 #define PHYCTRL1_PLLDIVVALUE_27MHZ 3 229 #define USBOH3_USBCTRL1 0x810 230 #define USBCTRL1_UH3_EXT_CLK_EN __BIT(27) 231 #define USBCTRL1_UH2_EXT_CLK_EN __BIT(26) 232 #define USBCTRL1_UH1_EXT_CLK_EN __BIT(25) 233 #define USBCTRL1_OTG_EXT_CLK_EN __BIT(24) 234 #define USBOH3_USBCTRL2 0x814 235 #define USBOH3_USBCTRL3 0x818 236 #define USBOH3_UH1_PHY_CTRL_0 0x81c 237 #define USBOH3_UH1_PHY_CTRL_1 0x820 238 #define USBOH3_USB_CLKONOFF_CTRL 0x824 239 #define USB_CLKONOFF_CTRL_H1_AHBCLK_OFF __BIT(18) 240 #define USB_CLKONOFF_CTRL_OTG_AHBCLK_OFF __BIT(17) 241 242 #define USBOH3_SIZE 0x4000 243 244 /* GPIO module */ 245 246 #define GPIO_BASE(n) \ 247 (AIPSTZ1_BASE + (((n) <= 4) ? \ 248 0x03f84000 + 0x4000 * ((n) - 1) : \ 249 0x03fdc000 + 0x4000 * ((n) - 5))) 250 251 #define GPIO1_BASE GPIO_BASE(1) 252 #define GPIO2_BASE GPIO_BASE(2) 253 #define GPIO3_BASE GPIO_BASE(3) 254 #define GPIO4_BASE GPIO_BASE(4) 255 #define GPIO5_BASE GPIO_BASE(5) 256 #define GPIO6_BASE GPIO_BASE(6) 257 258 #ifdef IMX50 259 #define GPIO_NGROUPS 6 260 #else 261 #define GPIO_NGROUPS 4 262 #endif 263 264 #define KPP_BASE (AIPSTZ1_BASE + 0x03f94000) 265 /* register definitions in imxkppreg.h */ 266 267 #define WDOG1_BASE (AIPSTZ1_BASE + 0x03f98000) 268 #define WDOG2_BASE (AIPSTZ1_BASE + 0x03f9c000) 269 #define WDOG_SIZE 0x4000 270 271 #define GPT_BASE (AIPSTZ1_BASE + 0x03fa0000) 272 #define GPT_SIZE 0x4000 273 274 #define SRTC_BASE (AIPSTZ1_BASE + 0x03fa4000) 275 #define SRTC_SIZE 0x4000 276 277 /* IO multiplexor */ 278 #define IOMUXC_BASE (AIPSTZ1_BASE + 0x03fa8000) 279 #define IOMUXC_SIZE 0x4000 280 281 #define IOMUXC_MUX_CTL 0x001c /* multiprex control */ 282 #define IOMUX_CONFIG_SION __BIT(4) 283 #define IOMUX_CONFIG_ALT0 (0) 284 #define IOMUX_CONFIG_ALT1 (1) 285 #define IOMUX_CONFIG_ALT2 (2) 286 #define IOMUX_CONFIG_ALT3 (3) 287 #define IOMUX_CONFIG_ALT4 (4) 288 #define IOMUX_CONFIG_ALT5 (5) 289 #define IOMUX_CONFIG_ALT6 (6) 290 #define IOMUX_CONFIG_ALT7 (7) 291 #define IOMUXC_PAD_CTL 0x03f0 /* pad control */ 292 #define PAD_CTL_HVE __BIT(13) 293 #define PAD_CTL_DDR_INPUT __BIT(9) 294 #define PAD_CTL_HYS __BIT(8) 295 #define PAD_CTL_PKE __BIT(7) 296 #define PAD_CTL_PUE __BIT(6) 297 #define PAD_CTL_PULL (PAD_CTL_PKE|PAD_CTL_PUE) 298 #define PAD_CTL_KEEPER (PAD_CTL_PKE|0) 299 #define PAD_CTL_PUS_MASK __BITS(5, 4) 300 #define PAD_CTL_PUS_100K_PD __SHIFTIN(0x0, PAD_CTL_PUS_MASK) 301 #define PAD_CTL_PUS_47K_PU __SHIFTIN(0x1, PAD_CTL_PUS_MASK) 302 #define PAD_CTL_PUS_100K_PU __SHIFTIN(0x2, PAD_CTL_PUS_MASK) 303 #define PAD_CTL_PUS_22K_PU __SHIFTIN(0x3, PAD_CTL_PUS_MASK) 304 #define PAD_CTL_ODE __BIT(3) /* opendrain */ 305 #define PAD_CTL_DSE_MASK __BITS(2, 1) 306 #define PAD_CTL_DSE_LOW __SHIFTIN(0x0, PAD_CTL_DSE_MASK) 307 #define PAD_CTL_DSE_MID __SHIFTIN(0x1, PAD_CTL_DSE_MASK) 308 #define PAD_CTL_DSE_HIGH __SHIFTIN(0x2, PAD_CTL_DSE_MASK) 309 #define PAD_CTL_DSE_MAX __SHIFTIN(0x3, PAD_CTL_DSE_MASK) 310 #define PAD_CTL_SRE __BIT(0) 311 #define IOMUXC_INPUT_CTL 0x08c4 /* input control */ 312 #define INPUT_DAISY_0 0 313 #define INPUT_DAISY_1 1 314 #define INPUT_DAISY_2 2 315 #define INPUT_DAISY_3 3 316 #define INPUT_DAISY_4 4 317 #define INPUT_DAISY_5 5 318 #define INPUT_DAISY_6 6 319 #define INPUT_DAISY_7 7 320 321 /* 322 * IOMUX index 323 */ 324 #define IOMUX_PIN_TO_MUX_ADDRESS(pin) (((pin) >> 16) & 0xffff) 325 #define IOMUX_PIN_TO_PAD_ADDRESS(pin) (((pin) >> 0) & 0xffff) 326 327 #define IOMUX_PIN(mux_adr, pad_adr) \ 328 (((mux_adr) << 16) | (((pad_adr) << 0))) 329 #define IOMUX_MUX_NONE 0xffff 330 #define IOMUX_PAD_NONE 0xffff 331 332 /* EPIT */ 333 #define EPIT1_BASE (AIPSTZ1_BASE + 0x03FAC000) 334 #define EPIT2_BASE (AIPSTZ1_BASE + 0x03FB0000) 335 /* register definitions in imxepitreg.h */ 336 337 #define PWM1_BASE (AIPSTZ1_BASE + 0x03fb4000) 338 #define PWM2_BASE (AIPSTZ1_BASE + 0x03fb8000) 339 #define PWM_SIZE 0x4000 340 341 #define SRC_BASE (AIPSTZ1_BASE + 0x03fd0000) 342 #define SRC_SIZE 0x4000 343 344 #define CCM_BASE (AIPSTZ1_BASE + 0x03fd4000) 345 #define CCM_SIZE 0x4000 346 347 #define GPC_BASE (AIPSTZ1_BASE + 0x03fd8000) 348 #define GPC_SIZE 0x4000 349 350 #define AHBMAX_BASE (AIPSTZ2_BASE + 0x03f94000) 351 #define AHBMAX_SIZE 0x4000 352 353 #define IIM_BASE (AIPSTZ2_BASE + 0x03f98000) 354 #define IIM_SIZE 0x4000 355 356 #define CSU_BASE (AIPSTZ2_BASE + 0x03f9c000) 357 #define CSU_SIZE 0x4000 358 359 #define OWIRE_BASE (AIPSTZ2_BASE + 0x03fa4000) 360 #define OWIRE_SIZE 0x4000 361 362 #define FIRI_BASE (AIPSTZ2_BASE + 0x03fa8000) 363 #define FIRI_SIZE 0x4000 364 365 366 #define SDMA_BASE (AIPSTZ2_BASE + 0x03fb0000) 367 #define SDMA_SIZE 0x4000 368 /* see imxsdmareg.h for register definitions */ 369 370 #define SCC_BASE (AIPSTZ2_BASE + 0x03fb4000) 371 #define SCC_SIZE 0x4000 372 373 #define ROMCP_BASE (AIPSTZ2_BASE + 0x03fb8000) 374 #define ROMCP_SIZE 0x4000 375 376 #define RTIC_BASE (AIPSTZ2_BASE + 0x03fbc000) 377 #define RTIC_SIZE 0x4000 378 379 #define CSPI_BASE (AIPSTZ2_BASE + 0x03fc0000) 380 #define CSPI_SIZE 0x4000 381 382 #define I2C1_BASE (AIPSTZ2_BASE + 0x03fc8000) 383 #define I2C2_BASE (AIPSTZ2_BASE + 0x03fc4000) 384 #define I2C_SIZE 0x4000 385 386 #define AUDMUX_BASE (AIPSTZ2_BASE + 0x03fd0000) 387 #define AUDMUX_SIZE 0x4000 388 #define AUDMUX_PTCR(n) ((n - 1) * 0x8) 389 #define PTCR_TFSDIR (1 << 31) 390 #define PTCR_TFSEL(x) (((x) & 0x7) << 27) 391 #define PTCR_TCLKDIR (1 << 26) 392 #define PTCR_TCSEL(x) (((x) & 0x7) << 22) 393 #define PTCR_RFSDIR (1 << 21) 394 #define PTCR_RFSEL(x) (((x) & 0x7) << 17) 395 #define PTCR_RCLKDIR (1 << 16) 396 #define PTCR_RCSEL(x) (((x) & 0x7) << 12) 397 #define PTCR_SYN (1 << 11) 398 399 #define AUDMUX_PDCR(n) ((n - 1) * 0x8 + 0x4) 400 #define PDCR_RXDSEL(x) (((x) & 0x7) << 13) 401 #define PDCR_TXRXEN (1 << 12) 402 #define PDCR_MODE(x) (((x) & 0x3) << 8) 403 #define PDCR_INMMASK(x) (((x) & 0xff) << 0) 404 #define AUDMUX_CNMCR 0x38 405 406 #define EMI_BASE (AIPSTZ2_BASE + 0x03fd8000) 407 #define EMI_SIZE 0x4000 408 409 #define SIM_BASE (AIPSTZ2_BASE + 0x03fe4000) 410 #define SIM_SIZE 0x4000 411 412 #define FEC_BASE (AIPSTZ2_BASE + 0x03fec000) 413 #define FEC_SIZE 0x4000 414 #define TVE_BASE (AIPSTZ2_BASE + 0x03ff0000) 415 #define TVE_SIZE 0x4000 416 #define VPU_BASE (AIPSTZ2_BASE + 0x03ff4000) 417 #define VPU_SIZE 0x4000 418 #define SAHARA_BASE (AIPSTZ2_BASE + 0x03ff8000) 419 #define SAHARA_SIZE 0x4000 420 421 #define DPLL_BASE(n) ((AIPSTZ2_BASE + 0x03F80000 + (0x4000 * ((n)-1)))) 422 #define DPLL_SIZE 0x4000 423 424 #endif /* _ARM_IMX_IMX51REG_H_ */ 425