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 eb3d7ed..039f9fb 100644 (file)
@@ -57,6 +57,12 @@ config MDIO_MUX_SANDBOX
 
          This driver is used for testing in test/dm/mdio.c
 
 
          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
 menuconfig NETDEVICES
        bool "Network device support"
        depends on NET
@@ -136,6 +142,13 @@ config BCM6368_ETH
        help
          This driver supports the BCM6368 Ethernet MAC.
 
        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
 config DWC_ETH_QOS
        bool "Synopsys DWC Ethernet QOS device support"
        depends on DM_ETH
@@ -143,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,
        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"
 
 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
        help
          This driver supports Intel(R) PRO/1000 gigabit ethernet family of
          adapters.  For more information on how to identify your adapter, go
@@ -179,6 +214,12 @@ config CMD_E1000
          used on devices with SPI support you can reprogram the EEPROM from
          U-Boot.
 
          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
 config ETH_SANDBOX
        depends on DM_ETH && SANDBOX
        default y
@@ -218,6 +259,13 @@ config ETH_DESIGNWARE_SOCFPGA
          Altera system manager to correctly interface with the PHY.
          This code handles those SoC specifics.
 
          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
 config ETHOC
        bool "OpenCores 10/100 Mbps Ethernet MAC"
        help
@@ -236,7 +284,7 @@ config FEC_MXC_MDIO_BASE
 
 config FEC_MXC
        bool "FEC Ethernet controller"
 
 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.
        help
          This driver supports the 10/100 Fast Ethernet controller for
          NXP i.MX processors.
@@ -278,9 +326,39 @@ config FTGMAC100
          applications.
 
 
          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"
 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
        select PHYLIB if DM_ETH
        help
          This driver supports the network interface units in the
@@ -298,6 +376,8 @@ config MVPP2
        bool "Marvell Armada 375/7K/8K network interface support"
        depends on ARMADA_375 || ARMADA_8K
        select PHYLIB
        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.
        help
          This driver supports the network interface units in the
          Marvell ARMADA 375, 7K and 8K SoCs.
@@ -346,6 +426,12 @@ config MII
        help
          Enable support of the Media-Independent Interface (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
 config RTL8139
        bool "Realtek 8139 series Ethernet controller driver"
        help
@@ -363,11 +449,13 @@ config SMC911X
 
 if 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)
 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"
 
 choice
        prompt "SMC911X bus width"
@@ -424,8 +512,14 @@ config SH_ETHER
 
 source "drivers/net/ti/Kconfig"
 
 
 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
 config XILINX_AXIEMAC
-       depends on DM_ETH && (MICROBLAZE || ARCH_ZYNQ || ARCH_ZYNQMP)
+       depends on DM_ETH
        select PHYLIB
        select MII
        bool "Xilinx AXI Ethernet"
        select PHYLIB
        select MII
        bool "Xilinx AXI Ethernet"
@@ -433,7 +527,7 @@ config XILINX_AXIEMAC
          This MAC is present in Xilinx Microblaze, Zynq and ZynqMP SoCs.
 
 config XILINX_EMACLITE
          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"
        select PHYLIB
        select MII
        bool "Xilinx Ethernetlite"
@@ -441,7 +535,7 @@ config XILINX_EMACLITE
          This MAC is present in Xilinx Microblaze, Zynq and ZynqMP SoCs.
 
 config ZYNQ_GEM
          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
        select PHYLIB
        bool "Xilinx Ethernet GEM"
        help
@@ -615,4 +709,11 @@ config MVMDIO
 
          This driver is used by the MVPP2 and MVNETA drivers.
 
 
          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
 endif # NETDEVICES