18c2ecf20Sopenharmony_ci/* 28c2ecf20Sopenharmony_ci * DaVinci interrupt controller definitions 38c2ecf20Sopenharmony_ci * 48c2ecf20Sopenharmony_ci * Copyright (C) 2006 Texas Instruments. 58c2ecf20Sopenharmony_ci * 68c2ecf20Sopenharmony_ci * This program is free software; you can redistribute it and/or modify it 78c2ecf20Sopenharmony_ci * under the terms of the GNU General Public License as published by the 88c2ecf20Sopenharmony_ci * Free Software Foundation; either version 2 of the License, or (at your 98c2ecf20Sopenharmony_ci * option) any later version. 108c2ecf20Sopenharmony_ci * 118c2ecf20Sopenharmony_ci * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED 128c2ecf20Sopenharmony_ci * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 138c2ecf20Sopenharmony_ci * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN 148c2ecf20Sopenharmony_ci * NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 158c2ecf20Sopenharmony_ci * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 168c2ecf20Sopenharmony_ci * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF 178c2ecf20Sopenharmony_ci * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON 188c2ecf20Sopenharmony_ci * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 198c2ecf20Sopenharmony_ci * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 208c2ecf20Sopenharmony_ci * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 218c2ecf20Sopenharmony_ci * 228c2ecf20Sopenharmony_ci * You should have received a copy of the GNU General Public License along 238c2ecf20Sopenharmony_ci * with this program; if not, write to the Free Software Foundation, Inc., 248c2ecf20Sopenharmony_ci * 675 Mass Ave, Cambridge, MA 02139, USA. 258c2ecf20Sopenharmony_ci * 268c2ecf20Sopenharmony_ci */ 278c2ecf20Sopenharmony_ci#ifndef __ASM_ARCH_IRQS_H 288c2ecf20Sopenharmony_ci#define __ASM_ARCH_IRQS_H 298c2ecf20Sopenharmony_ci 308c2ecf20Sopenharmony_ci/* Base address */ 318c2ecf20Sopenharmony_ci#define DAVINCI_ARM_INTC_BASE 0x01C48000 328c2ecf20Sopenharmony_ci 338c2ecf20Sopenharmony_ci/* Interrupt lines */ 348c2ecf20Sopenharmony_ci#define IRQ_VDINT0 0 358c2ecf20Sopenharmony_ci#define IRQ_VDINT1 1 368c2ecf20Sopenharmony_ci#define IRQ_VDINT2 2 378c2ecf20Sopenharmony_ci#define IRQ_HISTINT 3 388c2ecf20Sopenharmony_ci#define IRQ_H3AINT 4 398c2ecf20Sopenharmony_ci#define IRQ_PRVUINT 5 408c2ecf20Sopenharmony_ci#define IRQ_RSZINT 6 418c2ecf20Sopenharmony_ci#define IRQ_VFOCINT 7 428c2ecf20Sopenharmony_ci#define IRQ_VENCINT 8 438c2ecf20Sopenharmony_ci#define IRQ_ASQINT 9 448c2ecf20Sopenharmony_ci#define IRQ_IMXINT 10 458c2ecf20Sopenharmony_ci#define IRQ_VLCDINT 11 468c2ecf20Sopenharmony_ci#define IRQ_USBINT 12 478c2ecf20Sopenharmony_ci#define IRQ_EMACINT 13 488c2ecf20Sopenharmony_ci 498c2ecf20Sopenharmony_ci#define IRQ_CCINT0 16 508c2ecf20Sopenharmony_ci#define IRQ_CCERRINT 17 518c2ecf20Sopenharmony_ci#define IRQ_TCERRINT0 18 528c2ecf20Sopenharmony_ci#define IRQ_TCERRINT 19 538c2ecf20Sopenharmony_ci#define IRQ_PSCIN 20 548c2ecf20Sopenharmony_ci 558c2ecf20Sopenharmony_ci#define IRQ_IDE 22 568c2ecf20Sopenharmony_ci#define IRQ_HPIINT 23 578c2ecf20Sopenharmony_ci#define IRQ_MBXINT 24 588c2ecf20Sopenharmony_ci#define IRQ_MBRINT 25 598c2ecf20Sopenharmony_ci#define IRQ_MMCINT 26 608c2ecf20Sopenharmony_ci#define IRQ_SDIOINT 27 618c2ecf20Sopenharmony_ci#define IRQ_MSINT 28 628c2ecf20Sopenharmony_ci#define IRQ_DDRINT 29 638c2ecf20Sopenharmony_ci#define IRQ_AEMIFINT 30 648c2ecf20Sopenharmony_ci#define IRQ_VLQINT 31 658c2ecf20Sopenharmony_ci#define IRQ_TINT0_TINT12 32 668c2ecf20Sopenharmony_ci#define IRQ_TINT0_TINT34 33 678c2ecf20Sopenharmony_ci#define IRQ_TINT1_TINT12 34 688c2ecf20Sopenharmony_ci#define IRQ_TINT1_TINT34 35 698c2ecf20Sopenharmony_ci#define IRQ_PWMINT0 36 708c2ecf20Sopenharmony_ci#define IRQ_PWMINT1 37 718c2ecf20Sopenharmony_ci#define IRQ_PWMINT2 38 728c2ecf20Sopenharmony_ci#define IRQ_I2C 39 738c2ecf20Sopenharmony_ci#define IRQ_UARTINT0 40 748c2ecf20Sopenharmony_ci#define IRQ_UARTINT1 41 758c2ecf20Sopenharmony_ci#define IRQ_UARTINT2 42 768c2ecf20Sopenharmony_ci#define IRQ_SPINT0 43 778c2ecf20Sopenharmony_ci#define IRQ_SPINT1 44 788c2ecf20Sopenharmony_ci 798c2ecf20Sopenharmony_ci#define IRQ_DSP2ARM0 46 808c2ecf20Sopenharmony_ci#define IRQ_DSP2ARM1 47 818c2ecf20Sopenharmony_ci#define IRQ_GPIO0 48 828c2ecf20Sopenharmony_ci#define IRQ_GPIO1 49 838c2ecf20Sopenharmony_ci#define IRQ_GPIO2 50 848c2ecf20Sopenharmony_ci#define IRQ_GPIO3 51 858c2ecf20Sopenharmony_ci#define IRQ_GPIO4 52 868c2ecf20Sopenharmony_ci#define IRQ_GPIO5 53 878c2ecf20Sopenharmony_ci#define IRQ_GPIO6 54 888c2ecf20Sopenharmony_ci#define IRQ_GPIO7 55 898c2ecf20Sopenharmony_ci#define IRQ_GPIOBNK0 56 908c2ecf20Sopenharmony_ci#define IRQ_GPIOBNK1 57 918c2ecf20Sopenharmony_ci#define IRQ_GPIOBNK2 58 928c2ecf20Sopenharmony_ci#define IRQ_GPIOBNK3 59 938c2ecf20Sopenharmony_ci#define IRQ_GPIOBNK4 60 948c2ecf20Sopenharmony_ci#define IRQ_COMMTX 61 958c2ecf20Sopenharmony_ci#define IRQ_COMMRX 62 968c2ecf20Sopenharmony_ci#define IRQ_EMUINT 63 978c2ecf20Sopenharmony_ci 988c2ecf20Sopenharmony_ci#define DAVINCI_N_AINTC_IRQ 64 998c2ecf20Sopenharmony_ci 1008c2ecf20Sopenharmony_ci#define ARCH_TIMER_IRQ IRQ_TINT1_TINT34 1018c2ecf20Sopenharmony_ci 1028c2ecf20Sopenharmony_ci/* DaVinci DM6467-specific Interrupts */ 1038c2ecf20Sopenharmony_ci#define IRQ_DM646X_VP_VERTINT0 0 1048c2ecf20Sopenharmony_ci#define IRQ_DM646X_VP_VERTINT1 1 1058c2ecf20Sopenharmony_ci#define IRQ_DM646X_VP_VERTINT2 2 1068c2ecf20Sopenharmony_ci#define IRQ_DM646X_VP_VERTINT3 3 1078c2ecf20Sopenharmony_ci#define IRQ_DM646X_VP_ERRINT 4 1088c2ecf20Sopenharmony_ci#define IRQ_DM646X_RESERVED_1 5 1098c2ecf20Sopenharmony_ci#define IRQ_DM646X_RESERVED_2 6 1108c2ecf20Sopenharmony_ci#define IRQ_DM646X_WDINT 7 1118c2ecf20Sopenharmony_ci#define IRQ_DM646X_CRGENINT0 8 1128c2ecf20Sopenharmony_ci#define IRQ_DM646X_CRGENINT1 9 1138c2ecf20Sopenharmony_ci#define IRQ_DM646X_TSIFINT0 10 1148c2ecf20Sopenharmony_ci#define IRQ_DM646X_TSIFINT1 11 1158c2ecf20Sopenharmony_ci#define IRQ_DM646X_VDCEINT 12 1168c2ecf20Sopenharmony_ci#define IRQ_DM646X_USBINT 13 1178c2ecf20Sopenharmony_ci#define IRQ_DM646X_USBDMAINT 14 1188c2ecf20Sopenharmony_ci#define IRQ_DM646X_PCIINT 15 1198c2ecf20Sopenharmony_ci#define IRQ_DM646X_TCERRINT2 20 1208c2ecf20Sopenharmony_ci#define IRQ_DM646X_TCERRINT3 21 1218c2ecf20Sopenharmony_ci#define IRQ_DM646X_IDE 22 1228c2ecf20Sopenharmony_ci#define IRQ_DM646X_HPIINT 23 1238c2ecf20Sopenharmony_ci#define IRQ_DM646X_EMACRXTHINT 24 1248c2ecf20Sopenharmony_ci#define IRQ_DM646X_EMACRXINT 25 1258c2ecf20Sopenharmony_ci#define IRQ_DM646X_EMACTXINT 26 1268c2ecf20Sopenharmony_ci#define IRQ_DM646X_EMACMISCINT 27 1278c2ecf20Sopenharmony_ci#define IRQ_DM646X_MCASP0TXINT 28 1288c2ecf20Sopenharmony_ci#define IRQ_DM646X_MCASP0RXINT 29 1298c2ecf20Sopenharmony_ci#define IRQ_DM646X_MCASP1TXINT 30 1308c2ecf20Sopenharmony_ci#define IRQ_DM646X_RESERVED_3 31 1318c2ecf20Sopenharmony_ci#define IRQ_DM646X_VLQINT 38 1328c2ecf20Sopenharmony_ci#define IRQ_DM646X_UARTINT2 42 1338c2ecf20Sopenharmony_ci#define IRQ_DM646X_SPINT0 43 1348c2ecf20Sopenharmony_ci#define IRQ_DM646X_SPINT1 44 1358c2ecf20Sopenharmony_ci#define IRQ_DM646X_DSP2ARMINT 45 1368c2ecf20Sopenharmony_ci#define IRQ_DM646X_RESERVED_4 46 1378c2ecf20Sopenharmony_ci#define IRQ_DM646X_PSCINT 47 1388c2ecf20Sopenharmony_ci#define IRQ_DM646X_GPIO0 48 1398c2ecf20Sopenharmony_ci#define IRQ_DM646X_GPIO1 49 1408c2ecf20Sopenharmony_ci#define IRQ_DM646X_GPIO2 50 1418c2ecf20Sopenharmony_ci#define IRQ_DM646X_GPIO3 51 1428c2ecf20Sopenharmony_ci#define IRQ_DM646X_GPIO4 52 1438c2ecf20Sopenharmony_ci#define IRQ_DM646X_GPIO5 53 1448c2ecf20Sopenharmony_ci#define IRQ_DM646X_GPIO6 54 1458c2ecf20Sopenharmony_ci#define IRQ_DM646X_GPIO7 55 1468c2ecf20Sopenharmony_ci#define IRQ_DM646X_GPIOBNK0 56 1478c2ecf20Sopenharmony_ci#define IRQ_DM646X_GPIOBNK1 57 1488c2ecf20Sopenharmony_ci#define IRQ_DM646X_GPIOBNK2 58 1498c2ecf20Sopenharmony_ci#define IRQ_DM646X_DDRINT 59 1508c2ecf20Sopenharmony_ci#define IRQ_DM646X_AEMIFINT 60 1518c2ecf20Sopenharmony_ci 1528c2ecf20Sopenharmony_ci/* DaVinci DM355-specific Interrupts */ 1538c2ecf20Sopenharmony_ci#define IRQ_DM355_CCDC_VDINT0 0 1548c2ecf20Sopenharmony_ci#define IRQ_DM355_CCDC_VDINT1 1 1558c2ecf20Sopenharmony_ci#define IRQ_DM355_CCDC_VDINT2 2 1568c2ecf20Sopenharmony_ci#define IRQ_DM355_IPIPE_HST 3 1578c2ecf20Sopenharmony_ci#define IRQ_DM355_H3AINT 4 1588c2ecf20Sopenharmony_ci#define IRQ_DM355_IPIPE_SDR 5 1598c2ecf20Sopenharmony_ci#define IRQ_DM355_IPIPEIFINT 6 1608c2ecf20Sopenharmony_ci#define IRQ_DM355_OSDINT 7 1618c2ecf20Sopenharmony_ci#define IRQ_DM355_VENCINT 8 1628c2ecf20Sopenharmony_ci#define IRQ_DM355_IMCOPINT 11 1638c2ecf20Sopenharmony_ci#define IRQ_DM355_RTOINT 13 1648c2ecf20Sopenharmony_ci#define IRQ_DM355_TINT4 13 1658c2ecf20Sopenharmony_ci#define IRQ_DM355_TINT2_TINT12 13 1668c2ecf20Sopenharmony_ci#define IRQ_DM355_UARTINT2 14 1678c2ecf20Sopenharmony_ci#define IRQ_DM355_TINT5 14 1688c2ecf20Sopenharmony_ci#define IRQ_DM355_TINT2_TINT34 14 1698c2ecf20Sopenharmony_ci#define IRQ_DM355_TINT6 15 1708c2ecf20Sopenharmony_ci#define IRQ_DM355_TINT3_TINT12 15 1718c2ecf20Sopenharmony_ci#define IRQ_DM355_SPINT1_0 17 1728c2ecf20Sopenharmony_ci#define IRQ_DM355_SPINT1_1 18 1738c2ecf20Sopenharmony_ci#define IRQ_DM355_SPINT2_0 19 1748c2ecf20Sopenharmony_ci#define IRQ_DM355_SPINT2_1 21 1758c2ecf20Sopenharmony_ci#define IRQ_DM355_TINT7 22 1768c2ecf20Sopenharmony_ci#define IRQ_DM355_TINT3_TINT34 22 1778c2ecf20Sopenharmony_ci#define IRQ_DM355_SDIOINT0 23 1788c2ecf20Sopenharmony_ci#define IRQ_DM355_MMCINT0 26 1798c2ecf20Sopenharmony_ci#define IRQ_DM355_MSINT 26 1808c2ecf20Sopenharmony_ci#define IRQ_DM355_MMCINT1 27 1818c2ecf20Sopenharmony_ci#define IRQ_DM355_PWMINT3 28 1828c2ecf20Sopenharmony_ci#define IRQ_DM355_SDIOINT1 31 1838c2ecf20Sopenharmony_ci#define IRQ_DM355_SPINT0_0 42 1848c2ecf20Sopenharmony_ci#define IRQ_DM355_SPINT0_1 43 1858c2ecf20Sopenharmony_ci#define IRQ_DM355_GPIO0 44 1868c2ecf20Sopenharmony_ci#define IRQ_DM355_GPIO1 45 1878c2ecf20Sopenharmony_ci#define IRQ_DM355_GPIO2 46 1888c2ecf20Sopenharmony_ci#define IRQ_DM355_GPIO3 47 1898c2ecf20Sopenharmony_ci#define IRQ_DM355_GPIO4 48 1908c2ecf20Sopenharmony_ci#define IRQ_DM355_GPIO5 49 1918c2ecf20Sopenharmony_ci#define IRQ_DM355_GPIO6 50 1928c2ecf20Sopenharmony_ci#define IRQ_DM355_GPIO7 51 1938c2ecf20Sopenharmony_ci#define IRQ_DM355_GPIO8 52 1948c2ecf20Sopenharmony_ci#define IRQ_DM355_GPIO9 53 1958c2ecf20Sopenharmony_ci#define IRQ_DM355_GPIOBNK0 54 1968c2ecf20Sopenharmony_ci#define IRQ_DM355_GPIOBNK1 55 1978c2ecf20Sopenharmony_ci#define IRQ_DM355_GPIOBNK2 56 1988c2ecf20Sopenharmony_ci#define IRQ_DM355_GPIOBNK3 57 1998c2ecf20Sopenharmony_ci#define IRQ_DM355_GPIOBNK4 58 2008c2ecf20Sopenharmony_ci#define IRQ_DM355_GPIOBNK5 59 2018c2ecf20Sopenharmony_ci#define IRQ_DM355_GPIOBNK6 60 2028c2ecf20Sopenharmony_ci 2038c2ecf20Sopenharmony_ci/* DaVinci DM365-specific Interrupts */ 2048c2ecf20Sopenharmony_ci#define IRQ_DM365_INSFINT 7 2058c2ecf20Sopenharmony_ci#define IRQ_DM365_IMXINT1 8 2068c2ecf20Sopenharmony_ci#define IRQ_DM365_IMXINT0 10 2078c2ecf20Sopenharmony_ci#define IRQ_DM365_KLD_ARMINT 10 2088c2ecf20Sopenharmony_ci#define IRQ_DM365_IMCOPINT 11 2098c2ecf20Sopenharmony_ci#define IRQ_DM365_RTOINT 13 2108c2ecf20Sopenharmony_ci#define IRQ_DM365_TINT5 14 2118c2ecf20Sopenharmony_ci#define IRQ_DM365_TINT6 15 2128c2ecf20Sopenharmony_ci#define IRQ_DM365_SPINT2_1 21 2138c2ecf20Sopenharmony_ci#define IRQ_DM365_TINT7 22 2148c2ecf20Sopenharmony_ci#define IRQ_DM365_SDIOINT0 23 2158c2ecf20Sopenharmony_ci#define IRQ_DM365_MMCINT1 27 2168c2ecf20Sopenharmony_ci#define IRQ_DM365_PWMINT3 28 2178c2ecf20Sopenharmony_ci#define IRQ_DM365_RTCINT 29 2188c2ecf20Sopenharmony_ci#define IRQ_DM365_SDIOINT1 31 2198c2ecf20Sopenharmony_ci#define IRQ_DM365_SPIINT0_0 42 2208c2ecf20Sopenharmony_ci#define IRQ_DM365_SPIINT3_0 43 2218c2ecf20Sopenharmony_ci#define IRQ_DM365_GPIO0 44 2228c2ecf20Sopenharmony_ci#define IRQ_DM365_GPIO1 45 2238c2ecf20Sopenharmony_ci#define IRQ_DM365_GPIO2 46 2248c2ecf20Sopenharmony_ci#define IRQ_DM365_GPIO3 47 2258c2ecf20Sopenharmony_ci#define IRQ_DM365_GPIO4 48 2268c2ecf20Sopenharmony_ci#define IRQ_DM365_GPIO5 49 2278c2ecf20Sopenharmony_ci#define IRQ_DM365_GPIO6 50 2288c2ecf20Sopenharmony_ci#define IRQ_DM365_GPIO7 51 2298c2ecf20Sopenharmony_ci#define IRQ_DM365_EMAC_RXTHRESH 52 2308c2ecf20Sopenharmony_ci#define IRQ_DM365_EMAC_RXPULSE 53 2318c2ecf20Sopenharmony_ci#define IRQ_DM365_EMAC_TXPULSE 54 2328c2ecf20Sopenharmony_ci#define IRQ_DM365_EMAC_MISCPULSE 55 2338c2ecf20Sopenharmony_ci#define IRQ_DM365_GPIO12 56 2348c2ecf20Sopenharmony_ci#define IRQ_DM365_GPIO13 57 2358c2ecf20Sopenharmony_ci#define IRQ_DM365_GPIO14 58 2368c2ecf20Sopenharmony_ci#define IRQ_DM365_GPIO15 59 2378c2ecf20Sopenharmony_ci#define IRQ_DM365_ADCINT 59 2388c2ecf20Sopenharmony_ci#define IRQ_DM365_KEYINT 60 2398c2ecf20Sopenharmony_ci#define IRQ_DM365_TCERRINT2 61 2408c2ecf20Sopenharmony_ci#define IRQ_DM365_TCERRINT3 62 2418c2ecf20Sopenharmony_ci#define IRQ_DM365_EMUINT 63 2428c2ecf20Sopenharmony_ci 2438c2ecf20Sopenharmony_ci/* DA8XX interrupts */ 2448c2ecf20Sopenharmony_ci#define IRQ_DA8XX_COMMTX 0 2458c2ecf20Sopenharmony_ci#define IRQ_DA8XX_COMMRX 1 2468c2ecf20Sopenharmony_ci#define IRQ_DA8XX_NINT 2 2478c2ecf20Sopenharmony_ci#define IRQ_DA8XX_EVTOUT0 3 2488c2ecf20Sopenharmony_ci#define IRQ_DA8XX_EVTOUT1 4 2498c2ecf20Sopenharmony_ci#define IRQ_DA8XX_EVTOUT2 5 2508c2ecf20Sopenharmony_ci#define IRQ_DA8XX_EVTOUT3 6 2518c2ecf20Sopenharmony_ci#define IRQ_DA8XX_EVTOUT4 7 2528c2ecf20Sopenharmony_ci#define IRQ_DA8XX_EVTOUT5 8 2538c2ecf20Sopenharmony_ci#define IRQ_DA8XX_EVTOUT6 9 2548c2ecf20Sopenharmony_ci#define IRQ_DA8XX_EVTOUT7 10 2558c2ecf20Sopenharmony_ci#define IRQ_DA8XX_CCINT0 11 2568c2ecf20Sopenharmony_ci#define IRQ_DA8XX_CCERRINT 12 2578c2ecf20Sopenharmony_ci#define IRQ_DA8XX_TCERRINT0 13 2588c2ecf20Sopenharmony_ci#define IRQ_DA8XX_AEMIFINT 14 2598c2ecf20Sopenharmony_ci#define IRQ_DA8XX_I2CINT0 15 2608c2ecf20Sopenharmony_ci#define IRQ_DA8XX_MMCSDINT0 16 2618c2ecf20Sopenharmony_ci#define IRQ_DA8XX_MMCSDINT1 17 2628c2ecf20Sopenharmony_ci#define IRQ_DA8XX_ALLINT0 18 2638c2ecf20Sopenharmony_ci#define IRQ_DA8XX_RTC 19 2648c2ecf20Sopenharmony_ci#define IRQ_DA8XX_SPINT0 20 2658c2ecf20Sopenharmony_ci#define IRQ_DA8XX_TINT12_0 21 2668c2ecf20Sopenharmony_ci#define IRQ_DA8XX_TINT34_0 22 2678c2ecf20Sopenharmony_ci#define IRQ_DA8XX_TINT12_1 23 2688c2ecf20Sopenharmony_ci#define IRQ_DA8XX_TINT34_1 24 2698c2ecf20Sopenharmony_ci#define IRQ_DA8XX_UARTINT0 25 2708c2ecf20Sopenharmony_ci#define IRQ_DA8XX_KEYMGRINT 26 2718c2ecf20Sopenharmony_ci#define IRQ_DA8XX_SECINT 26 2728c2ecf20Sopenharmony_ci#define IRQ_DA8XX_SECKEYERR 26 2738c2ecf20Sopenharmony_ci#define IRQ_DA8XX_CHIPINT0 28 2748c2ecf20Sopenharmony_ci#define IRQ_DA8XX_CHIPINT1 29 2758c2ecf20Sopenharmony_ci#define IRQ_DA8XX_CHIPINT2 30 2768c2ecf20Sopenharmony_ci#define IRQ_DA8XX_CHIPINT3 31 2778c2ecf20Sopenharmony_ci#define IRQ_DA8XX_TCERRINT1 32 2788c2ecf20Sopenharmony_ci#define IRQ_DA8XX_C0_RX_THRESH_PULSE 33 2798c2ecf20Sopenharmony_ci#define IRQ_DA8XX_C0_RX_PULSE 34 2808c2ecf20Sopenharmony_ci#define IRQ_DA8XX_C0_TX_PULSE 35 2818c2ecf20Sopenharmony_ci#define IRQ_DA8XX_C0_MISC_PULSE 36 2828c2ecf20Sopenharmony_ci#define IRQ_DA8XX_C1_RX_THRESH_PULSE 37 2838c2ecf20Sopenharmony_ci#define IRQ_DA8XX_C1_RX_PULSE 38 2848c2ecf20Sopenharmony_ci#define IRQ_DA8XX_C1_TX_PULSE 39 2858c2ecf20Sopenharmony_ci#define IRQ_DA8XX_C1_MISC_PULSE 40 2868c2ecf20Sopenharmony_ci#define IRQ_DA8XX_MEMERR 41 2878c2ecf20Sopenharmony_ci#define IRQ_DA8XX_GPIO0 42 2888c2ecf20Sopenharmony_ci#define IRQ_DA8XX_GPIO1 43 2898c2ecf20Sopenharmony_ci#define IRQ_DA8XX_GPIO2 44 2908c2ecf20Sopenharmony_ci#define IRQ_DA8XX_GPIO3 45 2918c2ecf20Sopenharmony_ci#define IRQ_DA8XX_GPIO4 46 2928c2ecf20Sopenharmony_ci#define IRQ_DA8XX_GPIO5 47 2938c2ecf20Sopenharmony_ci#define IRQ_DA8XX_GPIO6 48 2948c2ecf20Sopenharmony_ci#define IRQ_DA8XX_GPIO7 49 2958c2ecf20Sopenharmony_ci#define IRQ_DA8XX_GPIO8 50 2968c2ecf20Sopenharmony_ci#define IRQ_DA8XX_I2CINT1 51 2978c2ecf20Sopenharmony_ci#define IRQ_DA8XX_LCDINT 52 2988c2ecf20Sopenharmony_ci#define IRQ_DA8XX_UARTINT1 53 2998c2ecf20Sopenharmony_ci#define IRQ_DA8XX_MCASPINT 54 3008c2ecf20Sopenharmony_ci#define IRQ_DA8XX_ALLINT1 55 3018c2ecf20Sopenharmony_ci#define IRQ_DA8XX_SPINT1 56 3028c2ecf20Sopenharmony_ci#define IRQ_DA8XX_UHPI_INT1 57 3038c2ecf20Sopenharmony_ci#define IRQ_DA8XX_USB_INT 58 3048c2ecf20Sopenharmony_ci#define IRQ_DA8XX_IRQN 59 3058c2ecf20Sopenharmony_ci#define IRQ_DA8XX_RWAKEUP 60 3068c2ecf20Sopenharmony_ci#define IRQ_DA8XX_UARTINT2 61 3078c2ecf20Sopenharmony_ci#define IRQ_DA8XX_DFTSSINT 62 3088c2ecf20Sopenharmony_ci#define IRQ_DA8XX_EHRPWM0 63 3098c2ecf20Sopenharmony_ci#define IRQ_DA8XX_EHRPWM0TZ 64 3108c2ecf20Sopenharmony_ci#define IRQ_DA8XX_EHRPWM1 65 3118c2ecf20Sopenharmony_ci#define IRQ_DA8XX_EHRPWM1TZ 66 3128c2ecf20Sopenharmony_ci#define IRQ_DA8XX_ECAP0 69 3138c2ecf20Sopenharmony_ci#define IRQ_DA8XX_ECAP1 70 3148c2ecf20Sopenharmony_ci#define IRQ_DA8XX_ECAP2 71 3158c2ecf20Sopenharmony_ci#define IRQ_DA8XX_ARMCLKSTOPREQ 90 3168c2ecf20Sopenharmony_ci 3178c2ecf20Sopenharmony_ci/* DA830 specific interrupts */ 3188c2ecf20Sopenharmony_ci#define IRQ_DA830_MPUERR 27 3198c2ecf20Sopenharmony_ci#define IRQ_DA830_IOPUERR 27 3208c2ecf20Sopenharmony_ci#define IRQ_DA830_BOOTCFGERR 27 3218c2ecf20Sopenharmony_ci#define IRQ_DA830_EHRPWM2 67 3228c2ecf20Sopenharmony_ci#define IRQ_DA830_EHRPWM2TZ 68 3238c2ecf20Sopenharmony_ci#define IRQ_DA830_EQEP0 72 3248c2ecf20Sopenharmony_ci#define IRQ_DA830_EQEP1 73 3258c2ecf20Sopenharmony_ci#define IRQ_DA830_T12CMPINT0_0 74 3268c2ecf20Sopenharmony_ci#define IRQ_DA830_T12CMPINT1_0 75 3278c2ecf20Sopenharmony_ci#define IRQ_DA830_T12CMPINT2_0 76 3288c2ecf20Sopenharmony_ci#define IRQ_DA830_T12CMPINT3_0 77 3298c2ecf20Sopenharmony_ci#define IRQ_DA830_T12CMPINT4_0 78 3308c2ecf20Sopenharmony_ci#define IRQ_DA830_T12CMPINT5_0 79 3318c2ecf20Sopenharmony_ci#define IRQ_DA830_T12CMPINT6_0 80 3328c2ecf20Sopenharmony_ci#define IRQ_DA830_T12CMPINT7_0 81 3338c2ecf20Sopenharmony_ci#define IRQ_DA830_T12CMPINT0_1 82 3348c2ecf20Sopenharmony_ci#define IRQ_DA830_T12CMPINT1_1 83 3358c2ecf20Sopenharmony_ci#define IRQ_DA830_T12CMPINT2_1 84 3368c2ecf20Sopenharmony_ci#define IRQ_DA830_T12CMPINT3_1 85 3378c2ecf20Sopenharmony_ci#define IRQ_DA830_T12CMPINT4_1 86 3388c2ecf20Sopenharmony_ci#define IRQ_DA830_T12CMPINT5_1 87 3398c2ecf20Sopenharmony_ci#define IRQ_DA830_T12CMPINT6_1 88 3408c2ecf20Sopenharmony_ci#define IRQ_DA830_T12CMPINT7_1 89 3418c2ecf20Sopenharmony_ci 3428c2ecf20Sopenharmony_ci#define DA830_N_CP_INTC_IRQ 96 3438c2ecf20Sopenharmony_ci 3448c2ecf20Sopenharmony_ci/* DA850 speicific interrupts */ 3458c2ecf20Sopenharmony_ci#define IRQ_DA850_MPUADDRERR0 27 3468c2ecf20Sopenharmony_ci#define IRQ_DA850_MPUPROTERR0 27 3478c2ecf20Sopenharmony_ci#define IRQ_DA850_IOPUADDRERR0 27 3488c2ecf20Sopenharmony_ci#define IRQ_DA850_IOPUPROTERR0 27 3498c2ecf20Sopenharmony_ci#define IRQ_DA850_IOPUADDRERR1 27 3508c2ecf20Sopenharmony_ci#define IRQ_DA850_IOPUPROTERR1 27 3518c2ecf20Sopenharmony_ci#define IRQ_DA850_IOPUADDRERR2 27 3528c2ecf20Sopenharmony_ci#define IRQ_DA850_IOPUPROTERR2 27 3538c2ecf20Sopenharmony_ci#define IRQ_DA850_BOOTCFG_ADDR_ERR 27 3548c2ecf20Sopenharmony_ci#define IRQ_DA850_BOOTCFG_PROT_ERR 27 3558c2ecf20Sopenharmony_ci#define IRQ_DA850_MPUADDRERR1 27 3568c2ecf20Sopenharmony_ci#define IRQ_DA850_MPUPROTERR1 27 3578c2ecf20Sopenharmony_ci#define IRQ_DA850_IOPUADDRERR3 27 3588c2ecf20Sopenharmony_ci#define IRQ_DA850_IOPUPROTERR3 27 3598c2ecf20Sopenharmony_ci#define IRQ_DA850_IOPUADDRERR4 27 3608c2ecf20Sopenharmony_ci#define IRQ_DA850_IOPUPROTERR4 27 3618c2ecf20Sopenharmony_ci#define IRQ_DA850_IOPUADDRERR5 27 3628c2ecf20Sopenharmony_ci#define IRQ_DA850_IOPUPROTERR5 27 3638c2ecf20Sopenharmony_ci#define IRQ_DA850_MIOPU_BOOTCFG_ERR 27 3648c2ecf20Sopenharmony_ci#define IRQ_DA850_SATAINT 67 3658c2ecf20Sopenharmony_ci#define IRQ_DA850_TINT12_2 68 3668c2ecf20Sopenharmony_ci#define IRQ_DA850_TINT34_2 68 3678c2ecf20Sopenharmony_ci#define IRQ_DA850_TINTALL_2 68 3688c2ecf20Sopenharmony_ci#define IRQ_DA850_MMCSDINT0_1 72 3698c2ecf20Sopenharmony_ci#define IRQ_DA850_MMCSDINT1_1 73 3708c2ecf20Sopenharmony_ci#define IRQ_DA850_T12CMPINT0_2 74 3718c2ecf20Sopenharmony_ci#define IRQ_DA850_T12CMPINT1_2 75 3728c2ecf20Sopenharmony_ci#define IRQ_DA850_T12CMPINT2_2 76 3738c2ecf20Sopenharmony_ci#define IRQ_DA850_T12CMPINT3_2 77 3748c2ecf20Sopenharmony_ci#define IRQ_DA850_T12CMPINT4_2 78 3758c2ecf20Sopenharmony_ci#define IRQ_DA850_T12CMPINT5_2 79 3768c2ecf20Sopenharmony_ci#define IRQ_DA850_T12CMPINT6_2 80 3778c2ecf20Sopenharmony_ci#define IRQ_DA850_T12CMPINT7_2 81 3788c2ecf20Sopenharmony_ci#define IRQ_DA850_T12CMPINT0_3 82 3798c2ecf20Sopenharmony_ci#define IRQ_DA850_T12CMPINT1_3 83 3808c2ecf20Sopenharmony_ci#define IRQ_DA850_T12CMPINT2_3 84 3818c2ecf20Sopenharmony_ci#define IRQ_DA850_T12CMPINT3_3 85 3828c2ecf20Sopenharmony_ci#define IRQ_DA850_T12CMPINT4_3 86 3838c2ecf20Sopenharmony_ci#define IRQ_DA850_T12CMPINT5_3 87 3848c2ecf20Sopenharmony_ci#define IRQ_DA850_T12CMPINT6_3 88 3858c2ecf20Sopenharmony_ci#define IRQ_DA850_T12CMPINT7_3 89 3868c2ecf20Sopenharmony_ci#define IRQ_DA850_RPIINT 91 3878c2ecf20Sopenharmony_ci#define IRQ_DA850_VPIFINT 92 3888c2ecf20Sopenharmony_ci#define IRQ_DA850_CCINT1 93 3898c2ecf20Sopenharmony_ci#define IRQ_DA850_CCERRINT1 94 3908c2ecf20Sopenharmony_ci#define IRQ_DA850_TCERRINT2 95 3918c2ecf20Sopenharmony_ci#define IRQ_DA850_TINT12_3 96 3928c2ecf20Sopenharmony_ci#define IRQ_DA850_TINT34_3 96 3938c2ecf20Sopenharmony_ci#define IRQ_DA850_TINTALL_3 96 3948c2ecf20Sopenharmony_ci#define IRQ_DA850_MCBSP0RINT 97 3958c2ecf20Sopenharmony_ci#define IRQ_DA850_MCBSP0XINT 98 3968c2ecf20Sopenharmony_ci#define IRQ_DA850_MCBSP1RINT 99 3978c2ecf20Sopenharmony_ci#define IRQ_DA850_MCBSP1XINT 100 3988c2ecf20Sopenharmony_ci 3998c2ecf20Sopenharmony_ci#define DA850_N_CP_INTC_IRQ 101 4008c2ecf20Sopenharmony_ci 4018c2ecf20Sopenharmony_ci/* da850 currently has the most gpio pins (144) */ 4028c2ecf20Sopenharmony_ci#define DAVINCI_N_GPIO 144 4038c2ecf20Sopenharmony_ci/* da850 currently has the most irqs so use DA850_N_CP_INTC_IRQ */ 4048c2ecf20Sopenharmony_ci 4058c2ecf20Sopenharmony_ci#endif /* __ASM_ARCH_IRQS_H */ 406