aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-mxc/include/mach/mx51.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/plat-mxc/include/mach/mx51.h')
-rw-r--r--arch/arm/plat-mxc/include/mach/mx51.h183
1 files changed, 86 insertions, 97 deletions
diff --git a/arch/arm/plat-mxc/include/mach/mx51.h b/arch/arm/plat-mxc/include/mach/mx51.h
index dede19a766ff..cdf07c65ec1e 100644
--- a/arch/arm/plat-mxc/include/mach/mx51.h
+++ b/arch/arm/plat-mxc/include/mach/mx51.h
@@ -18,18 +18,6 @@
18#define MX51_GPU_CTRL_BASE_ADDR 0x30000000 18#define MX51_GPU_CTRL_BASE_ADDR 0x30000000
19#define MX51_IPU_CTRL_BASE_ADDR 0x40000000 19#define MX51_IPU_CTRL_BASE_ADDR 0x40000000
20 20
21#define MX51_DEBUG_BASE_ADDR 0x60000000
22#define MX51_DEBUG_SIZE SZ_1M
23
24#define MX51_ETB_BASE_ADDR (MX51_DEBUG_BASE_ADDR + 0x01000)
25#define MX51_ETM_BASE_ADDR (MX51_DEBUG_BASE_ADDR + 0x02000)
26#define MX51_TPIU_BASE_ADDR (MX51_DEBUG_BASE_ADDR + 0x03000)
27#define MX51_CTI0_BASE_ADDR (MX51_DEBUG_BASE_ADDR + 0x04000)
28#define MX51_CTI1_BASE_ADDR (MX51_DEBUG_BASE_ADDR + 0x05000)
29#define MX51_CTI2_BASE_ADDR (MX51_DEBUG_BASE_ADDR + 0x06000)
30#define MX51_CTI3_BASE_ADDR (MX51_DEBUG_BASE_ADDR + 0x07000)
31#define MX51_CORTEX_DBG_BASE_ADDR (MX51_DEBUG_BASE_ADDR + 0x08000)
32
33/* 21/*
34 * SPBA global module enabled #0 22 * SPBA global module enabled #0
35 */ 23 */
@@ -55,7 +43,10 @@
55#define MX51_AIPS1_BASE_ADDR 0x73f00000 43#define MX51_AIPS1_BASE_ADDR 0x73f00000
56#define MX51_AIPS1_SIZE SZ_1M 44#define MX51_AIPS1_SIZE SZ_1M
57 45
58#define MX51_OTG_BASE_ADDR (MX51_AIPS1_BASE_ADDR + 0x80000) 46#define MX51_USB_BASE_ADDR (MX51_AIPS1_BASE_ADDR + 0x80000)
47#define MX51_USB_OTG_BASE_ADDR (MX51_USB_BASE_ADDR + 0x0000)
48#define MX51_USB_HS1_BASE_ADDR (MX51_USB_BASE_ADDR + 0x0200)
49#define MX51_USB_HS2_BASE_ADDR (MX51_USB_BASE_ADDR + 0x0400)
59#define MX51_GPIO1_BASE_ADDR (MX51_AIPS1_BASE_ADDR + 0x84000) 50#define MX51_GPIO1_BASE_ADDR (MX51_AIPS1_BASE_ADDR + 0x84000)
60#define MX51_GPIO2_BASE_ADDR (MX51_AIPS1_BASE_ADDR + 0x88000) 51#define MX51_GPIO2_BASE_ADDR (MX51_AIPS1_BASE_ADDR + 0x88000)
61#define MX51_GPIO3_BASE_ADDR (MX51_AIPS1_BASE_ADDR + 0x8c000) 52#define MX51_GPIO3_BASE_ADDR (MX51_AIPS1_BASE_ADDR + 0x8c000)
@@ -132,6 +123,7 @@
132 123
133#define MX51_GPU2D_BASE_ADDR 0xd0000000 124#define MX51_GPU2D_BASE_ADDR 0xd0000000
134#define MX51_TZIC_BASE_ADDR 0xe0000000 125#define MX51_TZIC_BASE_ADDR 0xe0000000
126#define MX51_TZIC_SIZE SZ_16K
135 127
136#define MX51_IO_P2V(x) IMX_IO_P2V(x) 128#define MX51_IO_P2V(x) IMX_IO_P2V(x)
137#define MX51_IO_ADDRESS(x) IOMEM(MX51_IO_P2V(x)) 129#define MX51_IO_ADDRESS(x) IOMEM(MX51_IO_P2V(x))
@@ -240,117 +232,114 @@
240/* 232/*
241 * Interrupt numbers 233 * Interrupt numbers
242 */ 234 */
243#define MX51_MXC_INT_BASE 0 235#define MX51_INT_BASE 0
244#define MX51_MXC_INT_RESV0 0 236#define MX51_INT_RESV0 0
245#define MX51_INT_ESDHC1 1 237#define MX51_INT_ESDHC1 1
246#define MX51_INT_ESDHC2 2 238#define MX51_INT_ESDHC2 2
247#define MX51_INT_ESDHC3 3 239#define MX51_INT_ESDHC3 3
248#define MX51_INT_ESDHC4 4 240#define MX51_INT_ESDHC4 4
249#define MX51_MXC_INT_RESV5 5 241#define MX51_INT_RESV5 5
250#define MX51_INT_SDMA 6 242#define MX51_INT_SDMA 6
251#define MX51_MXC_INT_IOMUX 7 243#define MX51_INT_IOMUX 7
252#define MX51_INT_NFC 8 244#define MX51_INT_NFC 8
253#define MX51_MXC_INT_VPU 9 245#define MX51_INT_VPU 9
254#define MX51_INT_IPU_ERR 10 246#define MX51_INT_IPU_ERR 10
255#define MX51_INT_IPU_SYN 11 247#define MX51_INT_IPU_SYN 11
256#define MX51_MXC_INT_GPU 12 248#define MX51_INT_GPU 12
257#define MX51_MXC_INT_RESV13 13 249#define MX51_INT_RESV13 13
258#define MX51_MXC_INT_USB_H1 14 250#define MX51_INT_USB_HS1 14
259#define MX51_MXC_INT_EMI 15 251#define MX51_INT_EMI 15
260#define MX51_MXC_INT_USB_H2 16 252#define MX51_INT_USB_HS2 16
261#define MX51_MXC_INT_USB_H3 17 253#define MX51_INT_USB_HS3 17
262#define MX51_MXC_INT_USB_OTG 18 254#define MX51_INT_USB_OTG 18
263#define MX51_MXC_INT_SAHARA_H0 19 255#define MX51_INT_SAHARA_H0 19
264#define MX51_MXC_INT_SAHARA_H1 20 256#define MX51_INT_SAHARA_H1 20
265#define MX51_MXC_INT_SCC_SMN 21 257#define MX51_INT_SCC_SMN 21
266#define MX51_MXC_INT_SCC_STZ 22 258#define MX51_INT_SCC_STZ 22
267#define MX51_MXC_INT_SCC_SCM 23 259#define MX51_INT_SCC_SCM 23
268#define MX51_MXC_INT_SRTC_NTZ 24 260#define MX51_INT_SRTC_NTZ 24
269#define MX51_MXC_INT_SRTC_TZ 25 261#define MX51_INT_SRTC_TZ 25
270#define MX51_MXC_INT_RTIC 26 262#define MX51_INT_RTIC 26
271#define MX51_MXC_INT_CSU 27 263#define MX51_INT_CSU 27
272#define MX51_MXC_INT_SLIM_B 28 264#define MX51_INT_SLIM_B 28
273#define MX51_INT_SSI1 29 265#define MX51_INT_SSI1 29
274#define MX51_INT_SSI2 30 266#define MX51_INT_SSI2 30
275#define MX51_INT_UART1 31 267#define MX51_INT_UART1 31
276#define MX51_INT_UART2 32 268#define MX51_INT_UART2 32
277#define MX51_INT_UART3 33 269#define MX51_INT_UART3 33
278#define MX51_MXC_INT_RESV34 34 270#define MX51_INT_RESV34 34
279#define MX51_MXC_INT_RESV35 35 271#define MX51_INT_RESV35 35
280#define MX51_INT_ECSPI1 36 272#define MX51_INT_ECSPI1 36
281#define MX51_INT_ECSPI2 37 273#define MX51_INT_ECSPI2 37
282#define MX51_INT_CSPI 38 274#define MX51_INT_CSPI 38
283#define MX51_MXC_INT_GPT 39 275#define MX51_INT_GPT 39
284#define MX51_MXC_INT_EPIT1 40 276#define MX51_INT_EPIT1 40
285#define MX51_MXC_INT_EPIT2 41 277#define MX51_INT_EPIT2 41
286#define MX51_MXC_INT_GPIO1_INT7 42 278#define MX51_INT_GPIO1_INT7 42
287#define MX51_MXC_INT_GPIO1_INT6 43 279#define MX51_INT_GPIO1_INT6 43
288#define MX51_MXC_INT_GPIO1_INT5 44 280#define MX51_INT_GPIO1_INT5 44
289#define MX51_MXC_INT_GPIO1_INT4 45 281#define MX51_INT_GPIO1_INT4 45
290#define MX51_MXC_INT_GPIO1_INT3 46 282#define MX51_INT_GPIO1_INT3 46
291#define MX51_MXC_INT_GPIO1_INT2 47 283#define MX51_INT_GPIO1_INT2 47
292#define MX51_MXC_INT_GPIO1_INT1 48 284#define MX51_INT_GPIO1_INT1 48
293#define MX51_MXC_INT_GPIO1_INT0 49 285#define MX51_INT_GPIO1_INT0 49
294#define MX51_MXC_INT_GPIO1_LOW 50 286#define MX51_INT_GPIO1_LOW 50
295#define MX51_MXC_INT_GPIO1_HIGH 51 287#define MX51_INT_GPIO1_HIGH 51
296#define MX51_MXC_INT_GPIO2_LOW 52 288#define MX51_INT_GPIO2_LOW 52
297#define MX51_MXC_INT_GPIO2_HIGH 53 289#define MX51_INT_GPIO2_HIGH 53
298#define MX51_MXC_INT_GPIO3_LOW 54 290#define MX51_INT_GPIO3_LOW 54
299#define MX51_MXC_INT_GPIO3_HIGH 55 291#define MX51_INT_GPIO3_HIGH 55
300#define MX51_MXC_INT_GPIO4_LOW 56 292#define MX51_INT_GPIO4_LOW 56
301#define MX51_MXC_INT_GPIO4_HIGH 57 293#define MX51_INT_GPIO4_HIGH 57
302#define MX51_MXC_INT_WDOG1 58 294#define MX51_INT_WDOG1 58
303#define MX51_MXC_INT_WDOG2 59 295#define MX51_INT_WDOG2 59
304#define MX51_INT_KPP 60 296#define MX51_INT_KPP 60
305#define MX51_INT_PWM1 61 297#define MX51_INT_PWM1 61
306#define MX51_INT_I2C1 62 298#define MX51_INT_I2C1 62
307#define MX51_INT_I2C2 63 299#define MX51_INT_I2C2 63
308#define MX51_MXC_INT_HS_I2C 64 300#define MX51_INT_HS_I2C 64
309#define MX51_MXC_INT_RESV65 65 301#define MX51_INT_RESV65 65
310#define MX51_MXC_INT_RESV66 66 302#define MX51_INT_RESV66 66
311#define MX51_MXC_INT_SIM_IPB 67 303#define MX51_INT_SIM_IPB 67
312#define MX51_MXC_INT_SIM_DAT 68 304#define MX51_INT_SIM_DAT 68
313#define MX51_MXC_INT_IIM 69 305#define MX51_INT_IIM 69
314#define MX51_MXC_INT_ATA 70 306#define MX51_INT_ATA 70
315#define MX51_MXC_INT_CCM1 71 307#define MX51_INT_CCM1 71
316#define MX51_MXC_INT_CCM2 72 308#define MX51_INT_CCM2 72
317#define MX51_MXC_INT_GPC1 73 309#define MX51_INT_GPC1 73
318#define MX51_MXC_INT_GPC2 74 310#define MX51_INT_GPC2 74
319#define MX51_MXC_INT_SRC 75 311#define MX51_INT_SRC 75
320#define MX51_MXC_INT_NM 76 312#define MX51_INT_NM 76
321#define MX51_MXC_INT_PMU 77 313#define MX51_INT_PMU 77
322#define MX51_MXC_INT_CTI_IRQ 78 314#define MX51_INT_CTI_IRQ 78
323#define MX51_MXC_INT_CTI1_TG0 79 315#define MX51_INT_CTI1_TG0 79
324#define MX51_MXC_INT_CTI1_TG1 80 316#define MX51_INT_CTI1_TG1 80
325#define MX51_MXC_INT_MCG_ERR 81 317#define MX51_INT_MCG_ERR 81
326#define MX51_MXC_INT_MCG_TMR 82 318#define MX51_INT_MCG_TMR 82
327#define MX51_MXC_INT_MCG_FUNC 83 319#define MX51_INT_MCG_FUNC 83
328#define MX51_MXC_INT_GPU2_IRQ 84 320#define MX51_INT_GPU2_IRQ 84
329#define MX51_MXC_INT_GPU2_BUSY 85 321#define MX51_INT_GPU2_BUSY 85
330#define MX51_MXC_INT_RESV86 86 322#define MX51_INT_RESV86 86
331#define MX51_INT_FEC 87 323#define MX51_INT_FEC 87
332#define MX51_MXC_INT_OWIRE 88 324#define MX51_INT_OWIRE 88
333#define MX51_MXC_INT_CTI1_TG2 89 325#define MX51_INT_CTI1_TG2 89
334#define MX51_MXC_INT_SJC 90 326#define MX51_INT_SJC 90
335#define MX51_MXC_INT_SPDIF 91 327#define MX51_INT_SPDIF 91
336#define MX51_MXC_INT_TVE 92 328#define MX51_INT_TVE 92
337#define MX51_MXC_INT_FIRI 93 329#define MX51_INT_FIRI 93
338#define MX51_INT_PWM2 94 330#define MX51_INT_PWM2 94
339#define MX51_MXC_INT_SLIM_EXP 95 331#define MX51_INT_SLIM_EXP 95
340#define MX51_INT_SSI3 96 332#define MX51_INT_SSI3 96
341#define MX51_MXC_INT_EMI_BOOT 97 333#define MX51_INT_EMI_BOOT 97
342#define MX51_MXC_INT_CTI1_TG3 98 334#define MX51_INT_CTI1_TG3 98
343#define MX51_MXC_INT_SMC_RX 99 335#define MX51_INT_SMC_RX 99
344#define MX51_MXC_INT_VPU_IDLE 100 336#define MX51_INT_VPU_IDLE 100
345#define MX51_MXC_INT_EMI_NFC 101 337#define MX51_INT_EMI_NFC 101
346#define MX51_MXC_INT_GPU_IDLE 102 338#define MX51_INT_GPU_IDLE 102
347 339
348#if !defined(__ASSEMBLY__) && !defined(__MXC_BOOT_UNCOMPRESS) 340#if !defined(__ASSEMBLY__) && !defined(__MXC_BOOT_UNCOMPRESS)
349extern int mx51_revision(void); 341extern int mx51_revision(void);
350extern void mx51_display_revision(void); 342extern void mx51_display_revision(void);
351#endif 343#endif
352 344
353/* tape-out 1 defines */
354#define MX51_TZIC_BASE_ADDR_TO1 0x8fffc000
355
356#endif /* ifndef __MACH_MX51_H__ */ 345#endif /* ifndef __MACH_MX51_H__ */