18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-only */
28c2ecf20Sopenharmony_ci/*
38c2ecf20Sopenharmony_ci *  include/linux/irqchip/irq-st.h
48c2ecf20Sopenharmony_ci *
58c2ecf20Sopenharmony_ci *  Copyright (C) 2014 STMicroelectronics – All Rights Reserved
68c2ecf20Sopenharmony_ci *
78c2ecf20Sopenharmony_ci *  Author: Lee Jones <lee.jones@linaro.org>
88c2ecf20Sopenharmony_ci */
98c2ecf20Sopenharmony_ci
108c2ecf20Sopenharmony_ci#ifndef _DT_BINDINGS_INTERRUPT_CONTROLLER_ST_H
118c2ecf20Sopenharmony_ci#define _DT_BINDINGS_INTERRUPT_CONTROLLER_ST_H
128c2ecf20Sopenharmony_ci
138c2ecf20Sopenharmony_ci#define ST_IRQ_SYSCFG_EXT_0		0
148c2ecf20Sopenharmony_ci#define ST_IRQ_SYSCFG_EXT_1		1
158c2ecf20Sopenharmony_ci#define ST_IRQ_SYSCFG_EXT_2		2
168c2ecf20Sopenharmony_ci#define ST_IRQ_SYSCFG_CTI_0		3
178c2ecf20Sopenharmony_ci#define ST_IRQ_SYSCFG_CTI_1		4
188c2ecf20Sopenharmony_ci#define ST_IRQ_SYSCFG_PMU_0		5
198c2ecf20Sopenharmony_ci#define ST_IRQ_SYSCFG_PMU_1		6
208c2ecf20Sopenharmony_ci#define ST_IRQ_SYSCFG_pl310_L2		7
218c2ecf20Sopenharmony_ci#define ST_IRQ_SYSCFG_DISABLED		0xFFFFFFFF
228c2ecf20Sopenharmony_ci
238c2ecf20Sopenharmony_ci#define ST_IRQ_SYSCFG_EXT_1_INV		0x1
248c2ecf20Sopenharmony_ci#define ST_IRQ_SYSCFG_EXT_2_INV		0x2
258c2ecf20Sopenharmony_ci#define ST_IRQ_SYSCFG_EXT_3_INV		0x4
268c2ecf20Sopenharmony_ci
278c2ecf20Sopenharmony_ci#endif
28