1# Copyright (c) 2020 ITE Corporation. All Rights Reserved.
2# SPDX-License-Identifier: Apache-2.0
3
4choice
5prompt "ITE IT8XXX2 system implementation"
6depends on SOC_SERIES_RISCV32_IT8XXX2
7
8config SOC_IT8XXX2
9	bool "ITE IT8XXX2 system implementation"
10	select RISCV
11	select ATOMIC_OPERATIONS_BUILTIN
12
13endchoice
14
15if SOC_IT8XXX2
16
17config SOC_IT8XXX2_PLL_FLASH_48M
18	bool "Flash frequency is 48MHz"
19	default y
20	help
21	  Change frequency of PLL, CPU, and flash to 48MHz during initialization.
22
23	  Set n to use the default settings.
24	  (PLL and CPU run at 48MHz, flash frequency is 16MHz)
25
26choice
27	prompt "Clock source for PLL reference clock"
28
29config SOC_IT8XXX2_INT_32K
30	bool "Use the +/-2.3% internal clock generator"
31
32config SOC_IT8XXX2_EXT_32K
33	bool "Use external 32.768 kHz clock source"
34
35endchoice
36
37endif # SOC_IT8XXX2
38