PCI devices can trigger interrupts via 4 physical/virtual lines known as INTA, INTB, INTC or INTD. Due to interrupt swizzling it is often required to describe the interrupt mapping in the device tree. Let's add a define for each type to improve device tree clarity. Signed-off-by: Andrew Murray <andrew.murray@xxxxxxx> --- include/dt-bindings/interrupt-controller/irq.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/include/dt-bindings/interrupt-controller/irq.h b/include/dt-bindings/interrupt-controller/irq.h index 9e3d183e1381..f9063fd661cd 100644 --- a/include/dt-bindings/interrupt-controller/irq.h +++ b/include/dt-bindings/interrupt-controller/irq.h @@ -17,4 +17,12 @@ #define IRQ_TYPE_LEVEL_HIGH 4 #define IRQ_TYPE_LEVEL_LOW 8 +/* Legacy PCI IRQ lines */ +#define IRQ_INTA 1 +#define IRQ_INTB 2 +#define IRQ_INTC 3 +#define IRQ_INTD 4 + +#define IRQ_INT_ALL 7 + #endif -- 2.21.0