2018-12-12 06:12:30 -08: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 10:52:24 -04: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 06:12:30 -08:00
|
|
|
*/
|
|
|
|
enum {
|
|
|
|
RISCV_NONE,
|
2023-06-21 23:11:46 +08:00
|
|
|
RISCV_SYSCON_ACLINT, /* Advanced Core Local Interruptor (ACLINT) */
|
2022-10-25 23:03:50 +08:00
|
|
|
RISCV_SYSCON_PLICSW, /* Andes PLICSW */
|
2018-12-12 06:12:30 -08:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* _ASM_SYSCON_H */
|