1# Copyright (c) 2021 Henrik Brix Andersen <henrik@brixandersen.dk>
2# SPDX-License-Identifier: Apache-2.0
3
4if SOC_SERIES_NEORV32
5
6config SOC_SERIES
7	default "neorv32"
8
9config SYS_CLOCK_HW_CYCLES_PER_SEC
10	default $(dt_node_int_prop_int,/cpus/cpu@0,clock-frequency) if RISCV_MACHINE_TIMER
11
12config NUM_IRQS
13	default 32
14
15config RISCV_HAS_CPU_IDLE
16	default y
17
18config RISCV_GP
19	default y
20
21config SYSCON
22	default y
23
24config SERIAL_INIT_PRIORITY
25	default 55
26	depends on SERIAL
27
28config ENTROPY_INIT_PRIORITY
29	default 55
30	depends on ENTROPY_GENERATOR
31
32endif # SOC_SERIES_NEORV32
33