summaryrefslogtreecommitdiff
path: root/zephyr/projects/kohaku/boards/arm/kohaku/kohaku_defconfig
blob: 30b80190c89b86f99810653ae14cab5c9c7982b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Copyright 2021 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

# Zephyr Kernel Configuration
CONFIG_SOC_SERIES_NPCX7=y
CONFIG_SOC_NPCX7M6FC=y

# Platform Configuration
CONFIG_BOARD_KOHAKU=y

# Enable NPCX firmware header generator
CONFIG_NPCX_HEADER=y
CONFIG_NPCX_HEADER_SPI_MAX_CLOCK_50=y
CONFIG_NPCX_HEADER_SPI_READ_MODE_DUAL=y
CONFIG_NPCX_HEADER_CORE_CLOCK_SPI_CLOCK_RATIO_2=y

# Serial Drivers
CONFIG_SERIAL=y
CONFIG_UART_INTERRUPT_DRIVEN=y

# Enable console
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y

# Pinmux Driver
CONFIG_PINMUX=y

# GPIO Controller
CONFIG_GPIO=y

# Clock configuration
CONFIG_CLOCK_CONTROL=y

# WATCHDOG configuration
CONFIG_WATCHDOG=y