blob: f2b37975f37d989e9f833b09b7390dacd7904aa6 [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) */
Yu Chien Peter Lin739cd6f2022-10-25 23:03:50 +080016 RISCV_SYSCON_PLICSW, /* Andes PLICSW */
Bin Mengb6ee5e12018-12-12 06:12:30 -080017};
18
19#endif /* _ASM_SYSCON_H */