xref: /linux/include/linux/soc/andes/irq.h (revision 79790b6818e96c58fe2bffee1b418c16e64e7b80)
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3  * Copyright (C) 2023 Andes Technology Corporation
4  */
5 #ifndef __ANDES_IRQ_H
6 #define __ANDES_IRQ_H
7 
8 /* Andes PMU irq number */
9 #define ANDES_RV_IRQ_PMOVI		18
10 #define ANDES_RV_IRQ_LAST		ANDES_RV_IRQ_PMOVI
11 #define ANDES_SLI_CAUSE_BASE		256
12 
13 /* Andes PMU related registers */
14 #define ANDES_CSR_SLIE			0x9c4
15 #define ANDES_CSR_SLIP			0x9c5
16 #define ANDES_CSR_SCOUNTEROF		0x9d4
17 
18 #endif /* __ANDES_IRQ_H */
19