Bin Meng | 644a3cd | 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 | /* |
Sean Anderson | e86463f | 2020-09-28 10:52:24 -0400 | [diff] [blame] | 10 | * System controllers in a RISC-V system. These should only be used for |
| 11 | * identifying IPI controllers. Other devices should use DM to probe. |
Bin Meng | 644a3cd | 2018-12-12 06:12:30 -0800 | [diff] [blame] | 12 | */ |
| 13 | enum { |
| 14 | RISCV_NONE, |
Bin Meng | 9675d92 | 2023-06-21 23:11:46 +0800 | [diff] [blame] | 15 | RISCV_SYSCON_ACLINT, /* Advanced Core Local Interruptor (ACLINT) */ |
Yu Chien Peter Lin | a5dfa3b | 2022-10-25 23:03:50 +0800 | [diff] [blame] | 16 | RISCV_SYSCON_PLICSW, /* Andes PLICSW */ |
Bin Meng | 644a3cd | 2018-12-12 06:12:30 -0800 | [diff] [blame] | 17 | }; |
| 18 | |
| 19 | #endif /* _ASM_SYSCON_H */ |