summaryrefslogtreecommitdiffstats
path: root/include/linux/soc/andes/irq.h
blob: edc3182d6e661e05b31cbe561922f71d28a0e4cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* SPDX-License-Identifier: GPL-2.0-only */
/*
 * Copyright (C) 2023 Andes Technology Corporation
 */
#ifndef __ANDES_IRQ_H
#define __ANDES_IRQ_H

/* Andes PMU irq number */
#define ANDES_RV_IRQ_PMOVI		18
#define ANDES_RV_IRQ_LAST		ANDES_RV_IRQ_PMOVI
#define ANDES_SLI_CAUSE_BASE		256

/* Andes PMU related registers */
#define ANDES_CSR_SLIE			0x9c4
#define ANDES_CSR_SLIP			0x9c5
#define ANDES_CSR_SCOUNTEROF		0x9d4

#endif /* __ANDES_IRQ_H */