zephyr/boards/arm/google_kukui/google_kukui_defconfig
Simon Glass 4d7ec57915 board: arm: google_kukui: Enable I2C
Kukui has two I2C ports with various peripherals including a battery
charger and a TCPCi-compatible port controller

Enable I2C so that these can be used. No drivers are provided so far.

Also update the GPIO documentation while we are here.

Signed-off-by: Simon Glass <sjg@chromium.org>
2020-05-01 09:25:19 -04:00

37 lines
660 B
Plaintext

# SPDX-License-Identifier: Apache-2.0
# Zephyr Kernel Configuration
CONFIG_SOC_SERIES_STM32F0X=y
# Platform Configuration
CONFIG_SOC_STM32F098XX=y
CONFIG_BOARD_GOOGLE_KUKUI=y
# Serial Drivers
CONFIG_SERIAL=y
CONFIG_UART_INTERRUPT_DRIVEN=y
# I2C support
CONFIG_I2C=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
# Ideally, we would use HSI48, but this is not supported in
# Zephyr. Use "basic" HSI (8 MHz).
CONFIG_CORTEX_M_SYSTICK=y
CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC=8000000
# SYSCLK selection
CONFIG_CLOCK_STM32_SYSCLK_SRC_HSI=y