summaryrefslogtreecommitdiff
path: root/include/dt-bindings/interrupt-controller/riscv-hart.h
blob: c4331b8521b418a223e077333a0dfdc8a6c6451e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */
/* Copyright (c) 2020-2021 Microchip Technology Inc */

#ifndef _DT_BINDINGS_INTERRUPT_CONTROLLER_RISCV_HART_H
#define _DT_BINDINGS_INTERRUPT_CONTROLLER_RISCV_HART_H

#define HART_INT_U_SOFT   0
#define HART_INT_S_SOFT   1
#define HART_INT_M_SOFT   3
#define HART_INT_U_TIMER  4
#define HART_INT_S_TIMER  5
#define HART_INT_M_TIMER  7
#define HART_INT_U_EXT    8
#define HART_INT_S_EXT    9
#define HART_INT_M_EXT    11

#endif /* _DT_BINDINGS_INTERRUPT_CONTROLLER_RISCV_HART_H */