2020-02-12 05:48:20 +08:00
|
|
|
# IP-K66F board
|
|
|
|
|
|
|
|
# Copyright (c) 2020 DENX Software Engineering GmbH
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
|
|
|
if BOARD_IP_K66F
|
|
|
|
|
|
|
|
config BOARD
|
|
|
|
default "ip_k66f"
|
|
|
|
|
|
|
|
config OSC_XTAL0_FREQ
|
2020-03-29 20:14:18 +08:00
|
|
|
default 12000000
|
2020-02-12 05:48:20 +08:00
|
|
|
|
|
|
|
config MCG_PRDIV0
|
|
|
|
default 0x0
|
|
|
|
|
|
|
|
config MCG_VDIV0
|
2020-03-29 20:16:19 +08:00
|
|
|
default 0xe
|
2020-02-12 05:48:20 +08:00
|
|
|
|
|
|
|
config MCG_FCRDIV
|
|
|
|
default 1
|
|
|
|
|
2020-03-29 16:37:42 +08:00
|
|
|
if NETWORKING
|
|
|
|
|
|
|
|
config NET_L2_ETHERNET
|
|
|
|
default y
|
|
|
|
|
|
|
|
config ETH_MCUX
|
|
|
|
default y if NET_L2_ETHERNET
|
|
|
|
|
|
|
|
config ETH_MCUX_0
|
|
|
|
default y if ETH_MCUX
|
|
|
|
|
|
|
|
endif # NETWORKING
|
|
|
|
|
2020-02-12 05:48:20 +08:00
|
|
|
if PINMUX_MCUX
|
|
|
|
|
|
|
|
config PINMUX_MCUX_PORTA
|
|
|
|
default y
|
|
|
|
|
|
|
|
config PINMUX_MCUX_PORTB
|
2020-04-22 22:19:31 +08:00
|
|
|
default y if "$(dt_nodelabel_enabled,spi1)" && SPI
|
2020-02-12 05:48:20 +08:00
|
|
|
|
2020-03-29 16:37:42 +08:00
|
|
|
config PINMUX_MCUX_PORTE
|
|
|
|
default y if "$(dt_nodelabel_enabled,enet)" && NET_L2_ETHERNET
|
|
|
|
|
2020-02-12 05:48:20 +08:00
|
|
|
endif # PINMUX_MCUX
|
|
|
|
|
|
|
|
endif # BOARD_IP_K66F
|