zephyr/boards/arm/efm32pg_stk3402a/Kconfig.defconfig
Piotr Mienkowski a148e11e2a drivers: uart_gecko: use DT_<COMPAT>_<INSTANCE>_<PROP> defines
Use the new DT_<COMPAT>_<INSTANCE>_<PROP> defines to instantiate
devices. This commit adds also ability to define individual pin
locations on SoC series that support the feature. Definitions of GPIO
pins assigned to a given location have been moved from soc_pinmap.h file
to board DTS file.

Signed-off-by: Piotr Mienkowski <piotr.mienkowski@gmail.com>
2019-01-31 03:14:51 -06:00

55 lines
679 B
Text

# Kconfig - EFM32PG STK3402A board
#
# Copyright (c) 2018, Christian Taedcke
#
# SPDX-License-Identifier: Apache-2.0
#
if BOARD_EFM32PG_STK3402A
config BOARD
default "efm32pg_stk3402a"
config CMU_HFXO_FREQ
default 40000000
config CMU_LFXO_FREQ
default 32768
if GPIO_GECKO
config GPIO_GECKO_PORTA
default y
config GPIO_GECKO_PORTB
default y
config GPIO_GECKO_PORTC
default n
config GPIO_GECKO_PORTD
default y
config GPIO_GECKO_PORTE
default n
config GPIO_GECKO_PORTF
default y
endif # GPIO_GECKO
if LEUART_GECKO
config LEUART_GECKO_0
default y
endif # LEUART_GECKO
if I2C_GECKO
config I2C_0
default y
endif # I2C_GECKO
endif # BOARD_EFM32PG_STK3402A