1af2cbfd6SAlexsource "drivers/net/phy/Kconfig" 2af2cbfd6SAlex 305c3e68fSJoe Hershbergerconfig DM_ETH 405c3e68fSJoe Hershberger bool "Enable Driver Model for Ethernet drivers" 505c3e68fSJoe Hershberger depends on DM 605c3e68fSJoe Hershberger help 705c3e68fSJoe Hershberger Enable driver model for Ethernet. 805c3e68fSJoe Hershberger 905c3e68fSJoe Hershberger The eth_*() interface will be implemented by the UC_ETH class 1005c3e68fSJoe Hershberger This is currently implemented in net/eth.c 1105c3e68fSJoe Hershberger Look in include/net.h for details. 123ea143abSJoe Hershberger 133ea143abSJoe Hershbergermenuconfig NETDEVICES 143ea143abSJoe Hershberger bool "Network device support" 153ea143abSJoe Hershberger depends on NET 16ef0f2f57SJoe Hershberger default y if DM_ETH 173ea143abSJoe Hershberger help 183ea143abSJoe Hershberger You must select Y to enable any network device support 193ea143abSJoe Hershberger Generally if you have any networking support this is a given 203ea143abSJoe Hershberger 213ea143abSJoe Hershberger If unsure, say Y 223ea143abSJoe Hershberger 233ea143abSJoe Hershbergerif NETDEVICES 243ea143abSJoe Hershberger 25449ea2cdSPhilipp Tomsichconfig PHY_GIGE 26449ea2cdSPhilipp Tomsich bool "Enable GbE PHY status parsing and configuration" 27449ea2cdSPhilipp Tomsich help 28449ea2cdSPhilipp Tomsich Enables support for parsing the status output and for 29449ea2cdSPhilipp Tomsich configuring GbE PHYs (affects the inner workings of some 30449ea2cdSPhilipp Tomsich commands and miiphyutil.c). 31449ea2cdSPhilipp Tomsich 32e40095f6SMarek Vasutconfig AG7XXX 33e40095f6SMarek Vasut bool "Atheros AG7xxx Ethernet MAC support" 34e40095f6SMarek Vasut depends on DM_ETH && ARCH_ATH79 35e40095f6SMarek Vasut select PHYLIB 36e40095f6SMarek Vasut help 37e40095f6SMarek Vasut This driver supports the Atheros AG7xxx Ethernet MAC. This MAC is 38e40095f6SMarek Vasut present in the Atheros AR7xxx, AR9xxx and QCA9xxx MIPS chips. 39e40095f6SMarek Vasut 40e40095f6SMarek Vasut 4196fa1e43SThomas Chouconfig ALTERA_TSE 4296fa1e43SThomas Chou bool "Altera Triple-Speed Ethernet MAC support" 4396fa1e43SThomas Chou depends on DM_ETH 4496fa1e43SThomas Chou select PHYLIB 4596fa1e43SThomas Chou help 4696fa1e43SThomas Chou This driver supports the Altera Triple-Speed (TSE) Ethernet MAC. 4796fa1e43SThomas Chou Please find details on the "Triple-Speed Ethernet MegaCore Function 4896fa1e43SThomas Chou Resource Center" of Altera. 4996fa1e43SThomas Chou 50c89782dcSSuji Velupillaiconfig BCM_SF2_ETH 51c89782dcSSuji Velupillai bool "Broadcom SF2 (Starfighter2) Ethernet support" 52c89782dcSSuji Velupillai select PHYLIB 53c89782dcSSuji Velupillai help 54c89782dcSSuji Velupillai This is an abstract framework which provides a generic interface 55c89782dcSSuji Velupillai to MAC and DMA management for multiple Broadcom SoCs such as 56c89782dcSSuji Velupillai Cygnus, NSP and bcm28155_ap platforms. 57c89782dcSSuji Velupillai 58c89782dcSSuji Velupillaiconfig BCM_SF2_ETH_DEFAULT_PORT 59c89782dcSSuji Velupillai int "Broadcom SF2 (Starfighter2) Ethernet default port number" 60c89782dcSSuji Velupillai depends on BCM_SF2_ETH 61c89782dcSSuji Velupillai default 0 62c89782dcSSuji Velupillai help 63c89782dcSSuji Velupillai Default port number for the Starfighter2 ethernet driver. 64c89782dcSSuji Velupillai 65c89782dcSSuji Velupillaiconfig BCM_SF2_ETH_GMAC 66c89782dcSSuji Velupillai bool "Broadcom SF2 (Starfighter2) GMAC Ethernet support" 67c89782dcSSuji Velupillai depends on BCM_SF2_ETH 68c89782dcSSuji Velupillai help 69c89782dcSSuji Velupillai This flag enables the ethernet support for Broadcom platforms with 70c89782dcSSuji Velupillai GMAC such as Cygnus. This driver is based on the framework provided 71c89782dcSSuji Velupillai by the BCM_SF2_ETH driver. 72c89782dcSSuji Velupillai Say Y to any bcmcygnus based platforms. 73c89782dcSSuji Velupillai 74ba4dfef1SStephen Warrenconfig DWC_ETH_QOS 75ba4dfef1SStephen Warren bool "Synopsys DWC Ethernet QOS device support" 76ba4dfef1SStephen Warren depends on DM_ETH 77ba4dfef1SStephen Warren select PHYLIB 78ba4dfef1SStephen Warren help 79ba4dfef1SStephen Warren This driver supports the Synopsys Designware Ethernet QOS (Quality 80ba4dfef1SStephen Warren Of Service) IP block. The IP supports many options for bus type, 81ba4dfef1SStephen Warren clocking/reset structure, and feature list. This driver currently 82ba4dfef1SStephen Warren supports the specific configuration used in NVIDIA's Tegra186 chip, 83ba4dfef1SStephen Warren but should be extensible to other combinations quite easily. 84ba4dfef1SStephen Warren 85c294ac5cSSimon Glassconfig E1000 86c294ac5cSSimon Glass bool "Intel PRO/1000 Gigabit Ethernet support" 87c294ac5cSSimon Glass help 88c294ac5cSSimon Glass This driver supports Intel(R) PRO/1000 gigabit ethernet family of 89c294ac5cSSimon Glass adapters. For more information on how to identify your adapter, go 90c294ac5cSSimon Glass to the Adapter & Driver ID Guide at: 91c294ac5cSSimon Glass 92c294ac5cSSimon Glass <http://support.intel.com/support/network/adapter/pro100/21397.htm> 93c294ac5cSSimon Glass 94c294ac5cSSimon Glassconfig E1000_SPI_GENERIC 95c294ac5cSSimon Glass bool "Allow access to the Intel 8257x SPI bus" 96c294ac5cSSimon Glass depends on E1000 97c294ac5cSSimon Glass help 98c294ac5cSSimon Glass Allow generic access to the SPI bus on the Intel 8257x, for 99c294ac5cSSimon Glass example with the "sspi" command. 100c294ac5cSSimon Glass 101c294ac5cSSimon Glassconfig E1000_SPI 102c294ac5cSSimon Glass bool "Enable SPI bus utility code" 103c294ac5cSSimon Glass depends on E1000 104c294ac5cSSimon Glass help 105c294ac5cSSimon Glass Utility code for direct access to the SPI bus on Intel 8257x. 106c294ac5cSSimon Glass This does not do anything useful unless you set at least one 107c294ac5cSSimon Glass of CONFIG_CMD_E1000 or CONFIG_E1000_SPI_GENERIC. 108c294ac5cSSimon Glass 109c294ac5cSSimon Glassconfig CMD_E1000 110c294ac5cSSimon Glass bool "Enable the e1000 command" 111c294ac5cSSimon Glass depends on E1000 112c294ac5cSSimon Glass help 113c294ac5cSSimon Glass This enables the 'e1000' management command for E1000 devices. When 114c294ac5cSSimon Glass used on devices with SPI support you can reprogram the EEPROM from 115c294ac5cSSimon Glass U-Boot. 116c294ac5cSSimon Glass 1173ea143abSJoe Hershbergerconfig ETH_SANDBOX 1183ea143abSJoe Hershberger depends on DM_ETH && SANDBOX 1193ea143abSJoe Hershberger default y 1203ea143abSJoe Hershberger bool "Sandbox: Mocked Ethernet driver" 1213ea143abSJoe Hershberger help 1223ea143abSJoe Hershberger This driver simply responds with fake ARP replies and ping 1233ea143abSJoe Hershberger replies that are used to verify network stack functionality 1243ea143abSJoe Hershberger 1253ea143abSJoe Hershberger This driver is particularly useful in the test/dm/eth.c tests 1263ea143abSJoe Hershberger 127a346ca79SJoe Hershbergerconfig ETH_SANDBOX_RAW 128a346ca79SJoe Hershberger depends on DM_ETH && SANDBOX 129a346ca79SJoe Hershberger default y 130a346ca79SJoe Hershberger bool "Sandbox: Bridge to Linux Raw Sockets" 131a346ca79SJoe Hershberger help 132a346ca79SJoe Hershberger This driver is a bridge from the bottom of the network stack 133a346ca79SJoe Hershberger in U-Boot to the RAW AF_PACKET API in Linux. This allows real 134a346ca79SJoe Hershberger network traffic to be tested from within sandbox. See 135a346ca79SJoe Hershberger board/sandbox/README.sandbox for more details. 136a346ca79SJoe Hershberger 137ef48f6ddSSimon Glassconfig ETH_DESIGNWARE 138ef48f6ddSSimon Glass bool "Synopsys Designware Ethernet MAC" 13925af71c4SThomas Chou select PHYLIB 140ef48f6ddSSimon Glass help 141ef48f6ddSSimon Glass This MAC is present in SoCs from various vendors. It supports 142ef48f6ddSSimon Glass 100Mbit and 1 Gbit operation. You must enable CONFIG_PHYLIB to 143ef48f6ddSSimon Glass provide the PHY (physical media interface). 144ef48f6ddSSimon Glass 145f0727120SMax Filippovconfig ETHOC 146f0727120SMax Filippov bool "OpenCores 10/100 Mbps Ethernet MAC" 147f0727120SMax Filippov help 148f0727120SMax Filippov This MAC is present in OpenRISC and Xtensa XTFPGA boards. 149f0727120SMax Filippov 15097d29ca3SJagan Tekiconfig FEC_MXC 15197d29ca3SJagan Teki bool "FEC Ethernet controller" 15298d62e61SPatrick Bruenn depends on MX5 || MX6 15397d29ca3SJagan Teki help 15497d29ca3SJagan Teki This driver supports the 10/100 Fast Ethernet controller for 15597d29ca3SJagan Teki NXP i.MX processors. 15697d29ca3SJagan Teki 1578dc1b17fSTom Riniconfig FTMAC100 1588dc1b17fSTom Rini bool "Ftmac100 Ethernet Support" 1598dc1b17fSTom Rini help 1608dc1b17fSTom Rini This MAC is present in Andestech SoCs. 1618dc1b17fSTom Rini 1627654f62fSChris Packhamconfig MVNETA 1637654f62fSChris Packham bool "Marvell Armada 385 network interface support" 1647654f62fSChris Packham depends on ARMADA_XP || ARMADA_38X 1657654f62fSChris Packham select PHYLIB 1667654f62fSChris Packham help 1677654f62fSChris Packham This driver supports the network interface units in the 1687654f62fSChris Packham Marvell ARMADA XP and 38X SoCs 1697654f62fSChris Packham 17099d4c6d3SStefan Roeseconfig MVPP2 171e7935c47SStefan Roese bool "Marvell Armada 375/7K/8K network interface support" 172e7935c47SStefan Roese depends on ARMADA_375 || ARMADA_8K 17399d4c6d3SStefan Roese select PHYLIB 17499d4c6d3SStefan Roese help 17599d4c6d3SStefan Roese This driver supports the network interface units in the 176e7935c47SStefan Roese Marvell ARMADA 375, 7K and 8K SoCs. 17799d4c6d3SStefan Roese 178ebcb40a5SWenyou Yangconfig MACB 179ebcb40a5SWenyou Yang bool "Cadence MACB/GEM Ethernet Interface" 180ebcb40a5SWenyou Yang depends on DM_ETH 181ebcb40a5SWenyou Yang select PHYLIB 182ebcb40a5SWenyou Yang help 183ebcb40a5SWenyou Yang The Cadence MACB ethernet interface is found on many Atmel 184ebcb40a5SWenyou Yang AT91 and SAMA5 parts. This driver also supports the Cadence 185ebcb40a5SWenyou Yang GEM (Gigabit Ethernet MAC) found in some ARM SoC devices. 186ebcb40a5SWenyou Yang Say Y to include support for the MACB/GEM chip. 187ebcb40a5SWenyou Yang 188b68fe152SBin Mengconfig PCH_GBE 189b68fe152SBin Meng bool "Intel Platform Controller Hub EG20T GMAC driver" 190b68fe152SBin Meng depends on DM_ETH && DM_PCI 191b68fe152SBin Meng select PHYLIB 192b68fe152SBin Meng help 193b68fe152SBin Meng This MAC is present in Intel Platform Controller Hub EG20T. It 194b68fe152SBin Meng supports 10/100/1000 Mbps operation. 195b68fe152SBin Meng 196751b0be0SMylène Josserandconfig RGMII 197751b0be0SMylène Josserand bool "Enable RGMII" 198751b0be0SMylène Josserand help 199751b0be0SMylène Josserand Enable the support of the Reduced Gigabit Media-Independent 200751b0be0SMylène Josserand Interface (RGMII). 201751b0be0SMylène Josserand 20286e9dc86SBin Mengconfig RTL8139 20386e9dc86SBin Meng bool "Realtek 8139 series Ethernet controller driver" 20486e9dc86SBin Meng help 20586e9dc86SBin Meng This driver supports Realtek 8139 series fast ethernet family of 20686e9dc86SBin Meng PCI chipsets/adapters. 20786e9dc86SBin Meng 2080764f24aSBin Mengconfig RTL8169 2090764f24aSBin Meng bool "Realtek 8169 series Ethernet controller driver" 2100764f24aSBin Meng help 2110764f24aSBin Meng This driver supports Realtek 8169 series gigabit ethernet family of 2120764f24aSBin Meng PCI/PCIe chipsets/adapters. 2130764f24aSBin Meng 214*8daec2d9SAdam Fordconfig SMC911X 215*8daec2d9SAdam Ford bool "SMSC LAN911x and LAN921x controller driver" 216*8daec2d9SAdam Ford 217*8daec2d9SAdam Fordif SMC911X 218*8daec2d9SAdam Ford 219*8daec2d9SAdam Fordconfig SMC911X_BASE 220*8daec2d9SAdam Ford hex "SMC911X Base Address" 221*8daec2d9SAdam Ford help 222*8daec2d9SAdam Ford Define this to hold the physical address 223*8daec2d9SAdam Ford of the device (I/O space) 224*8daec2d9SAdam Ford 225*8daec2d9SAdam Fordchoice 226*8daec2d9SAdam Ford prompt "SMC911X bus width" 227*8daec2d9SAdam Ford default SMC911X_16_BIT 228*8daec2d9SAdam Ford 229*8daec2d9SAdam Fordconfig SMC911X_32_BIT 230*8daec2d9SAdam Ford bool "Enable 32-bit interface" 231*8daec2d9SAdam Ford 232*8daec2d9SAdam Fordconfig SMC911X_16_BIT 233*8daec2d9SAdam Ford bool "Enable 16-bit interface" 234*8daec2d9SAdam Ford help 235*8daec2d9SAdam Ford Define this if data bus is 16 bits. If your processor 236*8daec2d9SAdam Ford automatically converts one 32 bit word to two 16 bit 237*8daec2d9SAdam Ford words you may also try CONFIG_SMC911X_32_BIT. 238*8daec2d9SAdam Ford 239*8daec2d9SAdam Fordendchoice 240*8daec2d9SAdam Fordendif #SMC911X 241*8daec2d9SAdam Ford 2424d43d065SMylène Josserandconfig SUN7I_GMAC 2434d43d065SMylène Josserand bool "Enable Allwinner GMAC Ethernet support" 2444d43d065SMylène Josserand help 2454d43d065SMylène Josserand Enable the support for Sun7i GMAC Ethernet controller 2464d43d065SMylène Josserand 247abc3e4dfSMylène Josserandconfig SUN4I_EMAC 248abc3e4dfSMylène Josserand bool "Allwinner Sun4i Ethernet MAC support" 249abc3e4dfSMylène Josserand depends on DM_ETH 250abc3e4dfSMylène Josserand help 251abc3e4dfSMylène Josserand This driver supports the Allwinner based SUN4I Ethernet MAC. 252abc3e4dfSMylène Josserand 253a29710c5SAmit Singh Tomarconfig SUN8I_EMAC 254a29710c5SAmit Singh Tomar bool "Allwinner Sun8i Ethernet MAC support" 255a29710c5SAmit Singh Tomar depends on DM_ETH 256a29710c5SAmit Singh Tomar select PHYLIB 257449ea2cdSPhilipp Tomsich select PHY_GIGE 258a29710c5SAmit Singh Tomar help 259a29710c5SAmit Singh Tomar This driver supports the Allwinner based SUN8I/SUN50I Ethernet MAC. 260a29710c5SAmit Singh Tomar It can be found in H3/A64/A83T based SoCs and compatible with both 2617131d2d0STom Rini External and Internal PHYs. 262a29710c5SAmit Singh Tomar 263338a5f2bSMichal Simekconfig XILINX_AXIEMAC 264338a5f2bSMichal Simek depends on DM_ETH && (MICROBLAZE || ARCH_ZYNQ || ARCH_ZYNQMP) 265338a5f2bSMichal Simek select PHYLIB 266338a5f2bSMichal Simek select MII 267338a5f2bSMichal Simek bool "Xilinx AXI Ethernet" 268338a5f2bSMichal Simek help 269338a5f2bSMichal Simek This MAC is present in Xilinx Microblaze, Zynq and ZynqMP SoCs. 270338a5f2bSMichal Simek 2713229c869SMichal Simekconfig XILINX_EMACLITE 2722f1f05f4SZubair Lutfullah Kakakhel depends on DM_ETH && (MICROBLAZE || ARCH_ZYNQ || ARCH_ZYNQMP || MIPS) 2733229c869SMichal Simek select PHYLIB 2743229c869SMichal Simek select MII 2753229c869SMichal Simek bool "Xilinx Ethernetlite" 2763229c869SMichal Simek help 2773229c869SMichal Simek This MAC is present in Xilinx Microblaze, Zynq and ZynqMP SoCs. 2783229c869SMichal Simek 279596e5782SMichal Simekconfig ZYNQ_GEM 280596e5782SMichal Simek depends on DM_ETH && (ARCH_ZYNQ || ARCH_ZYNQMP) 2817bccc75aSMichal Simek select PHYLIB 282596e5782SMichal Simek bool "Xilinx Ethernet GEM" 283596e5782SMichal Simek help 284c9428107SMichal Simek This MAC is present in Xilinx Zynq and ZynqMP SoCs. 285596e5782SMichal Simek 28623e7578cSPurna Chandra Mandalconfig PIC32_ETH 28723e7578cSPurna Chandra Mandal bool "Microchip PIC32 Ethernet Support" 28823e7578cSPurna Chandra Mandal depends on DM_ETH && MACH_PIC32 28923e7578cSPurna Chandra Mandal select PHYLIB 29023e7578cSPurna Chandra Mandal help 29123e7578cSPurna Chandra Mandal This driver implements 10/100 Mbps Ethernet and MAC layer for 29223e7578cSPurna Chandra Mandal Microchip PIC32 microcontrollers. 29323e7578cSPurna Chandra Mandal 2940125bcf0SSjoerd Simonsconfig GMAC_ROCKCHIP 2950125bcf0SSjoerd Simons bool "Rockchip Synopsys Designware Ethernet MAC" 2960125bcf0SSjoerd Simons depends on DM_ETH && ETH_DESIGNWARE 2970125bcf0SSjoerd Simons help 2980125bcf0SSjoerd Simons This driver provides Rockchip SoCs network support based on the 2990125bcf0SSjoerd Simons Synopsys Designware driver. 3000125bcf0SSjoerd Simons 3018ae51b6fSMarek Vasutconfig RENESAS_RAVB 3028ae51b6fSMarek Vasut bool "Renesas Ethernet AVB MAC" 3038ae51b6fSMarek Vasut depends on DM_ETH && RCAR_GEN3 3048ae51b6fSMarek Vasut select PHYLIB 3058ae51b6fSMarek Vasut help 3068ae51b6fSMarek Vasut This driver implements support for the Ethernet AVB block in 3078ae51b6fSMarek Vasut Renesas M3 and H3 SoCs. 3088ae51b6fSMarek Vasut 309fad51ac3SChristophe Leroyconfig MPC8XX_FEC 310fad51ac3SChristophe Leroy bool "Fast Ethernet Controller on MPC8XX" 311fad51ac3SChristophe Leroy depends on 8xx 312fad51ac3SChristophe Leroy select MII 313fad51ac3SChristophe Leroy help 314fad51ac3SChristophe Leroy This driver implements support for the Fast Ethernet Controller 315fad51ac3SChristophe Leroy on MPC8XX 316fad51ac3SChristophe Leroy 317fad51ac3SChristophe Leroyconfig ETHER_ON_FEC1 318fad51ac3SChristophe Leroy bool "FEC1" 319fad51ac3SChristophe Leroy depends on MPC8XX_FEC 320fad51ac3SChristophe Leroy default y 321fad51ac3SChristophe Leroy 322fad51ac3SChristophe Leroyconfig FEC1_PHY 323fad51ac3SChristophe Leroy int "FEC1 PHY" 324fad51ac3SChristophe Leroy depends on ETHER_ON_FEC1 325fad51ac3SChristophe Leroy default -1 326fad51ac3SChristophe Leroy help 327fad51ac3SChristophe Leroy Define to the hardcoded PHY address which corresponds 328fad51ac3SChristophe Leroy to the given FEC; i. e. 329fad51ac3SChristophe Leroy #define CONFIG_FEC1_PHY 4 330fad51ac3SChristophe Leroy means that the PHY with address 4 is connected to FEC1 331fad51ac3SChristophe Leroy 332fad51ac3SChristophe Leroy When set to -1, means to probe for first available. 333fad51ac3SChristophe Leroy 334fad51ac3SChristophe Leroyconfig PHY_NORXERR 335fad51ac3SChristophe Leroy bool "PHY_NORXERR" 336fad51ac3SChristophe Leroy depends on ETHER_ON_FEC1 337fad51ac3SChristophe Leroy default n 338fad51ac3SChristophe Leroy help 339fad51ac3SChristophe Leroy The PHY does not have a RXERR line (RMII only). 340fad51ac3SChristophe Leroy (so program the FEC to ignore it). 341fad51ac3SChristophe Leroy 342fad51ac3SChristophe Leroyconfig ETHER_ON_FEC2 343fad51ac3SChristophe Leroy bool "FEC2" 344fad51ac3SChristophe Leroy depends on MPC8XX_FEC && MPC885 345fad51ac3SChristophe Leroy default y 346fad51ac3SChristophe Leroy 347fad51ac3SChristophe Leroyconfig FEC2_PHY 348fad51ac3SChristophe Leroy int "FEC2 PHY" 349fad51ac3SChristophe Leroy depends on ETHER_ON_FEC2 350fad51ac3SChristophe Leroy default -1 351fad51ac3SChristophe Leroy help 352fad51ac3SChristophe Leroy Define to the hardcoded PHY address which corresponds 353fad51ac3SChristophe Leroy to the given FEC; i. e. 354fad51ac3SChristophe Leroy #define CONFIG_FEC1_PHY 4 355fad51ac3SChristophe Leroy means that the PHY with address 4 is connected to FEC1 356fad51ac3SChristophe Leroy 357fad51ac3SChristophe Leroy When set to -1, means to probe for first available. 358fad51ac3SChristophe Leroy 359fad51ac3SChristophe Leroyconfig FEC2_PHY_NORXERR 360fad51ac3SChristophe Leroy bool "PHY_NORXERR" 361fad51ac3SChristophe Leroy depends on ETHER_ON_FEC2 362fad51ac3SChristophe Leroy default n 363fad51ac3SChristophe Leroy help 364fad51ac3SChristophe Leroy The PHY does not have a RXERR line (RMII only). 365fad51ac3SChristophe Leroy (so program the FEC to ignore it). 366fad51ac3SChristophe Leroy 3673ea143abSJoe Hershbergerendif # NETDEVICES 368