Merge tag 'uniphier-v2019.07' of git://git.denx.de/u-boot-uniphier
[oweals/u-boot.git] / drivers / net / Kconfig
index e88f056d8448c42f411f4a69ba148511e72093da..d0e5426a99d88de3a4ba736bf11301679e876ecd 100644 (file)
@@ -7,17 +7,10 @@ config DM_ETH
        help
          Enable driver model for Ethernet.
 
-         The eth_*() interface will be implemented by the UC_ETH class
-         This is currently implemented in net/eth.c
+         The eth_*() interface will be implemented by the UCLASS_ETH class
+         This is currently implemented in net/eth-uclass.c
          Look in include/net.h for details.
 
-config DRIVER_TI_CPSW
-       bool "TI Common Platform Ethernet Switch"
-       select PHYLIB
-       help
-         This driver supports the TI three port switch gigabit ethernet
-         subsystem found in the TI SoCs.
-
 menuconfig NETDEVICES
        bool "Network device support"
        depends on NET
@@ -79,6 +72,24 @@ config BCM_SF2_ETH_GMAC
          by the BCM_SF2_ETH driver.
          Say Y to any bcmcygnus based platforms.
 
+config BCM6348_ETH
+       bool "BCM6348 EMAC support"
+       depends on DM_ETH && ARCH_BMIPS
+       select DMA
+       select DMA_CHANNELS
+       select MII
+       select PHYLIB
+       help
+         This driver supports the BCM6348 Ethernet MAC.
+
+config BCM6368_ETH
+       bool "BCM6368 EMAC support"
+       depends on DM_ETH && ARCH_BMIPS
+       select DMA
+       select MII
+       help
+         This driver supports the BCM6368 Ethernet MAC.
+
 config DWC_ETH_QOS
        bool "Synopsys DWC Ethernet QOS device support"
        depends on DM_ETH
@@ -145,11 +156,22 @@ config ETH_SANDBOX_RAW
 config ETH_DESIGNWARE
        bool "Synopsys Designware Ethernet MAC"
        select PHYLIB
+       imply ETH_DESIGNWARE_SOCFPGA if ARCH_SOCFPGA
        help
          This MAC is present in SoCs from various vendors. It supports
          100Mbit and 1 Gbit operation. You must enable CONFIG_PHYLIB to
          provide the PHY (physical media interface).
 
+config ETH_DESIGNWARE_SOCFPGA
+       select REGMAP
+       select SYSCON
+       bool "Altera SoCFPGA extras for Synopsys Designware Ethernet MAC"
+       depends on DM_ETH && ETH_DESIGNWARE
+       help
+         The Altera SoCFPGA requires additional configuration of the
+         Altera system manager to correctly interface with the PHY.
+         This code handles those SoC specifics.
+
 config ETHOC
        bool "OpenCores 10/100 Mbps Ethernet MAC"
        help
@@ -168,7 +190,7 @@ config FEC_MXC_MDIO_BASE
 
 config FEC_MXC
        bool "FEC Ethernet controller"
-       depends on MX5 || MX6 || MX7
+       depends on MX5 || MX6 || MX7 || IMX8 || VF610
        help
          This driver supports the 10/100 Fast Ethernet controller for
          NXP i.MX processors.
@@ -178,9 +200,36 @@ config FTMAC100
        help
          This MAC is present in Andestech SoCs.
 
+config FTGMAC100
+       bool "Ftgmac100 Ethernet Support"
+       depends on DM_ETH
+       select PHYLIB
+       help
+         This driver supports the Faraday's FTGMAC100 Gigabit SoC
+         Ethernet controller that can be found on Aspeed SoCs (which
+         include NCSI).
+
+         It is fully compliant with IEEE 802.3 specification for
+         10/100 Mbps Ethernet and IEEE 802.3z specification for 1000
+         Mbps Ethernet and includes Reduced Media Independent
+         Interface (RMII) and Reduced Gigabit Media Independent
+         Interface (RGMII) interfaces. It adopts an AHB bus interface
+         and integrates a link list DMA engine with direct M-Bus
+         accesses for transmitting and receiving packets. It has
+         independent TX/RX fifos, supports half and full duplex (1000
+         Mbps mode only supports full duplex), flow control for full
+         duplex and backpressure for half duplex.
+
+         The FTGMAC100 also implements IP, TCP, UDP checksum offloads
+         and supports IEEE 802.1Q VLAN tag insertion and removal. It
+         offers high-priority transmit queue for QoS and CoS
+         applications.
+
+
 config MVGBE
        bool "Marvell Orion5x/Kirkwood network interface support"
        depends on KIRKWOOD || ORION5X
+       select PHYLIB if DM_ETH
        help
          This driver supports the network interface units in the
          Marvell Orion5x and Kirkwood SoCs
@@ -218,6 +267,13 @@ config MACB_ZYNQ
          The Cadence MACB ethernet interface was used on Zynq platform.
          Say Y to enable support for the MACB/GEM in Zynq chip.
 
+config MT7628_ETH
+       bool "MediaTek MT7628 Ethernet Interface"
+       depends on ARCH_MT7620
+       help
+         The MediaTek MT7628 ethernet interface is used on MT7628 and
+         MT7688 based boards.
+
 config PCH_GBE
        bool "Intel Platform Controller Hub EG20T GMAC driver"
        depends on DM_ETH && DM_PCI
@@ -232,6 +288,11 @@ config RGMII
          Enable the support of the Reduced Gigabit Media-Independent
          Interface (RGMII).
 
+config MII
+       bool "Enable MII"
+       help
+         Enable support of the Media-Independent Interface (MII)
+
 config RTL8139
        bool "Realtek 8139 series Ethernet controller driver"
        help
@@ -308,6 +369,8 @@ config SH_ETHER
        help
          This driver supports the Ethernet for Renesas SH and ARM SoCs.
 
+source "drivers/net/ti/Kconfig"
+
 config XILINX_AXIEMAC
        depends on DM_ETH && (MICROBLAZE || ARCH_ZYNQ || ARCH_ZYNQMP)
        select PHYLIB
@@ -325,7 +388,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)
+       depends on DM_ETH && (ARCH_ZYNQ || ARCH_ZYNQMP || ARCH_VERSAL)
        select PHYLIB
        bool "Xilinx Ethernet GEM"
        help
@@ -372,6 +435,8 @@ config SNI_AVE
          This driver implements support for the Socionext AVE Ethernet
          controller, as found on the Socionext UniPhier family.
 
+source "drivers/net/mscc_eswitch/Kconfig"
+
 config ETHER_ON_FEC1
        bool "FEC1"
        depends on MPC8XX_FEC
@@ -453,4 +518,14 @@ config TSEC_ENET
          This driver implements support for the (Enhanced) Three-Speed
          Ethernet Controller found on Freescale SoCs.
 
+config MEDIATEK_ETH
+       bool "MediaTek Ethernet GMAC Driver"
+       depends on DM_ETH
+       select PHYLIB
+       select DM_GPIO
+       select DM_RESET
+       help
+         This Driver support MediaTek Ethernet GMAC
+         Say Y to enable support for the MediaTek Ethernet GMAC.
+
 endif # NETDEVICES