1ee708c99SJean-Christophe Dubois /* 2ee708c99SJean-Christophe Dubois * Freescale i.MX25 SoC emulation 3ee708c99SJean-Christophe Dubois * 4ee708c99SJean-Christophe Dubois * Copyright (C) 2015 Jean-Christophe Dubois <jcd@tribudubois.net> 5ee708c99SJean-Christophe Dubois * 6ee708c99SJean-Christophe Dubois * This program is free software; you can redistribute it and/or modify it 7ee708c99SJean-Christophe Dubois * under the terms of the GNU General Public License as published by the 8ee708c99SJean-Christophe Dubois * Free Software Foundation; either version 2 of the License, or 9ee708c99SJean-Christophe Dubois * (at your option) any later version. 10ee708c99SJean-Christophe Dubois * 11ee708c99SJean-Christophe Dubois * This program is distributed in the hope that it will be useful, but WITHOUT 12ee708c99SJean-Christophe Dubois * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 13ee708c99SJean-Christophe Dubois * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 14ee708c99SJean-Christophe Dubois * for more details. 15ee708c99SJean-Christophe Dubois */ 16ee708c99SJean-Christophe Dubois 17ee708c99SJean-Christophe Dubois #ifndef FSL_IMX25_H 18ee708c99SJean-Christophe Dubois #define FSL_IMX25_H 19ee708c99SJean-Christophe Dubois 2012ec8bd5SPeter Maydell #include "hw/arm/boot.h" 21ee708c99SJean-Christophe Dubois #include "hw/intc/imx_avic.h" 2292eccc6eSJean-Christophe Dubois #include "hw/misc/imx25_ccm.h" 23ee708c99SJean-Christophe Dubois #include "hw/char/imx_serial.h" 24ee708c99SJean-Christophe Dubois #include "hw/timer/imx_gpt.h" 25ee708c99SJean-Christophe Dubois #include "hw/timer/imx_epit.h" 26ee708c99SJean-Christophe Dubois #include "hw/net/imx_fec.h" 27f0396549SMartin Kaiser #include "hw/misc/imx_rngc.h" 28ee708c99SJean-Christophe Dubois #include "hw/i2c/imx_i2c.h" 296abc7158SJean-Christophe Dubois #include "hw/gpio/imx_gpio.h" 30bfae1772SGuenter Roeck #include "hw/sd/sdhci.h" 3167f52ebeSGuenter Roeck #include "hw/usb/chipidea.h" 324f0aff00SGuenter Roeck #include "hw/watchdog/wdt_imx2.h" 33ee708c99SJean-Christophe Dubois #include "exec/memory.h" 34ec150c7eSMarkus Armbruster #include "target/arm/cpu.h" 35*db1015e9SEduardo Habkost #include "qom/object.h" 36ee708c99SJean-Christophe Dubois 37ee708c99SJean-Christophe Dubois #define TYPE_FSL_IMX25 "fsl,imx25" 38*db1015e9SEduardo Habkost typedef struct FslIMX25State FslIMX25State; 39ee708c99SJean-Christophe Dubois #define FSL_IMX25(obj) OBJECT_CHECK(FslIMX25State, (obj), TYPE_FSL_IMX25) 40ee708c99SJean-Christophe Dubois 41ee708c99SJean-Christophe Dubois #define FSL_IMX25_NUM_UARTS 5 42ee708c99SJean-Christophe Dubois #define FSL_IMX25_NUM_GPTS 4 43ee708c99SJean-Christophe Dubois #define FSL_IMX25_NUM_EPITS 2 44ee708c99SJean-Christophe Dubois #define FSL_IMX25_NUM_I2CS 3 456abc7158SJean-Christophe Dubois #define FSL_IMX25_NUM_GPIOS 4 46bfae1772SGuenter Roeck #define FSL_IMX25_NUM_ESDHCS 2 4767f52ebeSGuenter Roeck #define FSL_IMX25_NUM_USBS 2 48ee708c99SJean-Christophe Dubois 49*db1015e9SEduardo Habkost struct FslIMX25State { 50ee708c99SJean-Christophe Dubois /*< private >*/ 51ee708c99SJean-Christophe Dubois DeviceState parent_obj; 52ee708c99SJean-Christophe Dubois 53ee708c99SJean-Christophe Dubois /*< public >*/ 54ee708c99SJean-Christophe Dubois ARMCPU cpu; 55ee708c99SJean-Christophe Dubois IMXAVICState avic; 5692eccc6eSJean-Christophe Dubois IMX25CCMState ccm; 57ee708c99SJean-Christophe Dubois IMXSerialState uart[FSL_IMX25_NUM_UARTS]; 58ee708c99SJean-Christophe Dubois IMXGPTState gpt[FSL_IMX25_NUM_GPTS]; 59ee708c99SJean-Christophe Dubois IMXEPITState epit[FSL_IMX25_NUM_EPITS]; 60ee708c99SJean-Christophe Dubois IMXFECState fec; 61f0396549SMartin Kaiser IMXRNGCState rngc; 62ee708c99SJean-Christophe Dubois IMXI2CState i2c[FSL_IMX25_NUM_I2CS]; 636abc7158SJean-Christophe Dubois IMXGPIOState gpio[FSL_IMX25_NUM_GPIOS]; 64bfae1772SGuenter Roeck SDHCIState esdhc[FSL_IMX25_NUM_ESDHCS]; 6567f52ebeSGuenter Roeck ChipideaState usb[FSL_IMX25_NUM_USBS]; 664f0aff00SGuenter Roeck IMX2WdtState wdt; 67ee708c99SJean-Christophe Dubois MemoryRegion rom[2]; 68ee708c99SJean-Christophe Dubois MemoryRegion iram; 69ee708c99SJean-Christophe Dubois MemoryRegion iram_alias; 7074c13305SJean-Christophe Dubois uint32_t phy_num; 71*db1015e9SEduardo Habkost }; 72ee708c99SJean-Christophe Dubois 73ee708c99SJean-Christophe Dubois /** 74ee708c99SJean-Christophe Dubois * i.MX25 memory map 75ee708c99SJean-Christophe Dubois **************************************************************** 76ee708c99SJean-Christophe Dubois * 0x0000_0000 0x0000_3FFF 16 Kbytes ROM (36 Kbytes) 77ee708c99SJean-Christophe Dubois * 0x0000_4000 0x0040_3FFF 4 Mbytes Reserved 78ee708c99SJean-Christophe Dubois * 0x0040_4000 0x0040_8FFF 20 Kbytes ROM (36 Kbytes) 79ee708c99SJean-Christophe Dubois * 0x0040_9000 0x0FFF_FFFF 252 Mbytes (minus 36 Kbytes) Reserved 80ee708c99SJean-Christophe Dubois * 0x1000_0000 0x1FFF_FFFF 256 Mbytes Reserved 81ee708c99SJean-Christophe Dubois * 0x2000_0000 0x2FFF_FFFF 256 Mbytes Reserved 82ee708c99SJean-Christophe Dubois * 0x3000_0000 0x3FFF_FFFF 256 Mbytes Reserved 83ee708c99SJean-Christophe Dubois * 0x4000_0000 0x43EF_FFFF 63 Mbytes Reserved 84ee708c99SJean-Christophe Dubois * 0x43F0_0000 0x43F0_3FFF 16 Kbytes AIPS A control registers 85ee708c99SJean-Christophe Dubois * 0x43F0_4000 0x43F0_7FFF 16 Kbytes ARM926 platform MAX 86ee708c99SJean-Christophe Dubois * 0x43F0_8000 0x43F0_BFFF 16 Kbytes ARM926 platform CLKCTL 87ee708c99SJean-Christophe Dubois * 0x43F0_C000 0x43F0_FFFF 16 Kbytes ARM926 platform ETB registers 88ee708c99SJean-Christophe Dubois * 0x43F1_0000 0x43F1_3FFF 16 Kbytes ARM926 platform ETB memory 89ee708c99SJean-Christophe Dubois * 0x43F1_4000 0x43F1_7FFF 16 Kbytes ARM926 platform AAPE registers 90ee708c99SJean-Christophe Dubois * 0x43F1_8000 0x43F7_FFFF 416 Kbytes Reserved 91ee708c99SJean-Christophe Dubois * 0x43F8_0000 0x43F8_3FFF 16 Kbytes I2C-1 92ee708c99SJean-Christophe Dubois * 0x43F8_4000 0x43F8_7FFF 16 Kbytes I2C-3 93ee708c99SJean-Christophe Dubois * 0x43F8_8000 0x43F8_BFFF 16 Kbytes CAN-1 94ee708c99SJean-Christophe Dubois * 0x43F8_C000 0x43F8_FFFF 16 Kbytes CAN-2 95ee708c99SJean-Christophe Dubois * 0x43F9_0000 0x43F9_3FFF 16 Kbytes UART-1 96ee708c99SJean-Christophe Dubois * 0x43F9_4000 0x43F9_7FFF 16 Kbytes UART-2 97ee708c99SJean-Christophe Dubois * 0x43F9_8000 0x43F9_BFFF 16 Kbytes I2C-2 98ee708c99SJean-Christophe Dubois * 0x43F9_C000 0x43F9_FFFF 16 Kbytes 1-Wire 99ee708c99SJean-Christophe Dubois * 0x43FA_0000 0x43FA_3FFF 16 Kbytes ATA (CPU side) 100ee708c99SJean-Christophe Dubois * 0x43FA_4000 0x43FA_7FFF 16 Kbytes CSPI-1 101ee708c99SJean-Christophe Dubois * 0x43FA_8000 0x43FA_BFFF 16 Kbytes KPP 102ee708c99SJean-Christophe Dubois * 0x43FA_C000 0x43FA_FFFF 16 Kbytes IOMUXC 103ee708c99SJean-Christophe Dubois * 0x43FB_0000 0x43FB_3FFF 16 Kbytes AUDMUX 104ee708c99SJean-Christophe Dubois * 0x43FB_4000 0x43FB_7FFF 16 Kbytes Reserved 105ee708c99SJean-Christophe Dubois * 0x43FB_8000 0x43FB_BFFF 16 Kbytes ECT (IP BUS A) 106ee708c99SJean-Christophe Dubois * 0x43FB_C000 0x43FB_FFFF 16 Kbytes ECT (IP BUS B) 107ee708c99SJean-Christophe Dubois * 0x43FC_0000 0x43FF_FFFF 256 Kbytes Reserved AIPS A off-platform slots 108ee708c99SJean-Christophe Dubois * 0x4400_0000 0x4FFF_FFFF 192 Mbytes Reserved 109ee708c99SJean-Christophe Dubois * 0x5000_0000 0x5000_3FFF 16 Kbytes SPBA base address 110ee708c99SJean-Christophe Dubois * 0x5000_4000 0x5000_7FFF 16 Kbytes CSPI-3 111ee708c99SJean-Christophe Dubois * 0x5000_8000 0x5000_BFFF 16 Kbytes UART-4 112ee708c99SJean-Christophe Dubois * 0x5000_C000 0x5000_FFFF 16 Kbytes UART-3 113ee708c99SJean-Christophe Dubois * 0x5001_0000 0x5001_3FFF 16 Kbytes CSPI-2 114ee708c99SJean-Christophe Dubois * 0x5001_4000 0x5001_7FFF 16 Kbytes SSI-2 115ee708c99SJean-Christophe Dubois * 0x5001_C000 0x5001_FFFF 16 Kbytes Reserved 116ee708c99SJean-Christophe Dubois * 0x5002_0000 0x5002_3FFF 16 Kbytes ATA 117ee708c99SJean-Christophe Dubois * 0x5002_4000 0x5002_7FFF 16 Kbytes SIM-1 118ee708c99SJean-Christophe Dubois * 0x5002_8000 0x5002_BFFF 16 Kbytes SIM-2 119ee708c99SJean-Christophe Dubois * 0x5002_C000 0x5002_FFFF 16 Kbytes UART-5 120ee708c99SJean-Christophe Dubois * 0x5003_0000 0x5003_3FFF 16 Kbytes TSC 121ee708c99SJean-Christophe Dubois * 0x5003_4000 0x5003_7FFF 16 Kbytes SSI-1 122ee708c99SJean-Christophe Dubois * 0x5003_8000 0x5003_BFFF 16 Kbytes FEC 123ee708c99SJean-Christophe Dubois * 0x5003_C000 0x5003_FFFF 16 Kbytes SPBA registers 124ee708c99SJean-Christophe Dubois * 0x5004_0000 0x51FF_FFFF 32 Mbytes (minus 256 Kbytes) 125ee708c99SJean-Christophe Dubois * 0x5200_0000 0x53EF_FFFF 31 Mbytes Reserved 126ee708c99SJean-Christophe Dubois * 0x53F0_0000 0x53F0_3FFF 16 Kbytes AIPS B control registers 127ee708c99SJean-Christophe Dubois * 0x53F0_4000 0x53F7_FFFF 496 Kbytes Reserved 128ee708c99SJean-Christophe Dubois * 0x53F8_0000 0x53F8_3FFF 16 Kbytes CCM 129ee708c99SJean-Christophe Dubois * 0x53F8_4000 0x53F8_7FFF 16 Kbytes GPT-4 130ee708c99SJean-Christophe Dubois * 0x53F8_8000 0x53F8_BFFF 16 Kbytes GPT-3 131ee708c99SJean-Christophe Dubois * 0x53F8_C000 0x53F8_FFFF 16 Kbytes GPT-2 132ee708c99SJean-Christophe Dubois * 0x53F9_0000 0x53F9_3FFF 16 Kbytes GPT-1 133ee708c99SJean-Christophe Dubois * 0x53F9_4000 0x53F9_7FFF 16 Kbytes EPIT-1 134ee708c99SJean-Christophe Dubois * 0x53F9_8000 0x53F9_BFFF 16 Kbytes EPIT-2 135ee708c99SJean-Christophe Dubois * 0x53F9_C000 0x53F9_FFFF 16 Kbytes GPIO-4 136ee708c99SJean-Christophe Dubois * 0x53FA_0000 0x53FA_3FFF 16 Kbytes PWM-2 137ee708c99SJean-Christophe Dubois * 0x53FA_4000 0x53FA_7FFF 16 Kbytes GPIO-3 138ee708c99SJean-Christophe Dubois * 0x53FA_8000 0x53FA_BFFF 16 Kbytes PWM-3 139ee708c99SJean-Christophe Dubois * 0x53FA_C000 0x53FA_FFFF 16 Kbytes SCC 140ee708c99SJean-Christophe Dubois * 0x53FB_0000 0x53FB_3FFF 16 Kbytes RNGB 141ee708c99SJean-Christophe Dubois * 0x53FB_4000 0x53FB_7FFF 16 Kbytes eSDHC-1 142ee708c99SJean-Christophe Dubois * 0x53FB_8000 0x53FB_BFFF 16 Kbytes eSDHC-2 143ee708c99SJean-Christophe Dubois * 0x53FB_C000 0x53FB_FFFF 16 Kbytes LCDC 144ee708c99SJean-Christophe Dubois * 0x53FC_0000 0x53FC_3FFF 16 Kbytes SLCDC 145ee708c99SJean-Christophe Dubois * 0x53FC_4000 0x53FC_7FFF 16 Kbytes Reserved 146ee708c99SJean-Christophe Dubois * 0x53FC_8000 0x53FC_BFFF 16 Kbytes PWM-4 147ee708c99SJean-Christophe Dubois * 0x53FC_C000 0x53FC_FFFF 16 Kbytes GPIO-1 148ee708c99SJean-Christophe Dubois * 0x53FD_0000 0x53FD_3FFF 16 Kbytes GPIO-2 149ee708c99SJean-Christophe Dubois * 0x53FD_4000 0x53FD_7FFF 16 Kbytes SDMA 150ee708c99SJean-Christophe Dubois * 0x53FD_8000 0x53FD_BFFF 16 Kbytes Reserved 151ee708c99SJean-Christophe Dubois * 0x53FD_C000 0x53FD_FFFF 16 Kbytes WDOG 152ee708c99SJean-Christophe Dubois * 0x53FE_0000 0x53FE_3FFF 16 Kbytes PWM-1 153ee708c99SJean-Christophe Dubois * 0x53FE_4000 0x53FE_7FFF 16 Kbytes Reserved 154ee708c99SJean-Christophe Dubois * 0x53FE_8000 0x53FE_BFFF 16 Kbytes Reserved 155ee708c99SJean-Christophe Dubois * 0x53FE_C000 0x53FE_FFFF 16 Kbytes RTICv3 156ee708c99SJean-Christophe Dubois * 0x53FF_0000 0x53FF_3FFF 16 Kbytes IIM 157ee708c99SJean-Christophe Dubois * 0x53FF_4000 0x53FF_7FFF 16 Kbytes USB 158ee708c99SJean-Christophe Dubois * 0x53FF_8000 0x53FF_BFFF 16 Kbytes CSI 159ee708c99SJean-Christophe Dubois * 0x53FF_C000 0x53FF_FFFF 16 Kbytes DryIce 160ee708c99SJean-Christophe Dubois * 0x5400_0000 0x5FFF_FFFF 192 Mbytes Reserved (aliased AIPS B slots) 161ee708c99SJean-Christophe Dubois * 0x6000_0000 0x67FF_FFFF 128 Mbytes ARM926 platform ROMPATCH 162ee708c99SJean-Christophe Dubois * 0x6800_0000 0x6FFF_FFFF 128 Mbytes ARM926 platform ASIC 163ee708c99SJean-Christophe Dubois * 0x7000_0000 0x77FF_FFFF 128 Mbytes Reserved 164ee708c99SJean-Christophe Dubois * 0x7800_0000 0x7801_FFFF 128 Kbytes RAM 165ee708c99SJean-Christophe Dubois * 0x7802_0000 0x7FFF_FFFF 128 Mbytes (minus 128 Kbytes) 166ee708c99SJean-Christophe Dubois * 0x8000_0000 0x8FFF_FFFF 256 Mbytes SDRAM bank 0 167ee708c99SJean-Christophe Dubois * 0x9000_0000 0x9FFF_FFFF 256 Mbytes SDRAM bank 1 168ee708c99SJean-Christophe Dubois * 0xA000_0000 0xA7FF_FFFF 128 Mbytes WEIM CS0 (flash 128) 1 169ee708c99SJean-Christophe Dubois * 0xA800_0000 0xAFFF_FFFF 128 Mbytes WEIM CS1 (flash 64) 1 170ee708c99SJean-Christophe Dubois * 0xB000_0000 0xB1FF_FFFF 32 Mbytes WEIM CS2 (SRAM) 171ee708c99SJean-Christophe Dubois * 0xB200_0000 0xB3FF_FFFF 32 Mbytes WEIM CS3 (SRAM) 172ee708c99SJean-Christophe Dubois * 0xB400_0000 0xB5FF_FFFF 32 Mbytes WEIM CS4 173ee708c99SJean-Christophe Dubois * 0xB600_0000 0xB7FF_FFFF 32 Mbytes Reserved 174ee708c99SJean-Christophe Dubois * 0xB800_0000 0xB800_0FFF 4 Kbytes Reserved 175ee708c99SJean-Christophe Dubois * 0xB800_1000 0xB800_1FFF 4 Kbytes SDRAM control registers 176ee708c99SJean-Christophe Dubois * 0xB800_2000 0xB800_2FFF 4 Kbytes WEIM control registers 177ee708c99SJean-Christophe Dubois * 0xB800_3000 0xB800_3FFF 4 Kbytes M3IF control registers 178ee708c99SJean-Christophe Dubois * 0xB800_4000 0xB800_4FFF 4 Kbytes EMI control registers 179ee708c99SJean-Christophe Dubois * 0xB800_5000 0xBAFF_FFFF 32 Mbytes (minus 20 Kbytes) 180ee708c99SJean-Christophe Dubois * 0xBB00_0000 0xBB00_0FFF 4 Kbytes NAND flash main area buffer 181ee708c99SJean-Christophe Dubois * 0xBB00_1000 0xBB00_11FF 512 B NAND flash spare area buffer 182ee708c99SJean-Christophe Dubois * 0xBB00_1200 0xBB00_1DFF 3 Kbytes Reserved 183ee708c99SJean-Christophe Dubois * 0xBB00_1E00 0xBB00_1FFF 512 B NAND flash control regisers 184ee708c99SJean-Christophe Dubois * 0xBB01_2000 0xBFFF_FFFF 96 Mbytes (minus 8 Kbytes) Reserved 185ee708c99SJean-Christophe Dubois * 0xC000_0000 0xFFFF_FFFF 1024 Mbytes Reserved 186ee708c99SJean-Christophe Dubois */ 187ee708c99SJean-Christophe Dubois 188ee708c99SJean-Christophe Dubois #define FSL_IMX25_ROM0_ADDR 0x00000000 189ee708c99SJean-Christophe Dubois #define FSL_IMX25_ROM0_SIZE 0x4000 190ee708c99SJean-Christophe Dubois #define FSL_IMX25_ROM1_ADDR 0x00404000 191ee708c99SJean-Christophe Dubois #define FSL_IMX25_ROM1_SIZE 0x4000 192ee708c99SJean-Christophe Dubois #define FSL_IMX25_I2C1_ADDR 0x43F80000 193ee708c99SJean-Christophe Dubois #define FSL_IMX25_I2C1_SIZE 0x4000 194ee708c99SJean-Christophe Dubois #define FSL_IMX25_I2C3_ADDR 0x43F84000 195ee708c99SJean-Christophe Dubois #define FSL_IMX25_I2C3_SIZE 0x4000 196ee708c99SJean-Christophe Dubois #define FSL_IMX25_UART1_ADDR 0x43F90000 197ee708c99SJean-Christophe Dubois #define FSL_IMX25_UART1_SIZE 0x4000 198ee708c99SJean-Christophe Dubois #define FSL_IMX25_UART2_ADDR 0x43F94000 199ee708c99SJean-Christophe Dubois #define FSL_IMX25_UART2_SIZE 0x4000 200ee708c99SJean-Christophe Dubois #define FSL_IMX25_I2C2_ADDR 0x43F98000 201ee708c99SJean-Christophe Dubois #define FSL_IMX25_I2C2_SIZE 0x4000 202ee708c99SJean-Christophe Dubois #define FSL_IMX25_UART4_ADDR 0x50008000 203ee708c99SJean-Christophe Dubois #define FSL_IMX25_UART4_SIZE 0x4000 204ee708c99SJean-Christophe Dubois #define FSL_IMX25_UART3_ADDR 0x5000C000 205ee708c99SJean-Christophe Dubois #define FSL_IMX25_UART3_SIZE 0x4000 206ee708c99SJean-Christophe Dubois #define FSL_IMX25_UART5_ADDR 0x5002C000 207ee708c99SJean-Christophe Dubois #define FSL_IMX25_UART5_SIZE 0x4000 208ee708c99SJean-Christophe Dubois #define FSL_IMX25_FEC_ADDR 0x50038000 209ee708c99SJean-Christophe Dubois #define FSL_IMX25_CCM_ADDR 0x53F80000 210ee708c99SJean-Christophe Dubois #define FSL_IMX25_CCM_SIZE 0x4000 211ee708c99SJean-Christophe Dubois #define FSL_IMX25_GPT4_ADDR 0x53F84000 212ee708c99SJean-Christophe Dubois #define FSL_IMX25_GPT4_SIZE 0x4000 213ee708c99SJean-Christophe Dubois #define FSL_IMX25_GPT3_ADDR 0x53F88000 214ee708c99SJean-Christophe Dubois #define FSL_IMX25_GPT3_SIZE 0x4000 215ee708c99SJean-Christophe Dubois #define FSL_IMX25_GPT2_ADDR 0x53F8C000 216ee708c99SJean-Christophe Dubois #define FSL_IMX25_GPT2_SIZE 0x4000 217ee708c99SJean-Christophe Dubois #define FSL_IMX25_GPT1_ADDR 0x53F90000 218ee708c99SJean-Christophe Dubois #define FSL_IMX25_GPT1_SIZE 0x4000 219ee708c99SJean-Christophe Dubois #define FSL_IMX25_EPIT1_ADDR 0x53F94000 220ee708c99SJean-Christophe Dubois #define FSL_IMX25_EPIT1_SIZE 0x4000 221ee708c99SJean-Christophe Dubois #define FSL_IMX25_EPIT2_ADDR 0x53F98000 222ee708c99SJean-Christophe Dubois #define FSL_IMX25_EPIT2_SIZE 0x4000 2236abc7158SJean-Christophe Dubois #define FSL_IMX25_GPIO4_ADDR 0x53F9C000 2246abc7158SJean-Christophe Dubois #define FSL_IMX25_GPIO4_SIZE 0x4000 2256abc7158SJean-Christophe Dubois #define FSL_IMX25_GPIO3_ADDR 0x53FA4000 2266abc7158SJean-Christophe Dubois #define FSL_IMX25_GPIO3_SIZE 0x4000 227f0396549SMartin Kaiser #define FSL_IMX25_RNGC_ADDR 0x53FB0000 228f0396549SMartin Kaiser #define FSL_IMX25_RNGC_SIZE 0x4000 229bfae1772SGuenter Roeck #define FSL_IMX25_ESDHC1_ADDR 0x53FB4000 230bfae1772SGuenter Roeck #define FSL_IMX25_ESDHC1_SIZE 0x4000 231bfae1772SGuenter Roeck #define FSL_IMX25_ESDHC2_ADDR 0x53FB8000 232bfae1772SGuenter Roeck #define FSL_IMX25_ESDHC2_SIZE 0x4000 2336abc7158SJean-Christophe Dubois #define FSL_IMX25_GPIO1_ADDR 0x53FCC000 2346abc7158SJean-Christophe Dubois #define FSL_IMX25_GPIO1_SIZE 0x4000 2356abc7158SJean-Christophe Dubois #define FSL_IMX25_GPIO2_ADDR 0x53FD0000 2366abc7158SJean-Christophe Dubois #define FSL_IMX25_GPIO2_SIZE 0x4000 2374f0aff00SGuenter Roeck #define FSL_IMX25_WDT_ADDR 0x53FDC000 2384f0aff00SGuenter Roeck #define FSL_IMX25_WDT_SIZE 0x4000 23967f52ebeSGuenter Roeck #define FSL_IMX25_USB1_ADDR 0x53FF4000 24067f52ebeSGuenter Roeck #define FSL_IMX25_USB1_SIZE 0x0200 24167f52ebeSGuenter Roeck #define FSL_IMX25_USB2_ADDR 0x53FF4400 24267f52ebeSGuenter Roeck #define FSL_IMX25_USB2_SIZE 0x0200 243ee708c99SJean-Christophe Dubois #define FSL_IMX25_AVIC_ADDR 0x68000000 244ee708c99SJean-Christophe Dubois #define FSL_IMX25_AVIC_SIZE 0x4000 245ee708c99SJean-Christophe Dubois #define FSL_IMX25_IRAM_ADDR 0x78000000 246ee708c99SJean-Christophe Dubois #define FSL_IMX25_IRAM_SIZE 0x20000 247ee708c99SJean-Christophe Dubois #define FSL_IMX25_IRAM_ALIAS_ADDR 0x78020000 248ee708c99SJean-Christophe Dubois #define FSL_IMX25_IRAM_ALIAS_SIZE 0x7FE0000 249ee708c99SJean-Christophe Dubois #define FSL_IMX25_SDRAM0_ADDR 0x80000000 250ee708c99SJean-Christophe Dubois #define FSL_IMX25_SDRAM0_SIZE 0x10000000 251ee708c99SJean-Christophe Dubois #define FSL_IMX25_SDRAM1_ADDR 0x90000000 252ee708c99SJean-Christophe Dubois #define FSL_IMX25_SDRAM1_SIZE 0x10000000 253ee708c99SJean-Christophe Dubois 254ee708c99SJean-Christophe Dubois #define FSL_IMX25_UART1_IRQ 45 255ee708c99SJean-Christophe Dubois #define FSL_IMX25_UART2_IRQ 32 256ee708c99SJean-Christophe Dubois #define FSL_IMX25_UART3_IRQ 18 257ee708c99SJean-Christophe Dubois #define FSL_IMX25_UART4_IRQ 5 258ee708c99SJean-Christophe Dubois #define FSL_IMX25_UART5_IRQ 40 259ee708c99SJean-Christophe Dubois #define FSL_IMX25_GPT1_IRQ 54 260ee708c99SJean-Christophe Dubois #define FSL_IMX25_GPT2_IRQ 53 261ee708c99SJean-Christophe Dubois #define FSL_IMX25_GPT3_IRQ 29 262ee708c99SJean-Christophe Dubois #define FSL_IMX25_GPT4_IRQ 1 263ee708c99SJean-Christophe Dubois #define FSL_IMX25_EPIT1_IRQ 28 264ee708c99SJean-Christophe Dubois #define FSL_IMX25_EPIT2_IRQ 27 265ee708c99SJean-Christophe Dubois #define FSL_IMX25_FEC_IRQ 57 266f0396549SMartin Kaiser #define FSL_IMX25_RNGC_IRQ 22 267ee708c99SJean-Christophe Dubois #define FSL_IMX25_I2C1_IRQ 3 268ee708c99SJean-Christophe Dubois #define FSL_IMX25_I2C2_IRQ 4 269ee708c99SJean-Christophe Dubois #define FSL_IMX25_I2C3_IRQ 10 2706abc7158SJean-Christophe Dubois #define FSL_IMX25_GPIO1_IRQ 52 2716abc7158SJean-Christophe Dubois #define FSL_IMX25_GPIO2_IRQ 51 2726abc7158SJean-Christophe Dubois #define FSL_IMX25_GPIO3_IRQ 16 2736abc7158SJean-Christophe Dubois #define FSL_IMX25_GPIO4_IRQ 23 274bfae1772SGuenter Roeck #define FSL_IMX25_ESDHC1_IRQ 9 275bfae1772SGuenter Roeck #define FSL_IMX25_ESDHC2_IRQ 8 27667f52ebeSGuenter Roeck #define FSL_IMX25_USB1_IRQ 37 27767f52ebeSGuenter Roeck #define FSL_IMX25_USB2_IRQ 35 2784f0aff00SGuenter Roeck #define FSL_IMX25_WDT_IRQ 55 279ee708c99SJean-Christophe Dubois 280ee708c99SJean-Christophe Dubois #endif /* FSL_IMX25_H */ 281