Bin Meng | b6ee5e1 | 2018-12-12 06:12:30 -0800 | [diff] [blame] | 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 |
Bin Meng | b6ee5e1 | 2018-12-12 06:12:30 -0800 | [diff] [blame] | 11 | */ |
| 12 | enum { |
| 13 | RISCV_NONE, |
| 14 | RISCV_SYSCON_CLINT, /* Core Local Interruptor (CLINT) */ |
Rick Chen | 6df4ed0 | 2019-04-02 15:56:39 +0800 | [diff] [blame] | 15 | RISCV_SYSCON_PLIC, /* Platform Level Interrupt Controller (PLIC) */ |
Rick Chen | 7376677 | 2019-04-02 15:56:40 +0800 | [diff] [blame] | 16 | RISCV_SYSCON_PLMT, /* Platform Level Machine Timer (PLMT) */ |
Bin Meng | b6ee5e1 | 2018-12-12 06:12:30 -0800 | [diff] [blame] | 17 | }; |
| 18 | |
| 19 | #endif /* _ASM_SYSCON_H */ |