net: sun8i_emac: Retrieve GMAC clock via 'syscon' phandle
[oweals/u-boot.git] / drivers / net / Kconfig
index ee1cc3ab248f5c9cd868080ad09be5abbc176f75..77d0b3a01f433dd10e678a387caa4dda7dd9d7ad 100644 (file)
@@ -1,4 +1,5 @@
 source "drivers/net/phy/Kconfig"
+source "drivers/net/pfe_eth/Kconfig"
 
 config DM_ETH
        bool "Enable Driver Model for Ethernet drivers"
@@ -6,8 +7,8 @@ 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.
 
 menuconfig NETDEVICES
@@ -71,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
@@ -137,19 +156,41 @@ 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
          This MAC is present in OpenRISC and Xtensa XTFPGA boards.
 
+config FEC_MXC_SHARE_MDIO
+       bool "Share the MDIO bus for FEC controller"
+       depends on FEC_MXC
+
+config FEC_MXC_MDIO_BASE
+       hex "MDIO base address for the FEC controller"
+       depends on FEC_MXC_SHARE_MDIO
+       help
+         This specifies the MDIO registers base address. It is used when
+         two FEC controllers share MDIO bus.
+
 config FEC_MXC
        bool "FEC Ethernet controller"
-       depends on MX5 || MX6
+       depends on MX5 || MX6 || MX7 || IMX8
        help
          This driver supports the 10/100 Fast Ethernet controller for
          NXP i.MX processors.
@@ -159,6 +200,40 @@ 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
+
 config MVNETA
        bool "Marvell Armada XP/385/3700 network interface support"
        depends on ARMADA_XP || ARMADA_38X || ARMADA_3700
@@ -185,6 +260,20 @@ config MACB
          GEM (Gigabit Ethernet MAC) found in some ARM SoC devices.
          Say Y to include support for the MACB/GEM chip.
 
+config MACB_ZYNQ
+       bool "Cadence MACB/GEM Ethernet Interface for Xilinx Zynq"
+       depends on MACB
+       help
+         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
@@ -199,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
@@ -269,6 +363,14 @@ config SUN8I_EMAC
          It can be found in H3/A64/A83T based SoCs and compatible with both
          External and Internal PHYs.
 
+config SH_ETHER
+       bool "Renesas SH Ethernet MAC"
+       select PHYLIB
+       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
@@ -286,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
@@ -317,12 +419,24 @@ config RENESAS_RAVB
 
 config MPC8XX_FEC
        bool "Fast Ethernet Controller on MPC8XX"
-       depends on 8xx
+       depends on MPC8xx
        select MII
        help
          This driver implements support for the Fast Ethernet Controller
          on MPC8XX
 
+config SNI_AVE
+       bool "Socionext AVE Ethernet support"
+       depends on DM_ETH && ARCH_UNIPHIER
+       select PHYLIB
+       select SYSCON
+       select REGMAP
+       help
+         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
@@ -373,4 +487,45 @@ config FEC2_PHY_NORXERR
          The PHY does not have a RXERR line (RMII only).
          (so program the FEC to ignore it).
 
+config SYS_DPAA_QBMAN
+       bool "Device tree fixup for QBMan on freescale SOCs"
+       depends on (ARM || PPC) && !SPL_BUILD
+       default y if ARCH_B4860 || \
+                    ARCH_B4420 || \
+                    ARCH_P1023 || \
+                    ARCH_P2041 || \
+                    ARCH_T1023 || \
+                    ARCH_T1024 || \
+                    ARCH_T1040 || \
+                    ARCH_T1042 || \
+                    ARCH_T2080 || \
+                    ARCH_T2081 || \
+                    ARCH_T4240 || \
+                    ARCH_T4160 || \
+                    ARCH_P4080 || \
+                    ARCH_P3041 || \
+                    ARCH_P5040 || \
+                    ARCH_P5020 || \
+                    ARCH_LS1043A || \
+                    ARCH_LS1046A
+       help
+         QBman fixups to allow deep sleep in DPAA 1 SOCs
+
+config TSEC_ENET
+       select PHYLIB
+       bool "Enable Three-Speed Ethernet Controller"
+       help
+         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