xref: /openbmc/qemu/include/hw/arm/fsl-imx6ul.h (revision abaf3e5b)
1 /*
2  * Copyright (c) 2018 Jean-Christophe Dubois <jcd@tribudubois.net>
3  *
4  * i.MX6ul SoC definitions
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; either version 2 of the License, or
9  * (at your option) any later version.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  * GNU General Public License for more details.
15  */
16 
17 #ifndef FSL_IMX6UL_H
18 #define FSL_IMX6UL_H
19 
20 #include "hw/arm/boot.h"
21 #include "hw/cpu/a15mpcore.h"
22 #include "hw/misc/imx6ul_ccm.h"
23 #include "hw/misc/imx6_src.h"
24 #include "hw/misc/imx7_snvs.h"
25 #include "hw/intc/imx_gpcv2.h"
26 #include "hw/watchdog/wdt_imx2.h"
27 #include "hw/gpio/imx_gpio.h"
28 #include "hw/char/imx_serial.h"
29 #include "hw/timer/imx_gpt.h"
30 #include "hw/timer/imx_epit.h"
31 #include "hw/i2c/imx_i2c.h"
32 #include "hw/sd/sdhci.h"
33 #include "hw/ssi/imx_spi.h"
34 #include "hw/net/imx_fec.h"
35 #include "hw/usb/chipidea.h"
36 #include "hw/usb/imx-usb-phy.h"
37 #include "exec/memory.h"
38 #include "cpu.h"
39 #include "qom/object.h"
40 #include "qemu/units.h"
41 
42 #define TYPE_FSL_IMX6UL "fsl-imx6ul"
43 OBJECT_DECLARE_SIMPLE_TYPE(FslIMX6ULState, FSL_IMX6UL)
44 
45 enum FslIMX6ULConfiguration {
46     FSL_IMX6UL_NUM_CPUS         = 1,
47     FSL_IMX6UL_NUM_UARTS        = 8,
48     FSL_IMX6UL_NUM_ETHS         = 2,
49     FSL_IMX6UL_ETH_NUM_TX_RINGS = 2,
50     FSL_IMX6UL_NUM_USDHCS       = 2,
51     FSL_IMX6UL_NUM_WDTS         = 3,
52     FSL_IMX6UL_NUM_GPTS         = 2,
53     FSL_IMX6UL_NUM_EPITS        = 2,
54     FSL_IMX6UL_NUM_IOMUXCS      = 2,
55     FSL_IMX6UL_NUM_GPIOS        = 5,
56     FSL_IMX6UL_NUM_I2CS         = 4,
57     FSL_IMX6UL_NUM_ECSPIS       = 4,
58     FSL_IMX6UL_NUM_ADCS         = 2,
59     FSL_IMX6UL_NUM_USB_PHYS     = 2,
60     FSL_IMX6UL_NUM_USBS         = 2,
61     FSL_IMX6UL_NUM_SAIS         = 3,
62     FSL_IMX6UL_NUM_CANS         = 2,
63     FSL_IMX6UL_NUM_PWMS         = 8,
64 };
65 
66 struct FslIMX6ULState {
67     /*< private >*/
68     DeviceState    parent_obj;
69 
70     /*< public >*/
71     ARMCPU             cpu;
72     A15MPPrivState     a7mpcore;
73     IMXGPTState        gpt[FSL_IMX6UL_NUM_GPTS];
74     IMXEPITState       epit[FSL_IMX6UL_NUM_EPITS];
75     IMXGPIOState       gpio[FSL_IMX6UL_NUM_GPIOS];
76     IMX6ULCCMState     ccm;
77     IMX6SRCState       src;
78     IMX7SNVSState      snvs;
79     IMXGPCv2State      gpcv2;
80     IMXSPIState        spi[FSL_IMX6UL_NUM_ECSPIS];
81     IMXI2CState        i2c[FSL_IMX6UL_NUM_I2CS];
82     IMXSerialState     uart[FSL_IMX6UL_NUM_UARTS];
83     IMXFECState        eth[FSL_IMX6UL_NUM_ETHS];
84     SDHCIState         usdhc[FSL_IMX6UL_NUM_USDHCS];
85     IMX2WdtState       wdt[FSL_IMX6UL_NUM_WDTS];
86     IMXUSBPHYState     usbphy[FSL_IMX6UL_NUM_USB_PHYS];
87     ChipideaState      usb[FSL_IMX6UL_NUM_USBS];
88     MemoryRegion       rom;
89     MemoryRegion       caam;
90     MemoryRegion       ocram;
91     MemoryRegion       ocram_alias;
92 
93     uint32_t           phy_num[FSL_IMX6UL_NUM_ETHS];
94     bool               phy_connected[FSL_IMX6UL_NUM_ETHS];
95 };
96 
97 enum FslIMX6ULMemoryMap {
98     FSL_IMX6UL_MMDC_ADDR            = 0x80000000,
99     FSL_IMX6UL_MMDC_SIZE            = (2 * GiB),
100 
101     FSL_IMX6UL_QSPI1_MEM_ADDR       = 0x60000000,
102     FSL_IMX6UL_QSPI1_MEM_SIZE       = (256 * MiB),
103 
104     FSL_IMX6UL_EIM_ALIAS_ADDR       = 0x58000000,
105     FSL_IMX6UL_EIM_ALIAS_SIZE       = (128 * MiB),
106 
107     FSL_IMX6UL_EIM_CS_ADDR          = 0x50000000,
108     FSL_IMX6UL_EIM_CS_SIZE          = (128 * MiB),
109 
110     FSL_IMX6UL_AES_ENCRYPT_ADDR     = 0x10000000,
111     FSL_IMX6UL_AES_ENCRYPT_SIZE     = (1 * MiB),
112 
113     FSL_IMX6UL_QSPI1_RX_ADDR        = 0x0C000000,
114     FSL_IMX6UL_QSPI1_RX_SIZE        = (32 * MiB),
115 
116     /* AIPS-2 Begin */
117     FSL_IMX6UL_UART6_ADDR           = 0x021FC000,
118 
119     FSL_IMX6UL_I2C4_ADDR            = 0x021F8000,
120 
121     FSL_IMX6UL_UART5_ADDR           = 0x021F4000,
122     FSL_IMX6UL_UART4_ADDR           = 0x021F0000,
123     FSL_IMX6UL_UART3_ADDR           = 0x021EC000,
124     FSL_IMX6UL_UART2_ADDR           = 0x021E8000,
125 
126     FSL_IMX6UL_WDOG3_ADDR           = 0x021E4000,
127 
128     FSL_IMX6UL_QSPI_ADDR            = 0x021E0000,
129     FSL_IMX6UL_QSPI_SIZE            = 0x500,
130 
131     FSL_IMX6UL_SYS_CNT_CTRL_ADDR    = 0x021DC000,
132     FSL_IMX6UL_SYS_CNT_CTRL_SIZE    = (16 * KiB),
133 
134     FSL_IMX6UL_SYS_CNT_CMP_ADDR     = 0x021D8000,
135     FSL_IMX6UL_SYS_CNT_CMP_SIZE     = (16 * KiB),
136 
137     FSL_IMX6UL_SYS_CNT_RD_ADDR      = 0x021D4000,
138     FSL_IMX6UL_SYS_CNT_RD_SIZE      = (16 * KiB),
139 
140     FSL_IMX6UL_TZASC_ADDR           = 0x021D0000,
141     FSL_IMX6UL_TZASC_SIZE           = (16 * KiB),
142 
143     FSL_IMX6UL_PXP_ADDR             = 0x021CC000,
144     FSL_IMX6UL_PXP_SIZE             = (16 * KiB),
145 
146     FSL_IMX6UL_LCDIF_ADDR           = 0x021C8000,
147     FSL_IMX6UL_LCDIF_SIZE           = 0x100,
148 
149     FSL_IMX6UL_CSI_ADDR             = 0x021C4000,
150     FSL_IMX6UL_CSI_SIZE             = 0x100,
151 
152     FSL_IMX6UL_CSU_ADDR             = 0x021C0000,
153     FSL_IMX6UL_CSU_SIZE             = (16 * KiB),
154 
155     FSL_IMX6UL_OCOTP_CTRL_ADDR      = 0x021BC000,
156     FSL_IMX6UL_OCOTP_CTRL_SIZE      = (4 * KiB),
157 
158     FSL_IMX6UL_EIM_ADDR             = 0x021B8000,
159     FSL_IMX6UL_EIM_SIZE             = 0x100,
160 
161     FSL_IMX6UL_SIM2_ADDR            = 0x021B4000,
162 
163     FSL_IMX6UL_MMDC_CFG_ADDR        = 0x021B0000,
164     FSL_IMX6UL_MMDC_CFG_SIZE        = (4 * KiB),
165 
166     FSL_IMX6UL_ROMCP_ADDR           = 0x021AC000,
167     FSL_IMX6UL_ROMCP_SIZE           = 0x300,
168 
169     FSL_IMX6UL_I2C3_ADDR            = 0x021A8000,
170     FSL_IMX6UL_I2C2_ADDR            = 0x021A4000,
171     FSL_IMX6UL_I2C1_ADDR            = 0x021A0000,
172 
173     FSL_IMX6UL_ADC2_ADDR            = 0x0219C000,
174     FSL_IMX6UL_ADC1_ADDR            = 0x02198000,
175     FSL_IMX6UL_ADCn_SIZE            = 0x100,
176 
177     FSL_IMX6UL_USDHC2_ADDR          = 0x02194000,
178     FSL_IMX6UL_USDHC1_ADDR          = 0x02190000,
179 
180     FSL_IMX6UL_SIM1_ADDR            = 0x0218C000,
181     FSL_IMX6UL_SIMn_SIZE            = (16 * KiB),
182 
183     FSL_IMX6UL_ENET1_ADDR           = 0x02188000,
184 
185     FSL_IMX6UL_USBO2_USBMISC_ADDR   = 0x02184800,
186     FSL_IMX6UL_USBO2_USB1_ADDR      = 0x02184000,
187     FSL_IMX6UL_USBO2_USB2_ADDR      = 0x02184200,
188 
189     FSL_IMX6UL_USBO2_PL301_ADDR     = 0x02180000,
190     FSL_IMX6UL_USBO2_PL301_SIZE     = (16 * KiB),
191 
192     FSL_IMX6UL_AIPS2_CFG_ADDR       = 0x0217C000,
193     FSL_IMX6UL_AIPS2_CFG_SIZE       = 0x100,
194 
195     FSL_IMX6UL_CAAM_ADDR            = 0x02140000,
196     FSL_IMX6UL_CAAM_SIZE            = (16 * KiB),
197 
198     FSL_IMX6UL_A7MPCORE_DAP_ADDR    = 0x02100000,
199     FSL_IMX6UL_A7MPCORE_DAP_SIZE    = (4 * KiB),
200     /* AIPS-2 End */
201 
202     /* AIPS-1 Begin */
203     FSL_IMX6UL_PWM8_ADDR            = 0x020FC000,
204     FSL_IMX6UL_PWM7_ADDR            = 0x020F8000,
205     FSL_IMX6UL_PWM6_ADDR            = 0x020F4000,
206     FSL_IMX6UL_PWM5_ADDR            = 0x020F0000,
207 
208     FSL_IMX6UL_SDMA_ADDR            = 0x020EC000,
209     FSL_IMX6UL_SDMA_SIZE            = 0x300,
210 
211     FSL_IMX6UL_GPT2_ADDR            = 0x020E8000,
212 
213     FSL_IMX6UL_IOMUXC_GPR_ADDR      = 0x020E4000,
214     FSL_IMX6UL_IOMUXC_GPR_SIZE      = 0x40,
215 
216     FSL_IMX6UL_IOMUXC_ADDR          = 0x020E0000,
217     FSL_IMX6UL_IOMUXC_SIZE          = 0x700,
218 
219     FSL_IMX6UL_GPC_ADDR             = 0x020DC000,
220 
221     FSL_IMX6UL_SRC_ADDR             = 0x020D8000,
222 
223     FSL_IMX6UL_EPIT2_ADDR           = 0x020D4000,
224     FSL_IMX6UL_EPIT1_ADDR           = 0x020D0000,
225 
226     FSL_IMX6UL_SNVS_HP_ADDR         = 0x020CC000,
227 
228     FSL_IMX6UL_USBPHY2_ADDR         = 0x020CA000,
229     FSL_IMX6UL_USBPHY1_ADDR         = 0x020C9000,
230 
231     FSL_IMX6UL_ANALOG_ADDR          = 0x020C8000,
232     FSL_IMX6UL_ANALOG_SIZE          = 0x300,
233 
234     FSL_IMX6UL_CCM_ADDR             = 0x020C4000,
235 
236     FSL_IMX6UL_WDOG2_ADDR           = 0x020C0000,
237     FSL_IMX6UL_WDOG1_ADDR           = 0x020BC000,
238 
239     FSL_IMX6UL_KPP_ADDR             = 0x020B8000,
240     FSL_IMX6UL_KPP_SIZE             = 0x10,
241 
242     FSL_IMX6UL_ENET2_ADDR           = 0x020B4000,
243 
244     FSL_IMX6UL_SNVS_LP_ADDR         = 0x020B0000,
245     FSL_IMX6UL_SNVS_LP_SIZE         = (16 * KiB),
246 
247     FSL_IMX6UL_GPIO5_ADDR           = 0x020AC000,
248     FSL_IMX6UL_GPIO4_ADDR           = 0x020A8000,
249     FSL_IMX6UL_GPIO3_ADDR           = 0x020A4000,
250     FSL_IMX6UL_GPIO2_ADDR           = 0x020A0000,
251     FSL_IMX6UL_GPIO1_ADDR           = 0x0209C000,
252 
253     FSL_IMX6UL_GPT1_ADDR            = 0x02098000,
254 
255     FSL_IMX6UL_CAN2_ADDR            = 0x02094000,
256     FSL_IMX6UL_CAN1_ADDR            = 0x02090000,
257     FSL_IMX6UL_CANn_SIZE            = (4 * KiB),
258 
259     FSL_IMX6UL_PWM4_ADDR            = 0x0208C000,
260     FSL_IMX6UL_PWM3_ADDR            = 0x02088000,
261     FSL_IMX6UL_PWM2_ADDR            = 0x02084000,
262     FSL_IMX6UL_PWM1_ADDR            = 0x02080000,
263     FSL_IMX6UL_PWMn_SIZE            = 0x20,
264 
265     FSL_IMX6UL_AIPS1_CFG_ADDR       = 0x0207C000,
266     FSL_IMX6UL_AIPS1_CFG_SIZE       = (16 * KiB),
267 
268     FSL_IMX6UL_BEE_ADDR             = 0x02044000,
269     FSL_IMX6UL_BEE_SIZE             = (16 * KiB),
270 
271     FSL_IMX6UL_TOUCH_CTRL_ADDR      = 0x02040000,
272     FSL_IMX6UL_TOUCH_CTRL_SIZE      = 0x100,
273 
274     FSL_IMX6UL_SPBA_ADDR            = 0x0203C000,
275     FSL_IMX6UL_SPBA_SIZE            = 0x100,
276 
277     FSL_IMX6UL_ASRC_ADDR            = 0x02034000,
278     FSL_IMX6UL_ASRC_SIZE            = 0x100,
279 
280     FSL_IMX6UL_SAI3_ADDR            = 0x02030000,
281     FSL_IMX6UL_SAI2_ADDR            = 0x0202C000,
282     FSL_IMX6UL_SAI1_ADDR            = 0x02028000,
283     FSL_IMX6UL_SAIn_SIZE            = 0x200,
284 
285     FSL_IMX6UL_UART8_ADDR           = 0x02024000,
286     FSL_IMX6UL_UART1_ADDR           = 0x02020000,
287     FSL_IMX6UL_UART7_ADDR           = 0x02018000,
288 
289     FSL_IMX6UL_ECSPI4_ADDR          = 0x02014000,
290     FSL_IMX6UL_ECSPI3_ADDR          = 0x02010000,
291     FSL_IMX6UL_ECSPI2_ADDR          = 0x0200C000,
292     FSL_IMX6UL_ECSPI1_ADDR          = 0x02008000,
293 
294     FSL_IMX6UL_SPDIF_ADDR           = 0x02004000,
295     FSL_IMX6UL_SPDIF_SIZE           = 0x100,
296     /* AIPS-1 End */
297 
298     FSL_IMX6UL_BCH_ADDR             = 0x01808000,
299     FSL_IMX6UL_BCH_SIZE             = 0x200,
300 
301     FSL_IMX6UL_GPMI_ADDR            = 0x01806000,
302     FSL_IMX6UL_GPMI_SIZE            = 0x200,
303 
304     FSL_IMX6UL_APBH_DMA_ADDR        = 0x01804000,
305     FSL_IMX6UL_APBH_DMA_SIZE        = (4 * KiB),
306 
307     FSL_IMX6UL_A7MPCORE_ADDR        = 0x00A00000,
308 
309     FSL_IMX6UL_OCRAM_ALIAS_ADDR     = 0x00920000,
310     FSL_IMX6UL_OCRAM_ALIAS_SIZE     = (384 * KiB),
311 
312     FSL_IMX6UL_OCRAM_MEM_ADDR       = 0x00900000,
313     FSL_IMX6UL_OCRAM_MEM_SIZE       = (128 * KiB),
314 
315     FSL_IMX6UL_CAAM_MEM_ADDR        = 0x00100000,
316     FSL_IMX6UL_CAAM_MEM_SIZE        = (32 * KiB),
317 
318     FSL_IMX6UL_ROM_ADDR             = 0x00000000,
319     FSL_IMX6UL_ROM_SIZE             = (96 * KiB),
320 };
321 
322 enum FslIMX6ULIRQs {
323     FSL_IMX6UL_IOMUXC_IRQ   = 0,
324     FSL_IMX6UL_DAP_IRQ      = 1,
325     FSL_IMX6UL_SDMA_IRQ     = 2,
326     FSL_IMX6UL_TSC_IRQ      = 3,
327     FSL_IMX6UL_SNVS_IRQ     = 4,
328     FSL_IMX6UL_LCDIF_IRQ    = 5,
329     FSL_IMX6UL_BEE_IRQ      = 6,
330     FSL_IMX6UL_CSI_IRQ      = 7,
331     FSL_IMX6UL_PXP_IRQ      = 8,
332     FSL_IMX6UL_SCTR1_IRQ    = 9,
333     FSL_IMX6UL_SCTR2_IRQ    = 10,
334     FSL_IMX6UL_WDOG3_IRQ    = 11,
335     FSL_IMX6UL_APBH_DMA_IRQ = 13,
336     FSL_IMX6UL_WEIM_IRQ     = 14,
337     FSL_IMX6UL_RAWNAND1_IRQ = 15,
338     FSL_IMX6UL_RAWNAND2_IRQ = 16,
339     FSL_IMX6UL_UART6_IRQ    = 17,
340     FSL_IMX6UL_SRTC_IRQ     = 19,
341     FSL_IMX6UL_SRTC_SEC_IRQ = 20,
342     FSL_IMX6UL_CSU_IRQ      = 21,
343     FSL_IMX6UL_USDHC1_IRQ   = 22,
344     FSL_IMX6UL_USDHC2_IRQ   = 23,
345     FSL_IMX6UL_SAI3_IRQ     = 24,
346     FSL_IMX6UL_SAI32_IRQ    = 25,
347 
348     FSL_IMX6UL_UART1_IRQ    = 26,
349     FSL_IMX6UL_UART2_IRQ    = 27,
350     FSL_IMX6UL_UART3_IRQ    = 28,
351     FSL_IMX6UL_UART4_IRQ    = 29,
352     FSL_IMX6UL_UART5_IRQ    = 30,
353 
354     FSL_IMX6UL_ECSPI1_IRQ   = 31,
355     FSL_IMX6UL_ECSPI2_IRQ   = 32,
356     FSL_IMX6UL_ECSPI3_IRQ   = 33,
357     FSL_IMX6UL_ECSPI4_IRQ   = 34,
358 
359     FSL_IMX6UL_I2C4_IRQ     = 35,
360     FSL_IMX6UL_I2C1_IRQ     = 36,
361     FSL_IMX6UL_I2C2_IRQ     = 37,
362     FSL_IMX6UL_I2C3_IRQ     = 38,
363 
364     FSL_IMX6UL_UART7_IRQ    = 39,
365     FSL_IMX6UL_UART8_IRQ    = 40,
366 
367     FSL_IMX6UL_USB1_IRQ     = 43,
368     FSL_IMX6UL_USB2_IRQ     = 42,
369     FSL_IMX6UL_USB_PHY1_IRQ = 44,
370     FSL_IMX6UL_USB_PHY2_IRQ = 45,
371 
372     FSL_IMX6UL_CAAM_JQ2_IRQ = 46,
373     FSL_IMX6UL_CAAM_ERR_IRQ = 47,
374     FSL_IMX6UL_CAAM_RTIC_IRQ = 48,
375     FSL_IMX6UL_TEMP_IRQ     = 49,
376     FSL_IMX6UL_ASRC_IRQ     = 50,
377     FSL_IMX6UL_SPDIF_IRQ    = 52,
378     FSL_IMX6UL_PMU_REG_IRQ  = 54,
379     FSL_IMX6UL_GPT1_IRQ     = 55,
380 
381     FSL_IMX6UL_EPIT1_IRQ    = 56,
382     FSL_IMX6UL_EPIT2_IRQ    = 57,
383 
384     FSL_IMX6UL_GPIO1_INT7_IRQ = 58,
385     FSL_IMX6UL_GPIO1_INT6_IRQ = 59,
386     FSL_IMX6UL_GPIO1_INT5_IRQ = 60,
387     FSL_IMX6UL_GPIO1_INT4_IRQ = 61,
388     FSL_IMX6UL_GPIO1_INT3_IRQ = 62,
389     FSL_IMX6UL_GPIO1_INT2_IRQ = 63,
390     FSL_IMX6UL_GPIO1_INT1_IRQ = 64,
391     FSL_IMX6UL_GPIO1_INT0_IRQ = 65,
392     FSL_IMX6UL_GPIO1_LOW_IRQ  = 66,
393     FSL_IMX6UL_GPIO1_HIGH_IRQ = 67,
394     FSL_IMX6UL_GPIO2_LOW_IRQ  = 68,
395     FSL_IMX6UL_GPIO2_HIGH_IRQ = 69,
396     FSL_IMX6UL_GPIO3_LOW_IRQ  = 70,
397     FSL_IMX6UL_GPIO3_HIGH_IRQ = 71,
398     FSL_IMX6UL_GPIO4_LOW_IRQ  = 72,
399     FSL_IMX6UL_GPIO4_HIGH_IRQ = 73,
400     FSL_IMX6UL_GPIO5_LOW_IRQ  = 74,
401     FSL_IMX6UL_GPIO5_HIGH_IRQ = 75,
402 
403     FSL_IMX6UL_WDOG1_IRQ    = 80,
404     FSL_IMX6UL_WDOG2_IRQ    = 81,
405 
406     FSL_IMX6UL_KPP_IRQ      = 82,
407 
408     FSL_IMX6UL_PWM1_IRQ     = 83,
409     FSL_IMX6UL_PWM2_IRQ     = 84,
410     FSL_IMX6UL_PWM3_IRQ     = 85,
411     FSL_IMX6UL_PWM4_IRQ     = 86,
412 
413     FSL_IMX6UL_CCM1_IRQ     = 87,
414     FSL_IMX6UL_CCM2_IRQ     = 88,
415 
416     FSL_IMX6UL_GPC_IRQ      = 89,
417 
418     FSL_IMX6UL_SRC_IRQ      = 91,
419 
420     FSL_IMX6UL_CPU_PERF_IRQ = 94,
421     FSL_IMX6UL_CPU_CTI_IRQ  = 95,
422 
423     FSL_IMX6UL_SRC_WDOG_IRQ = 96,
424 
425     FSL_IMX6UL_SAI1_IRQ     = 97,
426     FSL_IMX6UL_SAI2_IRQ     = 98,
427 
428     FSL_IMX6UL_ADC1_IRQ     = 100,
429     FSL_IMX6UL_ADC2_IRQ     = 101,
430 
431     FSL_IMX6UL_SJC_IRQ      = 104,
432 
433     FSL_IMX6UL_CAAM_RING0_IRQ = 105,
434     FSL_IMX6UL_CAAM_RING1_IRQ = 106,
435 
436     FSL_IMX6UL_QSPI_IRQ     = 107,
437 
438     FSL_IMX6UL_TZASC_IRQ    = 108,
439 
440     FSL_IMX6UL_GPT2_IRQ     = 109,
441 
442     FSL_IMX6UL_CAN1_IRQ     = 110,
443     FSL_IMX6UL_CAN2_IRQ     = 111,
444 
445     FSL_IMX6UL_SIM1_IRQ     = 112,
446     FSL_IMX6UL_SIM2_IRQ     = 113,
447 
448     FSL_IMX6UL_PWM5_IRQ     = 114,
449     FSL_IMX6UL_PWM6_IRQ     = 115,
450     FSL_IMX6UL_PWM7_IRQ     = 116,
451     FSL_IMX6UL_PWM8_IRQ     = 117,
452 
453     FSL_IMX6UL_ENET1_IRQ    = 118,
454     FSL_IMX6UL_ENET1_TIMER_IRQ = 119,
455     FSL_IMX6UL_ENET2_IRQ    = 120,
456     FSL_IMX6UL_ENET2_TIMER_IRQ = 121,
457 
458     FSL_IMX6UL_PMU_CORE_IRQ = 127,
459     FSL_IMX6UL_MAX_IRQ      = 128,
460 };
461 
462 #endif /* FSL_IMX6UL_H */
463