summaryrefslogtreecommitdiff
path: root/firmware/target/arm/imx233/icoll-imx233.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm/imx233/icoll-imx233.h')
-rw-r--r--firmware/target/arm/imx233/icoll-imx233.h21
1 files changed, 17 insertions, 4 deletions
diff --git a/firmware/target/arm/imx233/icoll-imx233.h b/firmware/target/arm/imx233/icoll-imx233.h
index e44b67f1d4..81d7695ec5 100644
--- a/firmware/target/arm/imx233/icoll-imx233.h
+++ b/firmware/target/arm/imx233/icoll-imx233.h
@@ -26,7 +26,6 @@
26 26
27#include "regs/regs-icoll.h" 27#include "regs/regs-icoll.h"
28 28
29#define INT_SRC_SSP2_ERROR 2
30#define INT_SRC_VDD5V 3 29#define INT_SRC_VDD5V 3
31#define INT_SRC_DAC_DMA 5 30#define INT_SRC_DAC_DMA 5
32#define INT_SRC_DAC_ERROR 6 31#define INT_SRC_DAC_ERROR 6
@@ -39,17 +38,31 @@
39#define INT_SRC_GPIO1 17 38#define INT_SRC_GPIO1 17
40#define INT_SRC_GPIO2 18 39#define INT_SRC_GPIO2 18
41#define INT_SRC_GPIO(i) (INT_SRC_GPIO0 + (i)) 40#define INT_SRC_GPIO(i) (INT_SRC_GPIO0 + (i))
42#define INT_SRC_SSP2_DMA 20
43#define INT_SRC_I2C_DMA 26 41#define INT_SRC_I2C_DMA 26
44#define INT_SRC_I2C_ERROR 27 42#define INT_SRC_I2C_ERROR 27
45#define INT_SRC_TIMER(nr) (28 + (nr)) 43#define INT_SRC_TIMER(nr) (28 + (nr))
46#define INT_SRC_TOUCH_DETECT 36 44#define INT_SRC_TOUCH_DETECT 36
47#define INT_SRC_LRADC_CHx(x) (37 + (x)) 45#define INT_SRC_LRADC_CHx(x) (37 + (x))
46#define INT_SRC_RTC_1MSEC 48
47#define INT_SRC_NR_SOURCES 64
48/* STMP3700+ specific */
49#if IMX233_SUBTARGET >= 3700
50#define INT_SRC_SSP2_ERROR 2
51#define INT_SRC_SSP2_DMA 20
48#define INT_SRC_LCDIF_DMA 45 52#define INT_SRC_LCDIF_DMA 45
49#define INT_SRC_LCDIF_ERROR 46 53#define INT_SRC_LCDIF_ERROR 46
50#define INT_SRC_RTC_1MSEC 48
51#define INT_SRC_DCP 54 54#define INT_SRC_DCP 54
52#define INT_SRC_NR_SOURCES 66 55#endif
56/* STMP3780+ specific */
57#if IMX233_SUBTARGET >= 3780
58
59#endif
60
61/* helpers */
62#if IMX233_SUBTARGET >= 3600 && IMX233_SUBTARGET < 3780
63#define BP_ICOLL_PRIORITYn_ENABLEx(x) (2 + 8 * (x))
64#define BM_ICOLL_PRIORITYn_ENABLEx(x) (1 << (2 + 8 * (x)))
65#endif
53 66
54struct imx233_icoll_irq_info_t 67struct imx233_icoll_irq_info_t
55{ 68{