1 /* SPDX-License-Identifier: GPL-2.0-or-later * 1 2 /* 3 * OMAP Traffic Controller 4 * 5 * Copyright (C) 2004 Nokia Corporation 6 * Author: Imre Deak <imre.deak@nokia.com> 7 */ 8 9 #ifndef __ASM_ARCH_TC_H 10 #define __ASM_ARCH_TC_H 11 12 #define TCMIF_BASE 0xfffecc00 13 #define OMAP_TC_OCPT1_PRIOR (TCMIF_BASE + 14 #define OMAP_TC_EMIFS_PRIOR (TCMIF_BASE + 15 #define OMAP_TC_EMIFF_PRIOR (TCMIF_BASE + 16 #define EMIFS_CONFIG (TCMIF_BASE + 17 #define EMIFS_CS0_CONFIG (TCMIF_BASE + 18 #define EMIFS_CS1_CONFIG (TCMIF_BASE + 19 #define EMIFS_CS2_CONFIG (TCMIF_BASE + 20 #define EMIFS_CS3_CONFIG (TCMIF_BASE + 21 #define EMIFF_SDRAM_CONFIG (TCMIF_BASE + 22 #define EMIFF_MRS (TCMIF_BASE + 23 #define TC_TIMEOUT1 (TCMIF_BASE + 24 #define TC_TIMEOUT2 (TCMIF_BASE + 25 #define TC_TIMEOUT3 (TCMIF_BASE + 26 #define TC_ENDIANISM (TCMIF_BASE + 27 #define EMIFF_SDRAM_CONFIG_2 (TCMIF_BASE + 28 #define EMIF_CFG_DYNAMIC_WS (TCMIF_BASE + 29 #define EMIFS_ACS0 (TCMIF_BASE + 30 #define EMIFS_ACS1 (TCMIF_BASE + 31 #define EMIFS_ACS2 (TCMIF_BASE + 32 #define EMIFS_ACS3 (TCMIF_BASE + 33 #define OMAP_TC_OCPT2_PRIOR (TCMIF_BASE + 34 35 /* external EMIFS chipselect regions */ 36 #define OMAP_CS0_PHYS 0x00000000 37 #define OMAP_CS0_SIZE SZ_64M 38 39 #define OMAP_CS1_PHYS 0x04000000 40 #define OMAP_CS1_SIZE SZ_64M 41 42 #define OMAP_CS1A_PHYS OMAP_CS1_PHYS 43 #define OMAP_CS1A_SIZE SZ_32M 44 45 #define OMAP_CS1B_PHYS (OMAP_CS1A_PHY 46 #define OMAP_CS1B_SIZE SZ_32M 47 48 #define OMAP_CS2_PHYS 0x08000000 49 #define OMAP_CS2_SIZE SZ_64M 50 51 #define OMAP_CS2A_PHYS OMAP_CS2_PHYS 52 #define OMAP_CS2A_SIZE SZ_32M 53 54 #define OMAP_CS2B_PHYS (OMAP_CS2A_PHY 55 #define OMAP_CS2B_SIZE SZ_32M 56 57 #define OMAP_CS3_PHYS 0x0c000000 58 #define OMAP_CS3_SIZE SZ_64M 59 60 #ifndef __ASSEMBLER__ 61 62 /* EMIF Slow Interface Configuration Register 63 #define OMAP_EMIFS_CONFIG_FR (1 << 64 #define OMAP_EMIFS_CONFIG_PDE (1 << 65 #define OMAP_EMIFS_CONFIG_PWD_EN (1 << 66 #define OMAP_EMIFS_CONFIG_BM (1 << 67 #define OMAP_EMIFS_CONFIG_WP (1 << 68 69 #define EMIFS_CCS(n) (EMIFS_CS0_CON 70 #define EMIFS_ACS(n) (EMIFS_ACS0 + 71 72 #endif /* __ASSEMBLER__ */ 73 74 #endif /* __ASM_ARCH_TC_H */ 75
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.