mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-31 11:15:56 +00:00
Convert driver to use new DT_INST macros throughout. Removed per instance Kconfig symbols and replaced with DT_NODELABEL references where needed. Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
96 lines
1.2 KiB
Plaintext
96 lines
1.2 KiB
Plaintext
# FRDM-K64F board
|
|
|
|
# Copyright (c) 2016, Freescale Semiconductor, Inc.
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
if BOARD_FRDM_K64F
|
|
|
|
config BOARD
|
|
default "frdm_k64f"
|
|
|
|
config OSC_XTAL0_FREQ
|
|
default 50000000
|
|
|
|
config MCG_PRDIV0
|
|
default 0x13
|
|
|
|
config MCG_VDIV0
|
|
default 0x18
|
|
|
|
config MCG_FCRDIV
|
|
default 1
|
|
|
|
if PINMUX_MCUX
|
|
|
|
config PINMUX_MCUX_PORTA
|
|
default y
|
|
|
|
config PINMUX_MCUX_PORTB
|
|
default y
|
|
|
|
config PINMUX_MCUX_PORTC
|
|
default y
|
|
|
|
config PINMUX_MCUX_PORTD
|
|
default y if SPI_0 || "$(dt_nodelabel_enabled,uart2)"
|
|
|
|
config PINMUX_MCUX_PORTE
|
|
default y
|
|
|
|
endif # PINMUX_MCUX
|
|
|
|
if GPIO_MCUX
|
|
|
|
config GPIO_MCUX_PORTA
|
|
default y
|
|
|
|
config GPIO_MCUX_PORTB
|
|
default y
|
|
|
|
config GPIO_MCUX_PORTC
|
|
default y
|
|
|
|
config GPIO_MCUX_PORTD
|
|
default y
|
|
|
|
config GPIO_MCUX_PORTE
|
|
default y
|
|
|
|
endif # GPIO_MCUX
|
|
|
|
config I2C_0
|
|
default y
|
|
depends on I2C
|
|
|
|
config ADC_1
|
|
default y
|
|
depends on ADC
|
|
|
|
config TEMP_KINETIS
|
|
default y if ADC_1
|
|
depends on SENSOR
|
|
|
|
config PWM_3
|
|
default y
|
|
depends on PWM_MCUX_FTM
|
|
|
|
config SPI_0
|
|
default y
|
|
depends on SPI
|
|
|
|
if NETWORKING
|
|
|
|
config NET_L2_ETHERNET
|
|
default y if !MODEM
|
|
|
|
config ETH_MCUX_0
|
|
default y if NET_L2_ETHERNET
|
|
|
|
endif # NETWORKING
|
|
|
|
config CAN_0
|
|
default y
|
|
depends on CAN
|
|
|
|
endif # BOARD_FRDM_K64F
|