1 /*
2  * Copyright (c) 2021, Arm Limited and Contributors. All rights reserved.
3  *
4  * SPDX-License-Identifier: MIT
5  *
6  * This header provides constants for most IRQ bindings.
7  *
8  * Most IRQ bindings include a flags cell as part of the IRQ specifier.
9  * In most cases, the format of the flags cell uses the standard values
10  * defined in this header.
11  */
12 
13 #ifndef _DT_BINDINGS_INTERRUPT_CONTROLLER_IRQ_H
14 #define _DT_BINDINGS_INTERRUPT_CONTROLLER_IRQ_H
15 
16 #define IRQ_TYPE_NONE		0
17 #define IRQ_TYPE_EDGE_RISING	1
18 #define IRQ_TYPE_EDGE_FALLING	2
19 #define IRQ_TYPE_EDGE_BOTH	(IRQ_TYPE_EDGE_FALLING | IRQ_TYPE_EDGE_RISING)
20 #define IRQ_TYPE_LEVEL_HIGH	4
21 #define IRQ_TYPE_LEVEL_LOW	8
22 
23 #endif
24