zephyr/drivers/ethernet/Kconfig.xlnx_gem
Immo Birnbaum 266875ead0 drivers: ethernet: xlnx_gem: Zynq-7000 support for the Xilinx GEM driver
Add support for the Xilinx Zynq-7000 SoC family to this driver. This
includes some SoC-specific register accesses when setting an updated
TX clock divider, also, the device tree binding now supports higher
MDC clock divisor values when the current target SoC is a Zynq rather
than a ZynqMP.

With regards to the use of this driver in a QEMU simulation of the
Zynq-7000, the Kconfig file is modified so that the driver is not
enabled unless QEMU networking is set to Ethernet mode.

Signed-off-by: Immo Birnbaum <Immo.Birnbaum@weidmueller.com>
2021-10-28 15:26:50 +02:00

27 lines
747 B
Plaintext

#
# Xilinx Processor System Gigabit Ethernet controller (GEM) driver
# configuration options
#
# Copyright (c) 2021, Weidmueller Interface GmbH & Co. KG
# SPDX-License-Identifier: Apache-2.0
#
DT_COMPAT_XLNX_GEM := xlnx,gem
menuconfig ETH_XLNX_GEM
bool "Xilinx GEM Ethernet driver"
default $(dt_compat_enabled,$(DT_COMPAT_XLNX_GEM))
depends on SOC_XILINX_ZYNQMP_RPU || SOC_SERIES_XILINX_ZYNQ7000
depends on !QEMU_TARGET || (QEMU_TARGET && NET_QEMU_ETHERNET)
help
Enable Xilinx GEM Ethernet driver.
config ETH_NIC_MODEL
string
default "cadence_gem"
depends on ETH_XLNX_GEM
help
Value of the -nic parameter to be used when starting QEMU.
This parameter specifies which type of Ethernet controller
shall be simulated by QEMU.