1# Copyright (c) 2021 Andes Technology Corporation
2# SPDX-License-Identifier: Apache-2.0
3
4if SOC_SERIES_ANDES_AE350
5
6# Kconfig picks the first default with a satisfied condition.
7# SoC defaults should be parsed before SoC Series defaults, because SoCs usually
8# overrides SoC Series values.
9rsource "Kconfig.defconfig.ae*"
10
11config SYS_CLOCK_HW_CYCLES_PER_SEC
12	default 60000000
13
14config KERNEL_ENTRY
15	default "entry"
16
17config RISCV_GENERIC_TOOLCHAIN
18	default y if "$(ZEPHYR_TOOLCHAIN_VARIANT)" = "zephyr"
19	default n
20
21config RISCV_SOC_INTERRUPT_INIT
22	default y
23
24config RISCV_GP
25	default y
26
27config 2ND_LVL_ISR_TBL_OFFSET
28	default 12
29
30config 2ND_LVL_INTR_00_OFFSET
31	default 11
32
33config MAX_IRQ_PER_AGGREGATOR
34	default 52
35
36config NUM_IRQS
37	default 64
38
39choice CACHE_TYPE
40	default EXTERNAL_CACHE
41endchoice
42
43endif # SOC_SERIES_ANDES_AE350
44