1*83d290c5STom Rini /* SPDX-License-Identifier: GPL-2.0+ */ 22a61eff6SStefan Roese /* 32a61eff6SStefan Roese * (C) Copyright 2008 Stefan Roese <sr@denx.de>, DENX Software Engineering 42a61eff6SStefan Roese * 52a61eff6SStefan Roese * Copyright (C) 2006 Micronas GmbH 62a61eff6SStefan Roese */ 72a61eff6SStefan Roese 82a61eff6SStefan Roese #ifndef _REG_EBI_PLATINUMAVC_H_ 92a61eff6SStefan Roese #define _REG_EBI_PLATINUMAVC_H_ 102a61eff6SStefan Roese 112a61eff6SStefan Roese #define EBI_BASE 0x00014000 122a61eff6SStefan Roese 132a61eff6SStefan Roese /* Relative offsets of the register adresses */ 142a61eff6SStefan Roese 152a61eff6SStefan Roese #define EBI_CPU_IO_ACCS_OFFS 0x00000000 162a61eff6SStefan Roese #define EBI_CPU_IO_ACCS(base) ((base) + EBI_CPU_IO_ACCS_OFFS) 172a61eff6SStefan Roese #define EBI_IO_ACCS_DATA_OFFS 0x00000004 182a61eff6SStefan Roese #define EBI_IO_ACCS_DATA(base) ((base) + EBI_IO_ACCS_DATA_OFFS) 192a61eff6SStefan Roese #define EBI_CPU_IO_ACCS2_OFFS 0x00000008 202a61eff6SStefan Roese #define EBI_CPU_IO_ACCS2(base) ((base) + EBI_CPU_IO_ACCS2_OFFS) 212a61eff6SStefan Roese #define EBI_IO_ACCS2_DATA_OFFS 0x0000000C 222a61eff6SStefan Roese #define EBI_IO_ACCS2_DATA(base) ((base) + EBI_IO_ACCS2_DATA_OFFS) 232a61eff6SStefan Roese #define EBI_CTRL_OFFS 0x00000010 242a61eff6SStefan Roese #define EBI_CTRL(base) ((base) + EBI_CTRL_OFFS) 252a61eff6SStefan Roese #define EBI_IRQ_MASK_OFFS 0x00000018 262a61eff6SStefan Roese #define EBI_IRQ_MASK(base) ((base) + EBI_IRQ_MASK_OFFS) 272a61eff6SStefan Roese #define EBI_IRQ_MASK2_OFFS 0x0000001C 282a61eff6SStefan Roese #define EBI_IRQ_MASK2(base) ((base) + EBI_IRQ_MASK2_OFFS) 292a61eff6SStefan Roese #define EBI_TAG1_SYS_ID_OFFS 0x00000030 302a61eff6SStefan Roese #define EBI_TAG1_SYS_ID(base) ((base) + EBI_TAG1_SYS_ID_OFFS) 312a61eff6SStefan Roese #define EBI_TAG2_SYS_ID_OFFS 0x00000040 322a61eff6SStefan Roese #define EBI_TAG2_SYS_ID(base) ((base) + EBI_TAG2_SYS_ID_OFFS) 332a61eff6SStefan Roese #define EBI_TAG3_SYS_ID_OFFS 0x00000050 342a61eff6SStefan Roese #define EBI_TAG3_SYS_ID(base) ((base) + EBI_TAG3_SYS_ID_OFFS) 352a61eff6SStefan Roese #define EBI_TAG4_SYS_ID_OFFS 0x00000060 362a61eff6SStefan Roese #define EBI_TAG4_SYS_ID(base) ((base) + EBI_TAG4_SYS_ID_OFFS) 372a61eff6SStefan Roese #define EBI_GEN_DMA_CTRL_OFFS 0x00000070 382a61eff6SStefan Roese #define EBI_GEN_DMA_CTRL(base) ((base) + EBI_GEN_DMA_CTRL_OFFS) 392a61eff6SStefan Roese #define EBI_STATUS_OFFS 0x00000080 402a61eff6SStefan Roese #define EBI_STATUS(base) ((base) + EBI_STATUS_OFFS) 412a61eff6SStefan Roese #define EBI_STATUS_DMA_CNT_OFFS 0x00000084 422a61eff6SStefan Roese #define EBI_STATUS_DMA_CNT(base) ((base) + EBI_STATUS_DMA_CNT_OFFS) 432a61eff6SStefan Roese #define EBI_SIG_LEVEL_OFFS 0x00000088 442a61eff6SStefan Roese #define EBI_SIG_LEVEL(base) ((base) + EBI_SIG_LEVEL_OFFS) 452a61eff6SStefan Roese #define EBI_CTRL_SIG_ACTLV_OFFS 0x0000008C 462a61eff6SStefan Roese #define EBI_CTRL_SIG_ACTLV(base) ((base) + EBI_CTRL_SIG_ACTLV_OFFS) 472a61eff6SStefan Roese #define EBI_CRC_GEN_OFFS 0x00000090 482a61eff6SStefan Roese #define EBI_CRC_GEN(base) ((base) + EBI_CRC_GEN_OFFS) 492a61eff6SStefan Roese #define EBI_EXT_ADDR_OFFS 0x000000A0 502a61eff6SStefan Roese #define EBI_EXT_ADDR(base) ((base) + EBI_EXT_ADDR_OFFS) 512a61eff6SStefan Roese #define EBI_IRQ_STATUS_OFFS 0x000000B0 522a61eff6SStefan Roese #define EBI_IRQ_STATUS(base) ((base) + EBI_IRQ_STATUS_OFFS) 532a61eff6SStefan Roese #define EBI_IRQ_STATUS2_OFFS 0x000000B4 542a61eff6SStefan Roese #define EBI_IRQ_STATUS2(base) ((base) + EBI_IRQ_STATUS2_OFFS) 552a61eff6SStefan Roese #define EBI_EXT_MASTER_SRAM_HIGH_OFFS 0x000000C0 562a61eff6SStefan Roese #define EBI_EXT_MASTER_SRAM_HIGH(base) ((base) + EBI_EXT_MASTER_SRAM_HIGH_OFFS) 572a61eff6SStefan Roese #define EBI_EXT_MASTER_SRAM_LOW_OFFS 0x000000C4 582a61eff6SStefan Roese #define EBI_EXT_MASTER_SRAM_LOW(base) ((base) + EBI_EXT_MASTER_SRAM_LOW_OFFS) 592a61eff6SStefan Roese #define EBI_ECC0_OFFS 0x000000D0 602a61eff6SStefan Roese #define EBI_ECC0(base) ((base) + EBI_ECC0_OFFS) 612a61eff6SStefan Roese #define EBI_ECC1_OFFS 0x000000D4 622a61eff6SStefan Roese #define EBI_ECC1(base) ((base) + EBI_ECC1_OFFS) 632a61eff6SStefan Roese #define EBI_ECC2_OFFS 0x000000D8 642a61eff6SStefan Roese #define EBI_ECC2(base) ((base) + EBI_ECC2_OFFS) 652a61eff6SStefan Roese #define EBI_ECC3_OFFS 0x000000DC 662a61eff6SStefan Roese #define EBI_ECC3(base) ((base) + EBI_ECC3_OFFS) 672a61eff6SStefan Roese #define EBI_DEV1_DMA_EXT_ADDR_OFFS 0x00000100 682a61eff6SStefan Roese #define EBI_DEV1_DMA_EXT_ADDR(base) ((base) + EBI_DEV1_DMA_EXT_ADDR_OFFS) 692a61eff6SStefan Roese #define EBI_DEV1_EXT_ACC_OFFS 0x00000104 702a61eff6SStefan Roese #define EBI_DEV1_EXT_ACC(base) ((base) + EBI_DEV1_EXT_ACC_OFFS) 712a61eff6SStefan Roese #define EBI_DEV1_CONFIG1_OFFS 0x00000108 722a61eff6SStefan Roese #define EBI_DEV1_CONFIG1(base) ((base) + EBI_DEV1_CONFIG1_OFFS) 732a61eff6SStefan Roese #define EBI_DEV1_CONFIG2_OFFS 0x0000010C 742a61eff6SStefan Roese #define EBI_DEV1_CONFIG2(base) ((base) + EBI_DEV1_CONFIG2_OFFS) 752a61eff6SStefan Roese #define EBI_DEV1_FIFO_CONFIG_OFFS 0x00000110 762a61eff6SStefan Roese #define EBI_DEV1_FIFO_CONFIG(base) ((base) + EBI_DEV1_FIFO_CONFIG_OFFS) 772a61eff6SStefan Roese #define EBI_DEV1_FLASH_CONF_ST_OFFS 0x00000114 782a61eff6SStefan Roese #define EBI_DEV1_FLASH_CONF_ST(base) ((base) + EBI_DEV1_FLASH_CONF_ST_OFFS) 792a61eff6SStefan Roese #define EBI_DEV1_DMA_CONFIG1_OFFS 0x00000118 802a61eff6SStefan Roese #define EBI_DEV1_DMA_CONFIG1(base) ((base) + EBI_DEV1_DMA_CONFIG1_OFFS) 812a61eff6SStefan Roese #define EBI_DEV1_DMA_CONFIG2_OFFS 0x0000011C 822a61eff6SStefan Roese #define EBI_DEV1_DMA_CONFIG2(base) ((base) + EBI_DEV1_DMA_CONFIG2_OFFS) 832a61eff6SStefan Roese #define EBI_DEV1_DMA_ECC_CTRL_OFFS 0x00000120 842a61eff6SStefan Roese #define EBI_DEV1_DMA_ECC_CTRL(base) ((base) + EBI_DEV1_DMA_ECC_CTRL_OFFS) 852a61eff6SStefan Roese #define EBI_DEV1_TIM1_RD1_OFFS 0x00000124 862a61eff6SStefan Roese #define EBI_DEV1_TIM1_RD1(base) ((base) + EBI_DEV1_TIM1_RD1_OFFS) 872a61eff6SStefan Roese #define EBI_DEV1_TIM1_RD2_OFFS 0x00000128 882a61eff6SStefan Roese #define EBI_DEV1_TIM1_RD2(base) ((base) + EBI_DEV1_TIM1_RD2_OFFS) 892a61eff6SStefan Roese #define EBI_DEV1_TIM1_WR1_OFFS 0x0000012C 902a61eff6SStefan Roese #define EBI_DEV1_TIM1_WR1(base) ((base) + EBI_DEV1_TIM1_WR1_OFFS) 912a61eff6SStefan Roese #define EBI_DEV1_TIM1_WR2_OFFS 0x00000130 922a61eff6SStefan Roese #define EBI_DEV1_TIM1_WR2(base) ((base) + EBI_DEV1_TIM1_WR2_OFFS) 932a61eff6SStefan Roese #define EBI_DEV1_TIM_EXT_OFFS 0x00000134 942a61eff6SStefan Roese #define EBI_DEV1_TIM_EXT(base) ((base) + EBI_DEV1_TIM_EXT_OFFS) 952a61eff6SStefan Roese #define EBI_DEV1_TIM2_CFI_RD1_OFFS 0x00000138 962a61eff6SStefan Roese #define EBI_DEV1_TIM2_CFI_RD1(base) ((base) + EBI_DEV1_TIM2_CFI_RD1_OFFS) 972a61eff6SStefan Roese #define EBI_DEV1_TIM2_CFI_RD2_OFFS 0x0000013C 982a61eff6SStefan Roese #define EBI_DEV1_TIM2_CFI_RD2(base) ((base) + EBI_DEV1_TIM2_CFI_RD2_OFFS) 992a61eff6SStefan Roese #define EBI_DEV1_TIM3_DMA1_OFFS 0x00000140 1002a61eff6SStefan Roese #define EBI_DEV1_TIM3_DMA1(base) ((base) + EBI_DEV1_TIM3_DMA1_OFFS) 1012a61eff6SStefan Roese #define EBI_DEV1_TIM3_DMA2_OFFS 0x00000144 1022a61eff6SStefan Roese #define EBI_DEV1_TIM3_DMA2(base) ((base) + EBI_DEV1_TIM3_DMA2_OFFS) 1032a61eff6SStefan Roese #define EBI_DEV1_TIM4_UDMA1_OFFS 0x00000148 1042a61eff6SStefan Roese #define EBI_DEV1_TIM4_UDMA1(base) ((base) + EBI_DEV1_TIM4_UDMA1_OFFS) 1052a61eff6SStefan Roese #define EBI_DEV1_TIM4_UDMA2_OFFS 0x0000014C 1062a61eff6SStefan Roese #define EBI_DEV1_TIM4_UDMA2(base) ((base) + EBI_DEV1_TIM4_UDMA2_OFFS) 1072a61eff6SStefan Roese #define EBI_DEV1_ACK_RM_CNT_OFFS 0x00000150 1082a61eff6SStefan Roese #define EBI_DEV1_ACK_RM_CNT(base) ((base) + EBI_DEV1_ACK_RM_CNT_OFFS) 1092a61eff6SStefan Roese #define EBI_DEV2_DMA_EXT_ADDR_OFFS 0x00000200 1102a61eff6SStefan Roese #define EBI_DEV2_DMA_EXT_ADDR(base) ((base) + EBI_DEV2_DMA_EXT_ADDR_OFFS) 1112a61eff6SStefan Roese #define EBI_DEV2_EXT_ACC_OFFS 0x00000204 1122a61eff6SStefan Roese #define EBI_DEV2_EXT_ACC(base) ((base) + EBI_DEV2_EXT_ACC_OFFS) 1132a61eff6SStefan Roese #define EBI_DEV2_CONFIG1_OFFS 0x00000208 1142a61eff6SStefan Roese #define EBI_DEV2_CONFIG1(base) ((base) + EBI_DEV2_CONFIG1_OFFS) 1152a61eff6SStefan Roese #define EBI_DEV2_CONFIG2_OFFS 0x0000020C 1162a61eff6SStefan Roese #define EBI_DEV2_CONFIG2(base) ((base) + EBI_DEV2_CONFIG2_OFFS) 1172a61eff6SStefan Roese #define EBI_DEV2_FIFO_CONFIG_OFFS 0x00000210 1182a61eff6SStefan Roese #define EBI_DEV2_FIFO_CONFIG(base) ((base) + EBI_DEV2_FIFO_CONFIG_OFFS) 1192a61eff6SStefan Roese #define EBI_DEV2_FLASH_CONF_ST_OFFS 0x00000214 1202a61eff6SStefan Roese #define EBI_DEV2_FLASH_CONF_ST(base) ((base) + EBI_DEV2_FLASH_CONF_ST_OFFS) 1212a61eff6SStefan Roese #define EBI_DEV2_DMA_CONFIG1_OFFS 0x00000218 1222a61eff6SStefan Roese #define EBI_DEV2_DMA_CONFIG1(base) ((base) + EBI_DEV2_DMA_CONFIG1_OFFS) 1232a61eff6SStefan Roese #define EBI_DEV2_DMA_CONFIG2_OFFS 0x0000021C 1242a61eff6SStefan Roese #define EBI_DEV2_DMA_CONFIG2(base) ((base) + EBI_DEV2_DMA_CONFIG2_OFFS) 1252a61eff6SStefan Roese #define EBI_DEV2_DMA_ECC_CTRL_OFFS 0x00000220 1262a61eff6SStefan Roese #define EBI_DEV2_DMA_ECC_CTRL(base) ((base) + EBI_DEV2_DMA_ECC_CTRL_OFFS) 1272a61eff6SStefan Roese #define EBI_DEV2_TIM1_RD1_OFFS 0x00000224 1282a61eff6SStefan Roese #define EBI_DEV2_TIM1_RD1(base) ((base) + EBI_DEV2_TIM1_RD1_OFFS) 1292a61eff6SStefan Roese #define EBI_DEV2_TIM1_RD2_OFFS 0x00000228 1302a61eff6SStefan Roese #define EBI_DEV2_TIM1_RD2(base) ((base) + EBI_DEV2_TIM1_RD2_OFFS) 1312a61eff6SStefan Roese #define EBI_DEV2_TIM1_WR1_OFFS 0x0000022C 1322a61eff6SStefan Roese #define EBI_DEV2_TIM1_WR1(base) ((base) + EBI_DEV2_TIM1_WR1_OFFS) 1332a61eff6SStefan Roese #define EBI_DEV2_TIM1_WR2_OFFS 0x00000230 1342a61eff6SStefan Roese #define EBI_DEV2_TIM1_WR2(base) ((base) + EBI_DEV2_TIM1_WR2_OFFS) 1352a61eff6SStefan Roese #define EBI_DEV2_TIM_EXT_OFFS 0x00000234 1362a61eff6SStefan Roese #define EBI_DEV2_TIM_EXT(base) ((base) + EBI_DEV2_TIM_EXT_OFFS) 1372a61eff6SStefan Roese #define EBI_DEV2_TIM2_CFI_RD1_OFFS 0x00000238 1382a61eff6SStefan Roese #define EBI_DEV2_TIM2_CFI_RD1(base) ((base) + EBI_DEV2_TIM2_CFI_RD1_OFFS) 1392a61eff6SStefan Roese #define EBI_DEV2_TIM2_CFI_RD2_OFFS 0x0000023C 1402a61eff6SStefan Roese #define EBI_DEV2_TIM2_CFI_RD2(base) ((base) + EBI_DEV2_TIM2_CFI_RD2_OFFS) 1412a61eff6SStefan Roese #define EBI_DEV2_TIM3_DMA1_OFFS 0x00000240 1422a61eff6SStefan Roese #define EBI_DEV2_TIM3_DMA1(base) ((base) + EBI_DEV2_TIM3_DMA1_OFFS) 1432a61eff6SStefan Roese #define EBI_DEV2_TIM3_DMA2_OFFS 0x00000244 1442a61eff6SStefan Roese #define EBI_DEV2_TIM3_DMA2(base) ((base) + EBI_DEV2_TIM3_DMA2_OFFS) 1452a61eff6SStefan Roese #define EBI_DEV2_TIM4_UDMA1_OFFS 0x00000248 1462a61eff6SStefan Roese #define EBI_DEV2_TIM4_UDMA1(base) ((base) + EBI_DEV2_TIM4_UDMA1_OFFS) 1472a61eff6SStefan Roese #define EBI_DEV2_TIM4_UDMA2_OFFS 0x0000024C 1482a61eff6SStefan Roese #define EBI_DEV2_TIM4_UDMA2(base) ((base) + EBI_DEV2_TIM4_UDMA2_OFFS) 1492a61eff6SStefan Roese #define EBI_DEV2_ACK_RM_CNT_OFFS 0x00000250 1502a61eff6SStefan Roese #define EBI_DEV2_ACK_RM_CNT(base) ((base) + EBI_DEV2_ACK_RM_CNT_OFFS) 1512a61eff6SStefan Roese #define EBI_DEV3_DMA_EXT_ADDR_OFFS 0x00000300 1522a61eff6SStefan Roese #define EBI_DEV3_DMA_EXT_ADDR(base) ((base) + EBI_DEV3_DMA_EXT_ADDR_OFFS) 1532a61eff6SStefan Roese #define EBI_DEV3_EXT_ACC_OFFS 0x00000304 1542a61eff6SStefan Roese #define EBI_DEV3_EXT_ACC(base) ((base) + EBI_DEV3_EXT_ACC_OFFS) 1552a61eff6SStefan Roese #define EBI_DEV3_CONFIG1_OFFS 0x00000308 1562a61eff6SStefan Roese #define EBI_DEV3_CONFIG1(base) ((base) + EBI_DEV3_CONFIG1_OFFS) 1572a61eff6SStefan Roese #define EBI_DEV3_CONFIG2_OFFS 0x0000030C 1582a61eff6SStefan Roese #define EBI_DEV3_CONFIG2(base) ((base) + EBI_DEV3_CONFIG2_OFFS) 1592a61eff6SStefan Roese #define EBI_DEV3_FIFO_CONFIG_OFFS 0x00000310 1602a61eff6SStefan Roese #define EBI_DEV3_FIFO_CONFIG(base) ((base) + EBI_DEV3_FIFO_CONFIG_OFFS) 1612a61eff6SStefan Roese #define EBI_DEV3_FLASH_CONF_ST_OFFS 0x00000314 1622a61eff6SStefan Roese #define EBI_DEV3_FLASH_CONF_ST(base) ((base) + EBI_DEV3_FLASH_CONF_ST_OFFS) 1632a61eff6SStefan Roese #define EBI_DEV3_DMA_CONFIG1_OFFS 0x00000318 1642a61eff6SStefan Roese #define EBI_DEV3_DMA_CONFIG1(base) ((base) + EBI_DEV3_DMA_CONFIG1_OFFS) 1652a61eff6SStefan Roese #define EBI_DEV3_DMA_CONFIG2_OFFS 0x0000031C 1662a61eff6SStefan Roese #define EBI_DEV3_DMA_CONFIG2(base) ((base) + EBI_DEV3_DMA_CONFIG2_OFFS) 1672a61eff6SStefan Roese #define EBI_DEV3_DMA_ECC_CTRL_OFFS 0x00000320 1682a61eff6SStefan Roese #define EBI_DEV3_DMA_ECC_CTRL(base) ((base) + EBI_DEV3_DMA_ECC_CTRL_OFFS) 1692a61eff6SStefan Roese #define EBI_DEV3_TIM1_RD1_OFFS 0x00000324 1702a61eff6SStefan Roese #define EBI_DEV3_TIM1_RD1(base) ((base) + EBI_DEV3_TIM1_RD1_OFFS) 1712a61eff6SStefan Roese #define EBI_DEV3_TIM1_RD2_OFFS 0x00000328 1722a61eff6SStefan Roese #define EBI_DEV3_TIM1_RD2(base) ((base) + EBI_DEV3_TIM1_RD2_OFFS) 1732a61eff6SStefan Roese #define EBI_DEV3_TIM1_WR1_OFFS 0x0000032C 1742a61eff6SStefan Roese #define EBI_DEV3_TIM1_WR1(base) ((base) + EBI_DEV3_TIM1_WR1_OFFS) 1752a61eff6SStefan Roese #define EBI_DEV3_TIM1_WR2_OFFS 0x00000330 1762a61eff6SStefan Roese #define EBI_DEV3_TIM1_WR2(base) ((base) + EBI_DEV3_TIM1_WR2_OFFS) 1772a61eff6SStefan Roese #define EBI_DEV3_TIM_EXT_OFFS 0x00000334 1782a61eff6SStefan Roese #define EBI_DEV3_TIM_EXT(base) ((base) + EBI_DEV3_TIM_EXT_OFFS) 1792a61eff6SStefan Roese #define EBI_DEV3_TIM2_CFI_RD1_OFFS 0x00000338 1802a61eff6SStefan Roese #define EBI_DEV3_TIM2_CFI_RD1(base) ((base) + EBI_DEV3_TIM2_CFI_RD1_OFFS) 1812a61eff6SStefan Roese #define EBI_DEV3_TIM2_CFI_RD2_OFFS 0x0000033C 1822a61eff6SStefan Roese #define EBI_DEV3_TIM2_CFI_RD2(base) ((base) + EBI_DEV3_TIM2_CFI_RD2_OFFS) 1832a61eff6SStefan Roese #define EBI_DEV3_TIM3_DMA1_OFFS 0x00000340 1842a61eff6SStefan Roese #define EBI_DEV3_TIM3_DMA1(base) ((base) + EBI_DEV3_TIM3_DMA1_OFFS) 1852a61eff6SStefan Roese #define EBI_DEV3_TIM3_DMA2_OFFS 0x00000344 1862a61eff6SStefan Roese #define EBI_DEV3_TIM3_DMA2(base) ((base) + EBI_DEV3_TIM3_DMA2_OFFS) 1872a61eff6SStefan Roese #define EBI_DEV3_TIM4_UDMA1_OFFS 0x00000348 1882a61eff6SStefan Roese #define EBI_DEV3_TIM4_UDMA1(base) ((base) + EBI_DEV3_TIM4_UDMA1_OFFS) 1892a61eff6SStefan Roese #define EBI_DEV3_TIM4_UDMA2_OFFS 0x0000034C 1902a61eff6SStefan Roese #define EBI_DEV3_TIM4_UDMA2(base) ((base) + EBI_DEV3_TIM4_UDMA2_OFFS) 1912a61eff6SStefan Roese #define EBI_DEV3_ACK_RM_CNT_OFFS 0x00000350 1922a61eff6SStefan Roese #define EBI_DEV3_ACK_RM_CNT(base) ((base) + EBI_DEV3_ACK_RM_CNT_OFFS) 1932a61eff6SStefan Roese #define EBI_DEV4_DMA_EXT_ADDR_OFFS 0x00000400 1942a61eff6SStefan Roese #define EBI_DEV4_DMA_EXT_ADDR(base) ((base) + EBI_DEV4_DMA_EXT_ADDR_OFFS) 1952a61eff6SStefan Roese #define EBI_DEV4_EXT_ACC_OFFS 0x00000404 1962a61eff6SStefan Roese #define EBI_DEV4_EXT_ACC(base) ((base) + EBI_DEV4_EXT_ACC_OFFS) 1972a61eff6SStefan Roese #define EBI_DEV4_CONFIG1_OFFS 0x00000408 1982a61eff6SStefan Roese #define EBI_DEV4_CONFIG1(base) ((base) + EBI_DEV4_CONFIG1_OFFS) 1992a61eff6SStefan Roese #define EBI_DEV4_CONFIG2_OFFS 0x0000040C 2002a61eff6SStefan Roese #define EBI_DEV4_CONFIG2(base) ((base) + EBI_DEV4_CONFIG2_OFFS) 2012a61eff6SStefan Roese #define EBI_DEV4_FIFO_CONFIG_OFFS 0x00000410 2022a61eff6SStefan Roese #define EBI_DEV4_FIFO_CONFIG(base) ((base) + EBI_DEV4_FIFO_CONFIG_OFFS) 2032a61eff6SStefan Roese #define EBI_DEV4_FLASH_CONF_ST_OFFS 0x00000414 2042a61eff6SStefan Roese #define EBI_DEV4_FLASH_CONF_ST(base) ((base) + EBI_DEV4_FLASH_CONF_ST_OFFS) 2052a61eff6SStefan Roese #define EBI_DEV4_DMA_CONFIG1_OFFS 0x00000418 2062a61eff6SStefan Roese #define EBI_DEV4_DMA_CONFIG1(base) ((base) + EBI_DEV4_DMA_CONFIG1_OFFS) 2072a61eff6SStefan Roese #define EBI_DEV4_DMA_CONFIG2_OFFS 0x0000041C 2082a61eff6SStefan Roese #define EBI_DEV4_DMA_CONFIG2(base) ((base) + EBI_DEV4_DMA_CONFIG2_OFFS) 2092a61eff6SStefan Roese #define EBI_DEV4_DMA_ECC_CTRL_OFFS 0x00000420 2102a61eff6SStefan Roese #define EBI_DEV4_DMA_ECC_CTRL(base) ((base) + EBI_DEV4_DMA_ECC_CTRL_OFFS) 2112a61eff6SStefan Roese #define EBI_DEV4_TIM1_RD1_OFFS 0x00000424 2122a61eff6SStefan Roese #define EBI_DEV4_TIM1_RD1(base) ((base) + EBI_DEV4_TIM1_RD1_OFFS) 2132a61eff6SStefan Roese #define EBI_DEV4_TIM1_RD2_OFFS 0x00000428 2142a61eff6SStefan Roese #define EBI_DEV4_TIM1_RD2(base) ((base) + EBI_DEV4_TIM1_RD2_OFFS) 2152a61eff6SStefan Roese #define EBI_DEV4_TIM1_WR1_OFFS 0x0000042C 2162a61eff6SStefan Roese #define EBI_DEV4_TIM1_WR1(base) ((base) + EBI_DEV4_TIM1_WR1_OFFS) 2172a61eff6SStefan Roese #define EBI_DEV4_TIM1_WR2_OFFS 0x00000430 2182a61eff6SStefan Roese #define EBI_DEV4_TIM1_WR2(base) ((base) + EBI_DEV4_TIM1_WR2_OFFS) 2192a61eff6SStefan Roese #define EBI_DEV4_TIM_EXT_OFFS 0x00000434 2202a61eff6SStefan Roese #define EBI_DEV4_TIM_EXT(base) ((base) + EBI_DEV4_TIM_EXT_OFFS) 2212a61eff6SStefan Roese #define EBI_DEV4_TIM2_CFI_RD1_OFFS 0x00000438 2222a61eff6SStefan Roese #define EBI_DEV4_TIM2_CFI_RD1(base) ((base) + EBI_DEV4_TIM2_CFI_RD1_OFFS) 2232a61eff6SStefan Roese #define EBI_DEV4_TIM2_CFI_RD2_OFFS 0x0000043C 2242a61eff6SStefan Roese #define EBI_DEV4_TIM2_CFI_RD2(base) ((base) + EBI_DEV4_TIM2_CFI_RD2_OFFS) 2252a61eff6SStefan Roese #define EBI_DEV4_TIM3_DMA1_OFFS 0x00000440 2262a61eff6SStefan Roese #define EBI_DEV4_TIM3_DMA1(base) ((base) + EBI_DEV4_TIM3_DMA1_OFFS) 2272a61eff6SStefan Roese #define EBI_DEV4_TIM3_DMA2_OFFS 0x00000444 2282a61eff6SStefan Roese #define EBI_DEV4_TIM3_DMA2(base) ((base) + EBI_DEV4_TIM3_DMA2_OFFS) 2292a61eff6SStefan Roese #define EBI_DEV4_TIM4_UDMA1_OFFS 0x00000448 2302a61eff6SStefan Roese #define EBI_DEV4_TIM4_UDMA1(base) ((base) + EBI_DEV4_TIM4_UDMA1_OFFS) 2312a61eff6SStefan Roese #define EBI_DEV4_TIM4_UDMA2_OFFS 0x0000044C 2322a61eff6SStefan Roese #define EBI_DEV4_TIM4_UDMA2(base) ((base) + EBI_DEV4_TIM4_UDMA2_OFFS) 2332a61eff6SStefan Roese #define EBI_DEV4_ACK_RM_CNT_OFFS 0x00000450 2342a61eff6SStefan Roese #define EBI_DEV4_ACK_RM_CNT(base) ((base) + EBI_DEV4_ACK_RM_CNT_OFFS) 2352a61eff6SStefan Roese #define EBI_INTERLEAVE_CNT_OFFS 0x00000900 2362a61eff6SStefan Roese #define EBI_INTERLEAVE_CNT(base) ((base) + EBI_INTERLEAVE_CNT_OFFS) 2372a61eff6SStefan Roese #define EBI_CNT_FL_PROGR_OFFS 0x00000904 2382a61eff6SStefan Roese #define EBI_CNT_FL_PROGR(base) ((base) + EBI_CNT_FL_PROGR_OFFS) 2392a61eff6SStefan Roese #define EBI_CNT_EXT_PAGE_SZ_OFFS 0x0000090C 2402a61eff6SStefan Roese #define EBI_CNT_EXT_PAGE_SZ(base) ((base) + EBI_CNT_EXT_PAGE_SZ_OFFS) 2412a61eff6SStefan Roese #define EBI_CNT_WAIT_RDY_OFFS 0x00000914 2422a61eff6SStefan Roese #define EBI_CNT_WAIT_RDY(base) ((base) + EBI_CNT_WAIT_RDY_OFFS) 2432a61eff6SStefan Roese #define EBI_CNT_ACK_OFFS 0x00000918 2442a61eff6SStefan Roese #define EBI_CNT_ACK(base) ((base) + EBI_CNT_ACK_OFFS) 2452a61eff6SStefan Roese #define EBI_GENIO1_CONFIG1_OFFS 0x00000A00 2462a61eff6SStefan Roese #define EBI_GENIO1_CONFIG1(base) ((base) + EBI_GENIO1_CONFIG1_OFFS) 2472a61eff6SStefan Roese #define EBI_GENIO1_CONFIG2_OFFS 0x00000A04 2482a61eff6SStefan Roese #define EBI_GENIO1_CONFIG2(base) ((base) + EBI_GENIO1_CONFIG2_OFFS) 2492a61eff6SStefan Roese #define EBI_GENIO1_CONFIG3_OFFS 0x00000A08 2502a61eff6SStefan Roese #define EBI_GENIO1_CONFIG3(base) ((base) + EBI_GENIO1_CONFIG3_OFFS) 2512a61eff6SStefan Roese #define EBI_GENIO2_CONFIG1_OFFS 0x00000A10 2522a61eff6SStefan Roese #define EBI_GENIO2_CONFIG1(base) ((base) + EBI_GENIO2_CONFIG1_OFFS) 2532a61eff6SStefan Roese #define EBI_GENIO2_CONFIG2_OFFS 0x00000A14 2542a61eff6SStefan Roese #define EBI_GENIO2_CONFIG2(base) ((base) + EBI_GENIO2_CONFIG2_OFFS) 2552a61eff6SStefan Roese #define EBI_GENIO2_CONFIG3_OFFS 0x00000A18 2562a61eff6SStefan Roese #define EBI_GENIO2_CONFIG3(base) ((base) + EBI_GENIO2_CONFIG3_OFFS) 2572a61eff6SStefan Roese #define EBI_GENIO3_CONFIG1_OFFS 0x00000A20 2582a61eff6SStefan Roese #define EBI_GENIO3_CONFIG1(base) ((base) + EBI_GENIO3_CONFIG1_OFFS) 2592a61eff6SStefan Roese #define EBI_GENIO3_CONFIG2_OFFS 0x00000A24 2602a61eff6SStefan Roese #define EBI_GENIO3_CONFIG2(base) ((base) + EBI_GENIO3_CONFIG2_OFFS) 2612a61eff6SStefan Roese #define EBI_GENIO3_CONFIG3_OFFS 0x00000A28 2622a61eff6SStefan Roese #define EBI_GENIO3_CONFIG3(base) ((base) + EBI_GENIO3_CONFIG3_OFFS) 2632a61eff6SStefan Roese #define EBI_GENIO4_CONFIG1_OFFS 0x00000A30 2642a61eff6SStefan Roese #define EBI_GENIO4_CONFIG1(base) ((base) + EBI_GENIO4_CONFIG1_OFFS) 2652a61eff6SStefan Roese #define EBI_GENIO4_CONFIG2_OFFS 0x00000A34 2662a61eff6SStefan Roese #define EBI_GENIO4_CONFIG2(base) ((base) + EBI_GENIO4_CONFIG2_OFFS) 2672a61eff6SStefan Roese #define EBI_GENIO4_CONFIG3_OFFS 0x00000A38 2682a61eff6SStefan Roese #define EBI_GENIO4_CONFIG3(base) ((base) + EBI_GENIO4_CONFIG3_OFFS) 2692a61eff6SStefan Roese #define EBI_GENIO5_CONFIG1_OFFS 0x00000A40 2702a61eff6SStefan Roese #define EBI_GENIO5_CONFIG1(base) ((base) + EBI_GENIO5_CONFIG1_OFFS) 2712a61eff6SStefan Roese #define EBI_GENIO5_CONFIG2_OFFS 0x00000A44 2722a61eff6SStefan Roese #define EBI_GENIO5_CONFIG2(base) ((base) + EBI_GENIO5_CONFIG2_OFFS) 2732a61eff6SStefan Roese #define EBI_GENIO5_CONFIG3_OFFS 0x00000A48 2742a61eff6SStefan Roese #define EBI_GENIO5_CONFIG3(base) ((base) + EBI_GENIO5_CONFIG3_OFFS) 2752a61eff6SStefan Roese 2762a61eff6SStefan Roese #endif 277