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,
|
|
|
|
RISCV_SYSCON_CLINT, /* Core Local Interruptor (CLINT) */
|
2019-04-02 15:56:39 +08:00
|
|
|
RISCV_SYSCON_PLIC, /* Platform Level Interrupt Controller (PLIC) */
|
2018-12-12 06:12:30 -08:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* _ASM_SYSCON_H */
|