diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2009-11-10 04:18:08 -0500 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2009-11-18 04:40:38 -0500 |
commit | f73a42f7054b4ec7fab373789b7dae1e309f81a7 (patch) | |
tree | cec9ba44973029d9920fbadec132da4d753a99cb | |
parent | 27085f25184ee5a206706dd5f734ade1d15551fa (diff) |
imx: reorder mx27.h
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
-rw-r--r-- | arch/arm/plat-mxc/include/mach/mx27.h | 63 |
1 files changed, 32 insertions, 31 deletions
diff --git a/arch/arm/plat-mxc/include/mach/mx27.h b/arch/arm/plat-mxc/include/mach/mx27.h index dc3ad9aa952..0104c20bbda 100644 --- a/arch/arm/plat-mxc/include/mach/mx27.h +++ b/arch/arm/plat-mxc/include/mach/mx27.h | |||
@@ -24,9 +24,6 @@ | |||
24 | #ifndef __ASM_ARCH_MXC_MX27_H__ | 24 | #ifndef __ASM_ARCH_MXC_MX27_H__ |
25 | #define __ASM_ARCH_MXC_MX27_H__ | 25 | #define __ASM_ARCH_MXC_MX27_H__ |
26 | 26 | ||
27 | /* IRAM */ | ||
28 | #define IRAM_BASE_ADDR 0xFFFF4C00 /* internal ram */ | ||
29 | |||
30 | #define MSHC_BASE_ADDR (AIPI_BASE_ADDR + 0x18000) | 27 | #define MSHC_BASE_ADDR (AIPI_BASE_ADDR + 0x18000) |
31 | #define GPT5_BASE_ADDR (AIPI_BASE_ADDR + 0x19000) | 28 | #define GPT5_BASE_ADDR (AIPI_BASE_ADDR + 0x19000) |
32 | #define GPT4_BASE_ADDR (AIPI_BASE_ADDR + 0x1A000) | 29 | #define GPT4_BASE_ADDR (AIPI_BASE_ADDR + 0x1A000) |
@@ -60,7 +57,6 @@ | |||
60 | #define CS3_BASE_ADDR 0xD2000000 | 57 | #define CS3_BASE_ADDR 0xD2000000 |
61 | #define CS4_BASE_ADDR 0xD4000000 | 58 | #define CS4_BASE_ADDR 0xD4000000 |
62 | #define CS5_BASE_ADDR 0xD6000000 | 59 | #define CS5_BASE_ADDR 0xD6000000 |
63 | #define PCMCIA_MEM_BASE_ADDR 0xDC000000 | ||
64 | 60 | ||
65 | /* NAND, SDRAM, WEIM, M3IF, EMI controllers */ | 61 | /* NAND, SDRAM, WEIM, M3IF, EMI controllers */ |
66 | #define X_MEMC_BASE_ADDR 0xD8000000 | 62 | #define X_MEMC_BASE_ADDR 0xD8000000 |
@@ -73,38 +69,43 @@ | |||
73 | #define M3IF_BASE_ADDR (X_MEMC_BASE_ADDR + 0x3000) | 69 | #define M3IF_BASE_ADDR (X_MEMC_BASE_ADDR + 0x3000) |
74 | #define PCMCIA_CTL_BASE_ADDR (X_MEMC_BASE_ADDR + 0x4000) | 70 | #define PCMCIA_CTL_BASE_ADDR (X_MEMC_BASE_ADDR + 0x4000) |
75 | 71 | ||
72 | #define PCMCIA_MEM_BASE_ADDR 0xDC000000 | ||
73 | |||
74 | /* IRAM */ | ||
75 | #define IRAM_BASE_ADDR 0xFFFF4C00 /* internal ram */ | ||
76 | |||
76 | /* fixed interrupt numbers */ | 77 | /* fixed interrupt numbers */ |
77 | #define MXC_INT_CCM 63 | ||
78 | #define MXC_INT_IIM 62 | ||
79 | #define MXC_INT_SAHARA 59 | ||
80 | #define MXC_INT_SCC_SCM 58 | ||
81 | #define MXC_INT_SCC_SMN 57 | ||
82 | #define MXC_INT_USB3 56 | ||
83 | #define MXC_INT_USB2 55 | ||
84 | #define MXC_INT_USB1 54 | ||
85 | #define MXC_INT_VPU 53 | ||
86 | #define MXC_INT_FEC 50 | ||
87 | #define MXC_INT_UART5 49 | ||
88 | #define MXC_INT_UART6 48 | ||
89 | #define MXC_INT_ATA 30 | ||
90 | #define MXC_INT_SDHC3 9 | ||
91 | #define MXC_INT_SDHC 7 | ||
92 | #define MXC_INT_RTIC 5 | ||
93 | #define MXC_INT_GPT4 4 | ||
94 | #define MXC_INT_GPT5 3 | ||
95 | #define MXC_INT_GPT6 2 | ||
96 | #define MXC_INT_I2C2 1 | 78 | #define MXC_INT_I2C2 1 |
79 | #define MXC_INT_GPT6 2 | ||
80 | #define MXC_INT_GPT5 3 | ||
81 | #define MXC_INT_GPT4 4 | ||
82 | #define MXC_INT_RTIC 5 | ||
83 | #define MXC_INT_SDHC 7 | ||
84 | #define MXC_INT_SDHC3 9 | ||
85 | #define MXC_INT_ATA 30 | ||
86 | #define MXC_INT_UART6 48 | ||
87 | #define MXC_INT_UART5 49 | ||
88 | #define MXC_INT_FEC 50 | ||
89 | #define MXC_INT_VPU 53 | ||
90 | #define MXC_INT_USB1 54 | ||
91 | #define MXC_INT_USB2 55 | ||
92 | #define MXC_INT_USB3 56 | ||
93 | #define MXC_INT_SCC_SMN 57 | ||
94 | #define MXC_INT_SCC_SCM 58 | ||
95 | #define MXC_INT_SAHARA 59 | ||
96 | #define MXC_INT_IIM 62 | ||
97 | #define MXC_INT_CCM 63 | ||
97 | 98 | ||
98 | /* fixed DMA request numbers */ | 99 | /* fixed DMA request numbers */ |
99 | #define DMA_REQ_NFC 37 | ||
100 | #define DMA_REQ_SDHC3 36 | ||
101 | #define DMA_REQ_UART6_RX 35 | ||
102 | #define DMA_REQ_UART6_TX 34 | ||
103 | #define DMA_REQ_UART5_RX 33 | ||
104 | #define DMA_REQ_UART5_TX 32 | ||
105 | #define DMA_REQ_ATA_RCV 29 | ||
106 | #define DMA_REQ_ATA_TX 28 | ||
107 | #define DMA_REQ_MSHC 4 | 100 | #define DMA_REQ_MSHC 4 |
101 | #define DMA_REQ_ATA_TX 28 | ||
102 | #define DMA_REQ_ATA_RCV 29 | ||
103 | #define DMA_REQ_UART5_TX 32 | ||
104 | #define DMA_REQ_UART5_RX 33 | ||
105 | #define DMA_REQ_UART6_TX 34 | ||
106 | #define DMA_REQ_UART6_RX 35 | ||
107 | #define DMA_REQ_SDHC3 36 | ||
108 | #define DMA_REQ_NFC 37 | ||
108 | 109 | ||
109 | /* silicon revisions specific to i.MX27 */ | 110 | /* silicon revisions specific to i.MX27 */ |
110 | #define CHIP_REV_1_0 0x00 | 111 | #define CHIP_REV_1_0 0x00 |