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. These should only be used for 11 * identifying IPI controllers. Other devices should use DM to probe. 12 */ 13 enum { 14 RISCV_NONE, 15 RISCV_SYSCON_CLINT, /* Core Local Interruptor (CLINT) */ 16 RISCV_SYSCON_PLIC, /* Platform Level Interrupt Controller (PLIC) */ 17 }; 18 19 #endif /* _ASM_SYSCON_H */ 20