1# Copyright (c) 2021 Andes Technology Corporation 2# SPDX-License-Identifier: Apache-2.0 3 4if SOC_SERIES_RISCV_ANDES_V5 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. 9source "soc/riscv/riscv-privilege/andes_v5/Kconfig.defconfig.ae*" 10 11config SOC_SERIES 12 default "andes_v5" 13 14config SYS_CLOCK_HW_CYCLES_PER_SEC 15 default 60000000 16 17config KERNEL_ENTRY 18 default "entry" 19 20config RISCV_GENERIC_TOOLCHAIN 21 default y if "$(ZEPHYR_TOOLCHAIN_VARIANT)" = "zephyr" 22 default n 23 24config RISCV_SOC_INTERRUPT_INIT 25 default y 26 27config RISCV_HAS_CPU_IDLE 28 default y 29 30config RISCV_HAS_PLIC 31 default y 32 33config RISCV_GP 34 default y 35 36config 2ND_LVL_ISR_TBL_OFFSET 37 default 12 38 39config 2ND_LVL_INTR_00_OFFSET 40 default 11 41 42config MAX_IRQ_PER_AGGREGATOR 43 default 52 44 45config NUM_IRQS 46 default 64 47 48endif # SOC_SERIES_RISCV_ANDES_V5 49