blob: c3629e4b53d6a16156a5df6ef8929787e8dcabe8 [file] [log] [blame]
Bin Mengb6ee5e12018-12-12 06:12:30 -08001/* 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 Anderson87e6ce52020-09-28 10:52:24 -040010 * 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 Mengb6ee5e12018-12-12 06:12:30 -080012 */
13enum {
14 RISCV_NONE,
15 RISCV_SYSCON_CLINT, /* Core Local Interruptor (CLINT) */
Rick Chen6df4ed02019-04-02 15:56:39 +080016 RISCV_SYSCON_PLIC, /* Platform Level Interrupt Controller (PLIC) */
Bin Mengb6ee5e12018-12-12 06:12:30 -080017};
18
19#endif /* _ASM_SYSCON_H */