1*8946034aSSimon Glass /* 2*8946034aSSimon Glass * This header provides constants for most IRQ bindings. 3*8946034aSSimon Glass * 4*8946034aSSimon Glass * Most IRQ bindings include a flags cell as part of the IRQ specifier. 5*8946034aSSimon Glass * In most cases, the format of the flags cell uses the standard values 6*8946034aSSimon Glass * defined in this header. 7*8946034aSSimon Glass */ 8*8946034aSSimon Glass 9*8946034aSSimon Glass #ifndef _DT_BINDINGS_INTERRUPT_CONTROLLER_IRQ_H 10*8946034aSSimon Glass #define _DT_BINDINGS_INTERRUPT_CONTROLLER_IRQ_H 11*8946034aSSimon Glass 12*8946034aSSimon Glass #define IRQ_TYPE_NONE 0 13*8946034aSSimon Glass #define IRQ_TYPE_EDGE_RISING 1 14*8946034aSSimon Glass #define IRQ_TYPE_EDGE_FALLING 2 15*8946034aSSimon Glass #define IRQ_TYPE_EDGE_BOTH (IRQ_TYPE_EDGE_FALLING | IRQ_TYPE_EDGE_RISING) 16*8946034aSSimon Glass #define IRQ_TYPE_LEVEL_HIGH 4 17*8946034aSSimon Glass #define IRQ_TYPE_LEVEL_LOW 8 18*8946034aSSimon Glass 19*8946034aSSimon Glass #endif 20