zephyr/boards/arm/ip_k66f/Kconfig.defconfig
Lukasz Majewski 460d5543d5 dsa: ip_k66f: Enable support for KSZ8794 DSA device on ip_k66f board
This change enables support for KSZ8794 DSA device on the ip_k66f
board. Each LAN port is defined as a DTS subnode.

Signed-off-by: Lukasz Majewski <lukma@denx.de>
2021-01-20 10:03:42 +02:00

47 lines
603 B
Plaintext

# 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
default 12000000
config MCG_PRDIV0
default 0x0
config MCG_VDIV0
default 0xe
config MCG_FCRDIV
default 1
if NETWORKING
config NET_L2_ETHERNET
default y
config ETH_MCUX
default y if NET_L2_ETHERNET
config ETH_MCUX_RMII_EXT_CLK
default y if ETH_MCUX
config ETH_MCUX_NO_PHY_SMI
default y if ETH_MCUX
endif # NETWORKING
if NET_DSA
config DSA_KSZ8794
default y if SPI
endif # NET_DSA
endif # BOARD_IP_K66F