aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'arch/riscv/include/asm/syscon.h')
-rw-r--r--arch/riscv/include/asm/syscon.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/arch/riscv/include/asm/syscon.h b/arch/riscv/include/asm/syscon.h
new file mode 100644
index 0000000000..26a008ca59
--- /dev/null
+++ b/arch/riscv/include/asm/syscon.h
@@ -0,0 +1,19 @@
1/* SPDX-License-Identifier: GPL-2.0+ */
2/*
3 * Copyright (C) 2018, Bin Meng <bmeng.cn@gmail.com>
4 */
5
6#ifndef _ASM_SYSCON_H
7#define _ASM_SYSCON_H
8
9/*
10 * System controllers in a RISC-V system
11 */
12enum {
13 RISCV_NONE,
14 RISCV_SYSCON_CLINT, /* Core Local Interruptor (CLINT) */
15 RISCV_SYSCON_PLIC, /* Platform Level Interrupt Controller (PLIC) */
16 RISCV_SYSCON_PLMT, /* Platform Level Machine Timer (PLMT) */
17};
18
19#endif /* _ASM_SYSCON_H */