2020-03-26 22:21:48 +08:00
|
|
|
# Distributed Switch Architecture [DSA] configuration options
|
|
|
|
|
|
|
|
# Copyright (c) 2020 DENX Software Engineering GmbH
|
|
|
|
# Lukasz Majewski <lukma@denx.de>
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
2020-04-13 16:23:43 +08:00
|
|
|
menuconfig NET_DSA
|
|
|
|
bool "Distributed Switch Architecture support"
|
2021-05-06 05:14:01 +08:00
|
|
|
depends on ETH_MCUX || ETH_SAM_GMAC
|
2020-04-13 16:23:43 +08:00
|
|
|
help
|
|
|
|
Enable Distributed Switch Architecture support. For now it
|
|
|
|
only supports Kinetics ENET driver.
|
|
|
|
|
|
|
|
if NET_DSA
|
|
|
|
|
2021-05-06 06:17:09 +08:00
|
|
|
config DSA_KSZ8XXX
|
|
|
|
bool
|
|
|
|
|
2020-03-26 22:21:48 +08:00
|
|
|
config DSA_KSZ8794
|
|
|
|
bool "Enable support for KSZ8794"
|
2021-05-06 06:17:09 +08:00
|
|
|
select DSA_KSZ8XXX
|
2020-03-26 22:21:48 +08:00
|
|
|
help
|
|
|
|
Add support for KSZ8794 DSA device driver.
|
|
|
|
|
2021-05-06 05:14:01 +08:00
|
|
|
config DSA_KSZ8863
|
|
|
|
bool "Enable support for KSZ8863"
|
2021-05-06 06:17:09 +08:00
|
|
|
select DSA_KSZ8XXX
|
2020-03-26 22:21:48 +08:00
|
|
|
help
|
2021-05-06 05:14:01 +08:00
|
|
|
Add support for KSZ8863 DSA device driver.
|
|
|
|
|
|
|
|
config DSA_KSZ_TAIL_TAGGING
|
|
|
|
bool "Enable support for tail tagging"
|
|
|
|
depends on DSA_KSZ8794 || DSA_KSZ8863
|
|
|
|
help
|
|
|
|
Add support for tail tagging on DSA device.
|
|
|
|
|
|
|
|
config DSA_SPI
|
|
|
|
bool "Enable support for PHY SPI interface"
|
|
|
|
depends on SPI && (DSA_KSZ8794 || DSA_KSZ8863)
|
|
|
|
help
|
|
|
|
Use SPI bus to communicate with PHY
|
2020-04-13 16:23:43 +08:00
|
|
|
|
|
|
|
module = NET_DSA
|
|
|
|
module-dep = NET_LOG
|
|
|
|
module-str = Log level for DSA
|
|
|
|
module-help = Enables core DSA code to output debug messages.
|
|
|
|
source "subsys/net/Kconfig.template.log_config.net"
|
|
|
|
|
|
|
|
endif # NET_DSA
|