1# SPDX-License-Identifier: Apache-2.0
2# Copyright (c) 2024 sensry.io
3
4if SOC_SERIES_SY1XX
5
6config RISCV_PMP
7	default n
8
9config RISCV_HAS_CLIC
10	default n
11
12config RISCV_VECTORED_MODE
13	default y
14
15config INCLUDE_RESET_VECTOR
16	default y
17
18config GEN_IRQ_VECTOR_TABLE
19	default y
20
21config RISCV_GENERIC_TOOLCHAIN
22	default y if "$(ZEPHYR_TOOLCHAIN_VARIANT)" = "zephyr"
23
24config RV_BOOT_HART
25	# default cluster id 0x3e, core 0 (FC) => 0x3e0 == 992
26	default 992
27
28config RISCV_SOC_CONTEXT_SAVE
29	default n
30
31config RISCV_SOC_OFFSETS
32	default n
33
34config NUM_IRQS
35	default 32
36
37config RISCV_SOC_INTERRUPT_INIT
38	default y
39
40config RISCV_SOC_HAS_ISR_STACKING
41	default n
42
43config DYNAMIC_INTERRUPTS
44	default y
45
46config GEN_ISR_TABLES
47	default y
48
49config RISCV_MCAUSE_EXCEPTION_MASK
50	default 0x1F
51
52config SYS_CLOCK_HW_CYCLES_PER_SEC
53	default 32768
54
55config SYS_CLOCK_TICKS_PER_SEC
56	default 993
57
58config USE_DT_CODE_PARTITION
59	default y
60
61config RISCV_SOC_HAS_CUSTOM_IRQ_LOCK_OPS
62	default n
63
64config RISCV_SOC_EXCEPTION_FROM_IRQ
65	default y
66
67config INIT_STACKS
68	default y
69
70config XIP
71	default n
72
73config TIMESLICE_SIZE
74	default 10
75
76endif
77