1 /* $NetBSD: irq.h,v 1.1.1.1.6.2 2017/08/28 17:53:02 skrll Exp $ */ 2 3 /* 4 * This header provides constants for most IRQ bindings. 5 * 6 * Most IRQ bindings include a flags cell as part of the IRQ specifier. 7 * In most cases, the format of the flags cell uses the standard values 8 * defined in this header. 9 */ 10 11 #ifndef _DT_BINDINGS_INTERRUPT_CONTROLLER_IRQ_H 12 #define _DT_BINDINGS_INTERRUPT_CONTROLLER_IRQ_H 13 14 #define IRQ_TYPE_NONE 0 15 #define IRQ_TYPE_EDGE_RISING 1 16 #define IRQ_TYPE_EDGE_FALLING 2 17 #define IRQ_TYPE_EDGE_BOTH (IRQ_TYPE_EDGE_FALLING | IRQ_TYPE_EDGE_RISING) 18 #define IRQ_TYPE_LEVEL_HIGH 4 19 #define IRQ_TYPE_LEVEL_LOW 8 20 21 #endif 22