2018-12-12 14:12:30 +00:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
|
|
/*
|
|
|
|
* Copyright (C) 2018, Bin Meng <bmeng.cn@gmail.com>
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _ASM_SYSCON_H
|
|
|
|
#define _ASM_SYSCON_H
|
|
|
|
|
|
|
|
/*
|
2020-09-28 14:52:24 +00:00
|
|
|
* System controllers in a RISC-V system. These should only be used for
|
|
|
|
* identifying IPI controllers. Other devices should use DM to probe.
|
2018-12-12 14:12:30 +00:00
|
|
|
*/
|
|
|
|
enum {
|
|
|
|
RISCV_NONE,
|
|
|
|
RISCV_SYSCON_CLINT, /* Core Local Interruptor (CLINT) */
|
2022-10-25 15:03:50 +00:00
|
|
|
RISCV_SYSCON_PLICSW, /* Andes PLICSW */
|
2018-12-12 14:12:30 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* _ASM_SYSCON_H */
|