The Xilinx AXI Ethernet subsystem is commonly found in FPGA designs. This patch adds a driver and device tree bindings for the Ethernet MAC core and its MDIO controller. The driver was tested on a RISC-V softcore in an FPGA design, with an RGMII phy and Ethernet subsystem version 7.2 Rev. 14. Device tree bindings match the device tree generated by Vitis hsi. Note that Vitis generates one of the two included compatible strings depending on version. Signed-off-by: Eric Ackermann <eric.ackermann@cispa.de>
57 lines
1.4 KiB
Plaintext
57 lines
1.4 KiB
Plaintext
# MDIO configuration options
|
|
|
|
# Copyright (c) 2021 IP-Logix Inc.
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
#
|
|
# MDIO options
|
|
#
|
|
menuconfig MDIO
|
|
bool "Management Data Input/Output (MDIO) drivers"
|
|
help
|
|
Enable MDIO Driver Configuration
|
|
|
|
if MDIO
|
|
|
|
config MDIO_SHELL
|
|
bool "MDIO Shell"
|
|
depends on SHELL
|
|
help
|
|
Enable MDIO Shell.
|
|
|
|
The MDIO shell currently supports scanning and device
|
|
read/write.
|
|
|
|
# Include these first so that any properties (e.g. defaults) below can be
|
|
# overridden (by defining symbols in multiple locations)
|
|
source "drivers/mdio/Kconfig.esp32"
|
|
source "drivers/mdio/Kconfig.sam"
|
|
source "drivers/mdio/Kconfig.nxp_imx_netc"
|
|
source "drivers/mdio/Kconfig.nxp_s32_netc"
|
|
source "drivers/mdio/Kconfig.nxp_s32_gmac"
|
|
source "drivers/mdio/Kconfig.adin2111"
|
|
source "drivers/mdio/Kconfig.gpio"
|
|
source "drivers/mdio/Kconfig.litex"
|
|
source "drivers/mdio/Kconfig.nxp_enet"
|
|
source "drivers/mdio/Kconfig.stm32_hal"
|
|
source "drivers/mdio/Kconfig.xmc4xxx"
|
|
source "drivers/mdio/Kconfig.nxp_enet_qos"
|
|
source "drivers/mdio/Kconfig.dwcxgmac"
|
|
source "drivers/mdio/Kconfig.renesas_ra"
|
|
source "drivers/mdio/Kconfig.lan865x"
|
|
source "drivers/mdio/Kconfig.sy1xx"
|
|
source "drivers/mdio/Kconfig.xilinx_axienet"
|
|
|
|
config MDIO_INIT_PRIORITY
|
|
int "Init priority"
|
|
default 60
|
|
help
|
|
MDIO device driver initialization priority.
|
|
|
|
|
|
module = MDIO
|
|
module-str = mdio
|
|
source "subsys/logging/Kconfig.template.log_config"
|
|
|
|
endif # MDIO
|