Patrice Chotard | 51cb23d | 2017-02-21 13:37:11 +0100 | [diff] [blame] | 1 | /* |
| 2 | * include/linux/irqchip/irq-st.h |
| 3 | * |
| 4 | * Copyright (C) 2014 STMicroelectronics All Rights Reserved |
| 5 | * |
| 6 | * Author: Lee Jones <lee.jones@linaro.org> |
| 7 | * |
| 8 | * This program is free software; you can redistribute it and/or modify |
| 9 | * it under the terms of the GNU General Public License version 2 as |
| 10 | * published by the Free Software Foundation. |
| 11 | */ |
| 12 | |
| 13 | #ifndef _DT_BINDINGS_INTERRUPT_CONTROLLER_ST_H |
| 14 | #define _DT_BINDINGS_INTERRUPT_CONTROLLER_ST_H |
| 15 | |
| 16 | #define ST_IRQ_SYSCFG_EXT_0 0 |
| 17 | #define ST_IRQ_SYSCFG_EXT_1 1 |
| 18 | #define ST_IRQ_SYSCFG_EXT_2 2 |
| 19 | #define ST_IRQ_SYSCFG_CTI_0 3 |
| 20 | #define ST_IRQ_SYSCFG_CTI_1 4 |
| 21 | #define ST_IRQ_SYSCFG_PMU_0 5 |
| 22 | #define ST_IRQ_SYSCFG_PMU_1 6 |
| 23 | #define ST_IRQ_SYSCFG_pl310_L2 7 |
| 24 | #define ST_IRQ_SYSCFG_DISABLED 0xFFFFFFFF |
| 25 | |
| 26 | #define ST_IRQ_SYSCFG_EXT_1_INV 0x1 |
| 27 | #define ST_IRQ_SYSCFG_EXT_2_INV 0x2 |
| 28 | #define ST_IRQ_SYSCFG_EXT_3_INV 0x4 |
| 29 | |
| 30 | #endif |