1# Copyright (C) 2023, Intel Corporation
2# SPDX-License-Identifier: Apache-2.0
3
4if SOC_SERIES_NIOSV
5
6config SOC_SERIES
7	default "niosv"
8
9config SYS_CLOCK_HW_CYCLES_PER_SEC
10	default $(dt_node_int_prop_int,/cpus/cpu@0,clock-frequency)
11
12config NUM_IRQS # Platform interrupts IRQs index start from index 16
13	default 32
14
15config RISCV_HAS_CPU_IDLE
16	default y
17
18config RISCV_GP
19	default y
20
21config RISCV_SOC_INTERRUPT_INIT
22	default y
23
24endif # SOC_SERIES_NIOSV
25