1# Copyright (c) 2020 ITE Corporation. All Rights Reserved.
2# SPDX-License-Identifier: Apache-2.0
3
4if SOC_SERIES_IT8XXX2
5
6config ARCH_HAS_CUSTOM_BUSY_WAIT
7	default y
8
9config SYS_CLOCK_HW_CYCLES_PER_SEC
10	default 32768
11
12config SYS_CLOCK_TICKS_PER_SEC
13	default 4096
14
15config UART_NS16550_WA_ISR_REENABLE_INTERRUPT
16	default y
17	depends on UART_NS16550
18
19config FLASH_INIT_PRIORITY
20	default 0
21
22config IT8XXX2_PLL_SEQUENCE_PRIORITY
23	int
24	default 1
25	depends on SOC_IT8XXX2_PLL_FLASH_48M
26
27config VCMP_IT8XXX2_INIT_PRIORITY
28	default 91 if VCMP_IT8XXX2_WORKQUEUE
29
30config NUM_IRQS
31	default 185
32
33config DYNAMIC_INTERRUPTS
34	default y
35
36config GEN_ISR_TABLES
37	default y
38
39config GEN_IRQ_START_VECTOR
40	default 0
41
42config GEN_SW_ISR_TABLE
43	default y
44
45config RISCV_SOC_INTERRUPT_INIT
46	default y
47
48rsource "Kconfig.defconfig.it8*"
49
50endif # SOC_SERIES_IT8XXX2
51