Back to home page

LXR

 
 

    


File indexing completed on 2025-05-11 08:23:04

0001 /* SPDX-License-Identifier: BSD-2-Clause */
0002 
0003 /**
0004  * @file
0005  *
0006  * @ingroup realview-pbx-a9_interrupt
0007  *
0008  * @brief Interrupt definitions.
0009  */
0010 
0011 /*
0012  * Copyright (c) 2013 embedded brains GmbH & Co. KG
0013  *
0014  * Redistribution and use in source and binary forms, with or without
0015  * modification, are permitted provided that the following conditions
0016  * are met:
0017  * 1. Redistributions of source code must retain the above copyright
0018  *    notice, this list of conditions and the following disclaimer.
0019  * 2. Redistributions in binary form must reproduce the above copyright
0020  *    notice, this list of conditions and the following disclaimer in the
0021  *    documentation and/or other materials provided with the distribution.
0022  *
0023  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
0024  * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
0025  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
0026  * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
0027  * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
0028  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
0029  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
0030  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
0031  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
0032  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
0033  * POSSIBILITY OF SUCH DAMAGE.
0034  */
0035 
0036 #ifndef LIBBSP_ARM_REALVIEW_PBX_A9_IRQ_H
0037 #define LIBBSP_ARM_REALVIEW_PBX_A9_IRQ_H
0038 
0039 #ifndef ASM
0040 
0041 #include <rtems/irq.h>
0042 #include <rtems/irq-extension.h>
0043 
0044 #include <bsp/arm-a9mpcore-irq.h>
0045 #include <dev/irq/arm-gic-irq.h>
0046 
0047 /**
0048  * @defgroup realview-pbx-a9_interrupt Interrrupt Support
0049  *
0050  * @ingroup RTEMSBSPsARMRealviewPBXA9
0051  *
0052  * @brief Interrupt support.
0053  */
0054 
0055 #ifdef __cplusplus
0056 extern "C" {
0057 #endif /* __cplusplus */
0058 
0059 #define RVPBXA9_IRQ_WATCHDOG_0 32
0060 #define RVPBXA9_IRQ_SW_IRQ 33
0061 #define RVPBXA9_IRQ_TIMER_0_1 36
0062 #define RVPBXA9_IRQ_TIMER_2_3 37
0063 #define RVPBXA9_IRQ_GPIO_0 38
0064 #define RVPBXA9_IRQ_GPIO_1 39
0065 #define RVPBXA9_IRQ_GPIO_2 40
0066 #define RVPBXA9_IRQ_RTC 42
0067 #define RVPBXA9_IRQ_SSP 43
0068 #define RVPBXA9_IRQ_UART_0 44
0069 #define RVPBXA9_IRQ_UART_1 45
0070 #define RVPBXA9_IRQ_UART_2 46
0071 #define RVPBXA9_IRQ_UART_3 47
0072 #define RVPBXA9_IRQ_SCI 48
0073 #define RVPBXA9_IRQ_MCI_A 49
0074 #define RVPBXA9_IRQ_MCI_B 50
0075 #define RVPBXA9_IRQ_AACI 51
0076 #define RVPBXA9_IRQ_KMI0 52
0077 #define RVPBXA9_IRQ_KMI1 53
0078 #define RVPBXA9_IRQ_CLCD 55
0079 #define RVPBXA9_IRQ_DMAC 56
0080 #define RVPBXA9_IRQ_PWRFAIL 57
0081 #define RVPBXA9_IRQ_CF_INT 59
0082 #define RVPBXA9_IRQ_ETHERNET 60
0083 #define RVPBXA9_IRQ_USB 61
0084 #define RVPBXA9_IRQ_T1_INT_0 64
0085 #define RVPBXA9_IRQ_T1_INT_1 65
0086 #define RVPBXA9_IRQ_T1_INT_2 66
0087 #define RVPBXA9_IRQ_T1_INT_3 67
0088 #define RVPBXA9_IRQ_T1_INT_4 68
0089 #define RVPBXA9_IRQ_T1_INT_5 69
0090 #define RVPBXA9_IRQ_T1_INT_6 70
0091 #define RVPBXA9_IRQ_T1_INT_7 71
0092 #define RVPBXA9_IRQ_WATCHDOG_1 72
0093 #define RVPBXA9_IRQ_TIMER_4_5 73
0094 #define RVPBXA9_IRQ_TIMER_6_7 74
0095 #define RVPBXA9_IRQ_PCI_INTR 80
0096 #define RVPBXA9_IRQ_P_NMI 81
0097 #define RVPBXA9_IRQ_P_NINT_0 82
0098 #define RVPBXA9_IRQ_P_NINT_1 83
0099 #define RVPBXA9_IRQ_P_NINT_2 84
0100 #define RVPBXA9_IRQ_P_NINT_3 85
0101 #define RVPBXA9_IRQ_P_NINT_4 86
0102 #define RVPBXA9_IRQ_P_NINT_5 87
0103 #define RVPBXA9_IRQ_P_NINT_6 88
0104 #define RVPBXA9_IRQ_P_NINT_7 89
0105 
0106 #define BSP_INTERRUPT_VECTOR_COUNT 90
0107 
0108 #ifdef __cplusplus
0109 }
0110 #endif /* __cplusplus */
0111 
0112 #endif /* ASM */
0113 
0114 #endif /* LIBBSP_ARM_REALVIEW_PBX_A9_IRQ_H */