source: rtems/bsps/arm/realview-pbx-a9/include/bsp/irq.h @ 00e0fb9

Last change on this file since 00e0fb9 was 00e0fb9, checked in by Joel Sherrill <joel@…>, on 06/27/22 at 13:49:01

bsps/arm/realview-pbx-a9: Change license to BSD-2

Updates #3053.

  • Property mode set to 100644
File size: 3.4 KB
Line 
1/* SPDX-License-Identifier: BSD-2-Clause */
2
3/**
4 * @file
5 *
6 * @ingroup realview-pbx-a9_interrupt
7 *
8 * @brief Interrupt definitions.
9 */
10
11/*
12 * Copyright (c) 2013 embedded brains GmbH.  All rights reserved.
13 *
14 * Redistribution and use in source and binary forms, with or without
15 * modification, are permitted provided that the following conditions
16 * are met:
17 * 1. Redistributions of source code must retain the above copyright
18 *    notice, this list of conditions and the following disclaimer.
19 * 2. Redistributions in binary form must reproduce the above copyright
20 *    notice, this list of conditions and the following disclaimer in the
21 *    documentation and/or other materials provided with the distribution.
22 *
23 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
24 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
25 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
26 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
27 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
28 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
29 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
30 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
31 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
32 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
33 * POSSIBILITY OF SUCH DAMAGE.
34 */
35
36#ifndef LIBBSP_ARM_REALVIEW_PBX_A9_IRQ_H
37#define LIBBSP_ARM_REALVIEW_PBX_A9_IRQ_H
38
39#ifndef ASM
40
41#include <rtems/irq.h>
42#include <rtems/irq-extension.h>
43
44#include <bsp/arm-a9mpcore-irq.h>
45#include <dev/irq/arm-gic-irq.h>
46
47/**
48 * @defgroup realview-pbx-a9_interrupt Interrrupt Support
49 *
50 * @ingroup RTEMSBSPsARMRealviewPBXA9
51 *
52 * @brief Interrupt support.
53 */
54
55#ifdef __cplusplus
56extern "C" {
57#endif /* __cplusplus */
58
59#define RVPBXA9_IRQ_WATCHDOG_0 32
60#define RVPBXA9_IRQ_SW_IRQ 33
61#define RVPBXA9_IRQ_TIMER_0_1 36
62#define RVPBXA9_IRQ_TIMER_2_3 37
63#define RVPBXA9_IRQ_GPIO_0 38
64#define RVPBXA9_IRQ_GPIO_1 39
65#define RVPBXA9_IRQ_GPIO_2 40
66#define RVPBXA9_IRQ_RTC 42
67#define RVPBXA9_IRQ_SSP 43
68#define RVPBXA9_IRQ_UART_0 44
69#define RVPBXA9_IRQ_UART_1 45
70#define RVPBXA9_IRQ_UART_2 46
71#define RVPBXA9_IRQ_UART_3 47
72#define RVPBXA9_IRQ_SCI 48
73#define RVPBXA9_IRQ_MCI_A 49
74#define RVPBXA9_IRQ_MCI_B 50
75#define RVPBXA9_IRQ_AACI 51
76#define RVPBXA9_IRQ_KMI0 52
77#define RVPBXA9_IRQ_KMI1 53
78#define RVPBXA9_IRQ_CLCD 55
79#define RVPBXA9_IRQ_DMAC 56
80#define RVPBXA9_IRQ_PWRFAIL 57
81#define RVPBXA9_IRQ_CF_INT 59
82#define RVPBXA9_IRQ_ETHERNET 60
83#define RVPBXA9_IRQ_USB 61
84#define RVPBXA9_IRQ_T1_INT_0 64
85#define RVPBXA9_IRQ_T1_INT_1 65
86#define RVPBXA9_IRQ_T1_INT_2 66
87#define RVPBXA9_IRQ_T1_INT_3 67
88#define RVPBXA9_IRQ_T1_INT_4 68
89#define RVPBXA9_IRQ_T1_INT_5 69
90#define RVPBXA9_IRQ_T1_INT_6 70
91#define RVPBXA9_IRQ_T1_INT_7 71
92#define RVPBXA9_IRQ_WATCHDOG_1 72
93#define RVPBXA9_IRQ_TIMER_4_5 73
94#define RVPBXA9_IRQ_TIMER_6_7 74
95#define RVPBXA9_IRQ_PCI_INTR 80
96#define RVPBXA9_IRQ_P_NMI 81
97#define RVPBXA9_IRQ_P_NINT_0 82
98#define RVPBXA9_IRQ_P_NINT_1 83
99#define RVPBXA9_IRQ_P_NINT_2 84
100#define RVPBXA9_IRQ_P_NINT_3 85
101#define RVPBXA9_IRQ_P_NINT_4 86
102#define RVPBXA9_IRQ_P_NINT_5 87
103#define RVPBXA9_IRQ_P_NINT_6 88
104#define RVPBXA9_IRQ_P_NINT_7 89
105
106#define BSP_INTERRUPT_VECTOR_COUNT 90
107
108#ifdef __cplusplus
109}
110#endif /* __cplusplus */
111
112#endif /* ASM */
113
114#endif /* LIBBSP_ARM_REALVIEW_PBX_A9_IRQ_H */
Note: See TracBrowser for help on using the repository browser.