Merge tag 'u-boot-imx-20200825' of https://gitlab.denx.de/u-boot/custodians/u-boot-imx
[platform/kernel/u-boot.git] / drivers / net / Kconfig
index 6eb22df..039f9fb 100644 (file)
@@ -1,5 +1,6 @@
 source "drivers/net/phy/Kconfig"
 source "drivers/net/pfe_eth/Kconfig"
+source "drivers/net/fsl-mc/Kconfig"
 
 config DM_ETH
        bool "Enable Driver Model for Ethernet drivers"
@@ -56,6 +57,12 @@ config MDIO_MUX_SANDBOX
 
          This driver is used for testing in test/dm/mdio.c
 
+config DM_ETH_PHY
+       bool "Enable Driver Model for Ethernet Generic PHY drivers"
+       depends on DM
+       help
+         Enable driver model for Ethernet Generic PHY .
+
 menuconfig NETDEVICES
        bool "Network device support"
        depends on NET
@@ -135,6 +142,13 @@ config BCM6368_ETH
        help
          This driver supports the BCM6368 Ethernet MAC.
 
+config BCMGENET
+       bool "BCMGENET V5 support"
+       depends on DM_ETH
+       select PHYLIB
+       help
+         This driver supports the BCMGENET Ethernet MAC.
+
 config DWC_ETH_QOS
        bool "Synopsys DWC Ethernet QOS device support"
        depends on DM_ETH
@@ -142,12 +156,34 @@ config DWC_ETH_QOS
        help
          This driver supports the Synopsys Designware Ethernet QOS (Quality
          Of Service) IP block. The IP supports many options for bus type,
-         clocking/reset structure, and feature list. This driver currently
-         supports the specific configuration used in NVIDIA's Tegra186 chip,
-         but should be extensible to other combinations quite easily.
+         clocking/reset structure, and feature list.
+
+config DWC_ETH_QOS_IMX
+       bool "Synopsys DWC Ethernet QOS device support for IMX"
+       depends on DWC_ETH_QOS
+       help
+         The Synopsys Designware Ethernet QOS IP block with the specific
+         configuration used in IMX soc.
+
+config DWC_ETH_QOS_STM32
+       bool "Synopsys DWC Ethernet QOS device support for STM32"
+       depends on DWC_ETH_QOS
+       default y if ARCH_STM32MP
+       help
+         The Synopsys Designware Ethernet QOS IP block with the specific
+         configuration used in STM32MP soc.
+
+config DWC_ETH_QOS_TEGRA186
+       bool "Synopsys DWC Ethernet QOS device support for TEGRA186"
+       depends on DWC_ETH_QOS
+       default y if TEGRA186
+       help
+         The Synopsys Designware Ethernet QOS IP block with specific
+         configuration used in NVIDIA's Tegra186 chip.
 
 config E1000
        bool "Intel PRO/1000 Gigabit Ethernet support"
+       depends on (DM_ETH && DM_PCI) || !DM_ETH
        help
          This driver supports Intel(R) PRO/1000 gigabit ethernet family of
          adapters.  For more information on how to identify your adapter, go
@@ -178,6 +214,12 @@ config CMD_E1000
          used on devices with SPI support you can reprogram the EEPROM from
          U-Boot.
 
+config EEPRO100
+       bool "Intel PRO/100 82557/82559/82559ER Fast Ethernet support"
+       help
+         This driver supports Intel(R) PRO/100 82557/82559/82559ER fast
+         ethernet family of adapters.
+
 config ETH_SANDBOX
        depends on DM_ETH && SANDBOX
        default y
@@ -217,6 +259,13 @@ config ETH_DESIGNWARE_SOCFPGA
          Altera system manager to correctly interface with the PHY.
          This code handles those SoC specifics.
 
+config ETH_DESIGNWARE_S700
+       bool "Actins S700 glue driver for Synopsys Designware Ethernet MAC"
+       depends on DM_ETH && ETH_DESIGNWARE
+       help
+         This provides glue layer to use Synopsys Designware Ethernet MAC
+         present on Actions S700 SoC.
+
 config ETHOC
        bool "OpenCores 10/100 Mbps Ethernet MAC"
        help
@@ -235,7 +284,7 @@ config FEC_MXC_MDIO_BASE
 
 config FEC_MXC
        bool "FEC Ethernet controller"
-       depends on MX28 || MX5 || MX6 || MX7 || IMX8 || VF610
+       depends on MX28 || MX5 || MX6 || MX7 || IMX8 || IMX8M || VF610
        help
          This driver supports the 10/100 Fast Ethernet controller for
          NXP i.MX processors.
@@ -277,9 +326,39 @@ config FTGMAC100
          applications.
 
 
+config MCFFEC
+       bool "ColdFire Ethernet Support"
+       depends on DM_ETH
+       select PHYLIB
+       help
+         This driver supports the network interface units in the
+         ColdFire family.
+
+config FSLDMAFEC
+        bool "ColdFire DMA Ethernet Support"
+       depends on DM_ETH
+       select PHYLIB
+       help
+         This driver supports the network interface units in the
+         ColdFire family.
+
+config KS8851_MLL
+       bool "Microchip KS8851-MLL controller driver"
+       help
+         The Microchip KS8851 parallel bus external ethernet interface chip.
+
+if KS8851_MLL
+if !DM_ETH
+config KS8851_MLL_BASEADDR
+       hex "Microchip KS8851-MLL Base Address"
+       help
+         Define this to hold the physical address of the device (I/O space)
+endif #DM_ETH
+endif #KS8851_MLL
+
 config MVGBE
        bool "Marvell Orion5x/Kirkwood network interface support"
-       depends on KIRKWOOD || ORION5X
+       depends on ARCH_KIRKWOOD || ARCH_ORION5X
        select PHYLIB if DM_ETH
        help
          This driver supports the network interface units in the
@@ -297,6 +376,8 @@ config MVPP2
        bool "Marvell Armada 375/7K/8K network interface support"
        depends on ARMADA_375 || ARMADA_8K
        select PHYLIB
+       select MVMDIO
+       select DM_MDIO
        help
          This driver supports the network interface units in the
          Marvell ARMADA 375, 7K and 8K SoCs.
@@ -321,6 +402,7 @@ config MACB_ZYNQ
 config MT7628_ETH
        bool "MediaTek MT7628 Ethernet Interface"
        depends on SOC_MT7628
+       select PHYLIB
        help
          The MediaTek MT7628 ethernet interface is used on MT7628 and
          MT7688 based boards.
@@ -344,6 +426,12 @@ config MII
        help
          Enable support of the Media-Independent Interface (MII)
 
+config PCNET
+       bool "AMD PCnet series Ethernet controller driver"
+       help
+         This driver supports AMD PCnet series fast ethernet family of
+         PCI chipsets/adapters.
+
 config RTL8139
        bool "Realtek 8139 series Ethernet controller driver"
        help
@@ -361,11 +449,13 @@ config SMC911X
 
 if SMC911X
 
+if !DM_ETH
 config SMC911X_BASE
        hex "SMC911X Base Address"
        help
          Define this to hold the physical address
          of the device (I/O space)
+endif #DM_ETH
 
 choice
        prompt "SMC911X bus width"
@@ -422,8 +512,14 @@ config SH_ETHER
 
 source "drivers/net/ti/Kconfig"
 
+config TULIP
+       bool "DEC Tulip DC2114x Ethernet support"
+       depends on (DM_ETH && DM_PCI) || !DM_ETH
+       help
+         This driver supports DEC DC2114x Fast ethernet chips.
+
 config XILINX_AXIEMAC
-       depends on DM_ETH && (MICROBLAZE || ARCH_ZYNQ || ARCH_ZYNQMP)
+       depends on DM_ETH
        select PHYLIB
        select MII
        bool "Xilinx AXI Ethernet"
@@ -431,7 +527,7 @@ config XILINX_AXIEMAC
          This MAC is present in Xilinx Microblaze, Zynq and ZynqMP SoCs.
 
 config XILINX_EMACLITE
-       depends on DM_ETH && (MICROBLAZE || ARCH_ZYNQ || ARCH_ZYNQMP || MIPS)
+       depends on DM_ETH
        select PHYLIB
        select MII
        bool "Xilinx Ethernetlite"
@@ -439,7 +535,7 @@ config XILINX_EMACLITE
          This MAC is present in Xilinx Microblaze, Zynq and ZynqMP SoCs.
 
 config ZYNQ_GEM
-       depends on DM_ETH && (ARCH_ZYNQ || ARCH_ZYNQMP || ARCH_VERSAL)
+       depends on DM_ETH
        select PHYLIB
        bool "Xilinx Ethernet GEM"
        help
@@ -595,4 +691,29 @@ config FSL_ENETC
          This driver supports the NXP ENETC Ethernet controller found on some
          of the NXP SoCs.
 
+config MDIO_MUX_I2CREG
+       bool "MDIO MUX accessed as a register over I2C"
+       depends on DM_MDIO_MUX && DM_I2C
+       help
+         This driver is used for MDIO muxes driven by writing to a register of
+         an I2C chip.  The board it was developed for uses a mux controlled by
+         on-board FPGA which in turn is accessed as a chip over I2C.
+
+config MVMDIO
+       bool "Marvell MDIO interface support"
+       depends on DM_MDIO
+       help
+         This driver supports the MDIO interface found in the network
+         interface units of the Marvell EBU SoCs (Kirkwood, Orion5x,
+         Dove, Armada 370, Armada XP, Armada 37xx and Armada7K/8K/8KP).
+
+         This driver is used by the MVPP2 and MVNETA drivers.
+
+config FSL_LS_MDIO
+       bool "NXP Layerscape MDIO interface support"
+       depends on DM_MDIO
+       help
+         This driver supports the MDIO bus found on the Fman 10G Ethernet MACs and
+         on the mEMAC (which supports both Clauses 22 and 45).
+
 endif # NETDEVICES