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 138a2d844dSAlex Margineanconfig DM_MDIO 148a2d844dSAlex Marginean bool "Enable Driver Model for MDIO devices" 158a2d844dSAlex Marginean depends on DM_ETH && PHYLIB 168a2d844dSAlex Marginean help 178a2d844dSAlex Marginean Enable driver model for MDIO devices 188a2d844dSAlex Marginean 198a2d844dSAlex Marginean Adds UCLASS_MDIO DM class supporting MDIO buses that are probed as 208a2d844dSAlex Marginean stand-alone devices. Useful in particular for systems that support 218a2d844dSAlex Marginean DM_ETH and have a stand-alone MDIO hardware block shared by multiple 228a2d844dSAlex Marginean Ethernet interfaces. 238a2d844dSAlex Marginean This is currently implemented in net/mdio-uclass.c 248a2d844dSAlex Marginean Look in include/miiphy.h for details. 258a2d844dSAlex Marginean 2670664e19SYe Liconfig DM_ETH_PHY 2770664e19SYe Li bool "Enable Driver Model for Ethernet Generic PHY drivers" 2870664e19SYe Li depends on DM 2970664e19SYe Li help 3070664e19SYe Li Enable driver model for Ethernet Generic PHY . 3170664e19SYe Li 323ea143abSJoe Hershbergermenuconfig NETDEVICES 333ea143abSJoe Hershberger bool "Network device support" 343ea143abSJoe Hershberger depends on NET 35ef0f2f57SJoe Hershberger default y if DM_ETH 363ea143abSJoe Hershberger help 373ea143abSJoe Hershberger You must select Y to enable any network device support 383ea143abSJoe Hershberger Generally if you have any networking support this is a given 393ea143abSJoe Hershberger 403ea143abSJoe Hershberger If unsure, say Y 413ea143abSJoe Hershberger 423ea143abSJoe Hershbergerif NETDEVICES 433ea143abSJoe Hershberger 44449ea2cdSPhilipp Tomsichconfig PHY_GIGE 45449ea2cdSPhilipp Tomsich bool "Enable GbE PHY status parsing and configuration" 46449ea2cdSPhilipp Tomsich help 47449ea2cdSPhilipp Tomsich Enables support for parsing the status output and for 48449ea2cdSPhilipp Tomsich configuring GbE PHYs (affects the inner workings of some 49449ea2cdSPhilipp Tomsich commands and miiphyutil.c). 50449ea2cdSPhilipp Tomsich 51e40095f6SMarek Vasutconfig AG7XXX 52e40095f6SMarek Vasut bool "Atheros AG7xxx Ethernet MAC support" 53e40095f6SMarek Vasut depends on DM_ETH && ARCH_ATH79 54e40095f6SMarek Vasut select PHYLIB 55e40095f6SMarek Vasut help 56e40095f6SMarek Vasut This driver supports the Atheros AG7xxx Ethernet MAC. This MAC is 57e40095f6SMarek Vasut present in the Atheros AR7xxx, AR9xxx and QCA9xxx MIPS chips. 58e40095f6SMarek Vasut 59e40095f6SMarek Vasut 6096fa1e43SThomas Chouconfig ALTERA_TSE 6196fa1e43SThomas Chou bool "Altera Triple-Speed Ethernet MAC support" 6296fa1e43SThomas Chou depends on DM_ETH 6396fa1e43SThomas Chou select PHYLIB 6496fa1e43SThomas Chou help 6596fa1e43SThomas Chou This driver supports the Altera Triple-Speed (TSE) Ethernet MAC. 6696fa1e43SThomas Chou Please find details on the "Triple-Speed Ethernet MegaCore Function 6796fa1e43SThomas Chou Resource Center" of Altera. 6896fa1e43SThomas Chou 69c89782dcSSuji Velupillaiconfig BCM_SF2_ETH 70c89782dcSSuji Velupillai bool "Broadcom SF2 (Starfighter2) Ethernet support" 71c89782dcSSuji Velupillai select PHYLIB 72c89782dcSSuji Velupillai help 73c89782dcSSuji Velupillai This is an abstract framework which provides a generic interface 74c89782dcSSuji Velupillai to MAC and DMA management for multiple Broadcom SoCs such as 75c89782dcSSuji Velupillai Cygnus, NSP and bcm28155_ap platforms. 76c89782dcSSuji Velupillai 77c89782dcSSuji Velupillaiconfig BCM_SF2_ETH_DEFAULT_PORT 78c89782dcSSuji Velupillai int "Broadcom SF2 (Starfighter2) Ethernet default port number" 79c89782dcSSuji Velupillai depends on BCM_SF2_ETH 80c89782dcSSuji Velupillai default 0 81c89782dcSSuji Velupillai help 82c89782dcSSuji Velupillai Default port number for the Starfighter2 ethernet driver. 83c89782dcSSuji Velupillai 84c89782dcSSuji Velupillaiconfig BCM_SF2_ETH_GMAC 85c89782dcSSuji Velupillai bool "Broadcom SF2 (Starfighter2) GMAC Ethernet support" 86c89782dcSSuji Velupillai depends on BCM_SF2_ETH 87c89782dcSSuji Velupillai help 88c89782dcSSuji Velupillai This flag enables the ethernet support for Broadcom platforms with 89c89782dcSSuji Velupillai GMAC such as Cygnus. This driver is based on the framework provided 90c89782dcSSuji Velupillai by the BCM_SF2_ETH driver. 91c89782dcSSuji Velupillai Say Y to any bcmcygnus based platforms. 92c89782dcSSuji Velupillai 93ba4dfef1SStephen Warrenconfig DWC_ETH_QOS 94ba4dfef1SStephen Warren bool "Synopsys DWC Ethernet QOS device support" 95ba4dfef1SStephen Warren depends on DM_ETH 96ba4dfef1SStephen Warren select PHYLIB 97ba4dfef1SStephen Warren help 98ba4dfef1SStephen Warren This driver supports the Synopsys Designware Ethernet QOS (Quality 99ba4dfef1SStephen Warren Of Service) IP block. The IP supports many options for bus type, 100ba4dfef1SStephen Warren clocking/reset structure, and feature list. This driver currently 101ba4dfef1SStephen Warren supports the specific configuration used in NVIDIA's Tegra186 chip, 102ba4dfef1SStephen Warren but should be extensible to other combinations quite easily. 103ba4dfef1SStephen Warren 104*0fe08d1bSDavid Wuconfig DWC_ETH_QOS_FULL 105*0fe08d1bSDavid Wu bool "Synopsys DWC Ethernet QOS full vendor support" 106*0fe08d1bSDavid Wu depends on DWC_ETH_QOS 107*0fe08d1bSDavid Wu default y 108*0fe08d1bSDavid Wu help 109*0fe08d1bSDavid Wu Select this to supports the Synopsys Designware Ethernet QOS (Quality 110*0fe08d1bSDavid Wu Of Service) IP block for all chips, default is Y, if select it N, only 111*0fe08d1bSDavid Wu support rockchip's chips. 112*0fe08d1bSDavid Wu 113c294ac5cSSimon Glassconfig E1000 114c294ac5cSSimon Glass bool "Intel PRO/1000 Gigabit Ethernet support" 115c294ac5cSSimon Glass help 116c294ac5cSSimon Glass This driver supports Intel(R) PRO/1000 gigabit ethernet family of 117c294ac5cSSimon Glass adapters. For more information on how to identify your adapter, go 118c294ac5cSSimon Glass to the Adapter & Driver ID Guide at: 119c294ac5cSSimon Glass 120c294ac5cSSimon Glass <http://support.intel.com/support/network/adapter/pro100/21397.htm> 121c294ac5cSSimon Glass 122c294ac5cSSimon Glassconfig E1000_SPI_GENERIC 123c294ac5cSSimon Glass bool "Allow access to the Intel 8257x SPI bus" 124c294ac5cSSimon Glass depends on E1000 125c294ac5cSSimon Glass help 126c294ac5cSSimon Glass Allow generic access to the SPI bus on the Intel 8257x, for 127c294ac5cSSimon Glass example with the "sspi" command. 128c294ac5cSSimon Glass 129c294ac5cSSimon Glassconfig E1000_SPI 130c294ac5cSSimon Glass bool "Enable SPI bus utility code" 131c294ac5cSSimon Glass depends on E1000 132c294ac5cSSimon Glass help 133c294ac5cSSimon Glass Utility code for direct access to the SPI bus on Intel 8257x. 134c294ac5cSSimon Glass This does not do anything useful unless you set at least one 135c294ac5cSSimon Glass of CONFIG_CMD_E1000 or CONFIG_E1000_SPI_GENERIC. 136c294ac5cSSimon Glass 137c294ac5cSSimon Glassconfig CMD_E1000 138c294ac5cSSimon Glass bool "Enable the e1000 command" 139c294ac5cSSimon Glass depends on E1000 140c294ac5cSSimon Glass help 141c294ac5cSSimon Glass This enables the 'e1000' management command for E1000 devices. When 142c294ac5cSSimon Glass used on devices with SPI support you can reprogram the EEPROM from 143c294ac5cSSimon Glass U-Boot. 144c294ac5cSSimon Glass 1453ea143abSJoe Hershbergerconfig ETH_SANDBOX 1463ea143abSJoe Hershberger depends on DM_ETH && SANDBOX 1473ea143abSJoe Hershberger default y 1483ea143abSJoe Hershberger bool "Sandbox: Mocked Ethernet driver" 1493ea143abSJoe Hershberger help 1503ea143abSJoe Hershberger This driver simply responds with fake ARP replies and ping 1513ea143abSJoe Hershberger replies that are used to verify network stack functionality 1523ea143abSJoe Hershberger 1533ea143abSJoe Hershberger This driver is particularly useful in the test/dm/eth.c tests 1543ea143abSJoe Hershberger 155a346ca79SJoe Hershbergerconfig ETH_SANDBOX_RAW 156a346ca79SJoe Hershberger depends on DM_ETH && SANDBOX 157a346ca79SJoe Hershberger default y 158a346ca79SJoe Hershberger bool "Sandbox: Bridge to Linux Raw Sockets" 159a346ca79SJoe Hershberger help 160a346ca79SJoe Hershberger This driver is a bridge from the bottom of the network stack 161a346ca79SJoe Hershberger in U-Boot to the RAW AF_PACKET API in Linux. This allows real 162a346ca79SJoe Hershberger network traffic to be tested from within sandbox. See 163a346ca79SJoe Hershberger board/sandbox/README.sandbox for more details. 164a346ca79SJoe Hershberger 165ef48f6ddSSimon Glassconfig ETH_DESIGNWARE 166ef48f6ddSSimon Glass bool "Synopsys Designware Ethernet MAC" 16725af71c4SThomas Chou select PHYLIB 168ef48f6ddSSimon Glass help 169ef48f6ddSSimon Glass This MAC is present in SoCs from various vendors. It supports 170ef48f6ddSSimon Glass 100Mbit and 1 Gbit operation. You must enable CONFIG_PHYLIB to 171ef48f6ddSSimon Glass provide the PHY (physical media interface). 172ef48f6ddSSimon Glass 173f0727120SMax Filippovconfig ETHOC 174f0727120SMax Filippov bool "OpenCores 10/100 Mbps Ethernet MAC" 175f0727120SMax Filippov help 176f0727120SMax Filippov This MAC is present in OpenRISC and Xtensa XTFPGA boards. 177f0727120SMax Filippov 17897d29ca3SJagan Tekiconfig FEC_MXC 17997d29ca3SJagan Teki bool "FEC Ethernet controller" 18098d62e61SPatrick Bruenn depends on MX5 || MX6 18197d29ca3SJagan Teki help 18297d29ca3SJagan Teki This driver supports the 10/100 Fast Ethernet controller for 18397d29ca3SJagan Teki NXP i.MX processors. 18497d29ca3SJagan Teki 1858dc1b17fSTom Riniconfig FTMAC100 1868dc1b17fSTom Rini bool "Ftmac100 Ethernet Support" 1878dc1b17fSTom Rini help 1888dc1b17fSTom Rini This MAC is present in Andestech SoCs. 1898dc1b17fSTom Rini 19099d4c6d3SStefan Roeseconfig MVPP2 191e7935c47SStefan Roese bool "Marvell Armada 375/7K/8K network interface support" 192e7935c47SStefan Roese depends on ARMADA_375 || ARMADA_8K 19399d4c6d3SStefan Roese select PHYLIB 19499d4c6d3SStefan Roese help 19599d4c6d3SStefan Roese This driver supports the network interface units in the 196e7935c47SStefan Roese Marvell ARMADA 375, 7K and 8K SoCs. 19799d4c6d3SStefan Roese 198ebcb40a5SWenyou Yangconfig MACB 199ebcb40a5SWenyou Yang bool "Cadence MACB/GEM Ethernet Interface" 200ebcb40a5SWenyou Yang depends on DM_ETH 201ebcb40a5SWenyou Yang select PHYLIB 202ebcb40a5SWenyou Yang help 203ebcb40a5SWenyou Yang The Cadence MACB ethernet interface is found on many Atmel 204ebcb40a5SWenyou Yang AT91 and SAMA5 parts. This driver also supports the Cadence 205ebcb40a5SWenyou Yang GEM (Gigabit Ethernet MAC) found in some ARM SoC devices. 206ebcb40a5SWenyou Yang Say Y to include support for the MACB/GEM chip. 207ebcb40a5SWenyou Yang 208b68fe152SBin Mengconfig PCH_GBE 209b68fe152SBin Meng bool "Intel Platform Controller Hub EG20T GMAC driver" 210b68fe152SBin Meng depends on DM_ETH && DM_PCI 211b68fe152SBin Meng select PHYLIB 212b68fe152SBin Meng help 213b68fe152SBin Meng This MAC is present in Intel Platform Controller Hub EG20T. It 214b68fe152SBin Meng supports 10/100/1000 Mbps operation. 215b68fe152SBin Meng 216751b0be0SMylène Josserandconfig RGMII 217751b0be0SMylène Josserand bool "Enable RGMII" 218751b0be0SMylène Josserand help 219751b0be0SMylène Josserand Enable the support of the Reduced Gigabit Media-Independent 220751b0be0SMylène Josserand Interface (RGMII). 221751b0be0SMylène Josserand 22286e9dc86SBin Mengconfig RTL8139 22386e9dc86SBin Meng bool "Realtek 8139 series Ethernet controller driver" 22486e9dc86SBin Meng help 22586e9dc86SBin Meng This driver supports Realtek 8139 series fast ethernet family of 22686e9dc86SBin Meng PCI chipsets/adapters. 22786e9dc86SBin Meng 2280764f24aSBin Mengconfig RTL8169 2290764f24aSBin Meng bool "Realtek 8169 series Ethernet controller driver" 2300764f24aSBin Meng help 2310764f24aSBin Meng This driver supports Realtek 8169 series gigabit ethernet family of 2320764f24aSBin Meng PCI/PCIe chipsets/adapters. 2330764f24aSBin Meng 2344d43d065SMylène Josserandconfig SUN7I_GMAC 2354d43d065SMylène Josserand bool "Enable Allwinner GMAC Ethernet support" 2364d43d065SMylène Josserand help 2374d43d065SMylène Josserand Enable the support for Sun7i GMAC Ethernet controller 2384d43d065SMylène Josserand 239abc3e4dfSMylène Josserandconfig SUN4I_EMAC 240abc3e4dfSMylène Josserand bool "Allwinner Sun4i Ethernet MAC support" 241abc3e4dfSMylène Josserand depends on DM_ETH 242abc3e4dfSMylène Josserand help 243abc3e4dfSMylène Josserand This driver supports the Allwinner based SUN4I Ethernet MAC. 244abc3e4dfSMylène Josserand 245a29710c5SAmit Singh Tomarconfig SUN8I_EMAC 246a29710c5SAmit Singh Tomar bool "Allwinner Sun8i Ethernet MAC support" 247a29710c5SAmit Singh Tomar depends on DM_ETH 248a29710c5SAmit Singh Tomar select PHYLIB 249449ea2cdSPhilipp Tomsich select PHY_GIGE 250a29710c5SAmit Singh Tomar help 251a29710c5SAmit Singh Tomar This driver supports the Allwinner based SUN8I/SUN50I Ethernet MAC. 252a29710c5SAmit Singh Tomar It can be found in H3/A64/A83T based SoCs and compatible with both 2537131d2d0STom Rini External and Internal PHYs. 254a29710c5SAmit Singh Tomar 255338a5f2bSMichal Simekconfig XILINX_AXIEMAC 256338a5f2bSMichal Simek depends on DM_ETH && (MICROBLAZE || ARCH_ZYNQ || ARCH_ZYNQMP) 257338a5f2bSMichal Simek select PHYLIB 258338a5f2bSMichal Simek select MII 259338a5f2bSMichal Simek bool "Xilinx AXI Ethernet" 260338a5f2bSMichal Simek help 261338a5f2bSMichal Simek This MAC is present in Xilinx Microblaze, Zynq and ZynqMP SoCs. 262338a5f2bSMichal Simek 2633229c869SMichal Simekconfig XILINX_EMACLITE 2642f1f05f4SZubair Lutfullah Kakakhel depends on DM_ETH && (MICROBLAZE || ARCH_ZYNQ || ARCH_ZYNQMP || MIPS) 2653229c869SMichal Simek select PHYLIB 2663229c869SMichal Simek select MII 2673229c869SMichal Simek bool "Xilinx Ethernetlite" 2683229c869SMichal Simek help 2693229c869SMichal Simek This MAC is present in Xilinx Microblaze, Zynq and ZynqMP SoCs. 2703229c869SMichal Simek 271596e5782SMichal Simekconfig ZYNQ_GEM 272596e5782SMichal Simek depends on DM_ETH && (ARCH_ZYNQ || ARCH_ZYNQMP) 2737bccc75aSMichal Simek select PHYLIB 274596e5782SMichal Simek bool "Xilinx Ethernet GEM" 275596e5782SMichal Simek help 276c9428107SMichal Simek This MAC is present in Xilinx Zynq and ZynqMP SoCs. 277596e5782SMichal Simek 27823e7578cSPurna Chandra Mandalconfig PIC32_ETH 27923e7578cSPurna Chandra Mandal bool "Microchip PIC32 Ethernet Support" 28023e7578cSPurna Chandra Mandal depends on DM_ETH && MACH_PIC32 28123e7578cSPurna Chandra Mandal select PHYLIB 28223e7578cSPurna Chandra Mandal help 28323e7578cSPurna Chandra Mandal This driver implements 10/100 Mbps Ethernet and MAC layer for 28423e7578cSPurna Chandra Mandal Microchip PIC32 microcontrollers. 28523e7578cSPurna Chandra Mandal 2860125bcf0SSjoerd Simonsconfig GMAC_ROCKCHIP 2870125bcf0SSjoerd Simons bool "Rockchip Synopsys Designware Ethernet MAC" 2886f0a52e9SDavid Wu depends on DM_ETH && (ETH_DESIGNWARE || DWC_ETH_QOS) 2890125bcf0SSjoerd Simons help 2900125bcf0SSjoerd Simons This driver provides Rockchip SoCs network support based on the 2910125bcf0SSjoerd Simons Synopsys Designware driver. 2920125bcf0SSjoerd Simons 2938ae51b6fSMarek Vasutconfig RENESAS_RAVB 2948ae51b6fSMarek Vasut bool "Renesas Ethernet AVB MAC" 2958ae51b6fSMarek Vasut depends on DM_ETH && RCAR_GEN3 2968ae51b6fSMarek Vasut select PHYLIB 2978ae51b6fSMarek Vasut help 2988ae51b6fSMarek Vasut This driver implements support for the Ethernet AVB block in 2998ae51b6fSMarek Vasut Renesas M3 and H3 SoCs. 3008ae51b6fSMarek Vasut 301fad51ac3SChristophe Leroyconfig MPC8XX_FEC 302fad51ac3SChristophe Leroy bool "Fast Ethernet Controller on MPC8XX" 30387e4c602SChristophe Leroy depends on MPC8xx 304fad51ac3SChristophe Leroy select MII 305fad51ac3SChristophe Leroy help 306fad51ac3SChristophe Leroy This driver implements support for the Fast Ethernet Controller 307fad51ac3SChristophe Leroy on MPC8XX 308fad51ac3SChristophe Leroy 309fad51ac3SChristophe Leroyconfig ETHER_ON_FEC1 310fad51ac3SChristophe Leroy bool "FEC1" 311fad51ac3SChristophe Leroy depends on MPC8XX_FEC 312fad51ac3SChristophe Leroy default y 313fad51ac3SChristophe Leroy 314fad51ac3SChristophe Leroyconfig FEC1_PHY 315fad51ac3SChristophe Leroy int "FEC1 PHY" 316fad51ac3SChristophe Leroy depends on ETHER_ON_FEC1 317fad51ac3SChristophe Leroy default -1 318fad51ac3SChristophe Leroy help 319fad51ac3SChristophe Leroy Define to the hardcoded PHY address which corresponds 320fad51ac3SChristophe Leroy to the given FEC; i. e. 321fad51ac3SChristophe Leroy #define CONFIG_FEC1_PHY 4 322fad51ac3SChristophe Leroy means that the PHY with address 4 is connected to FEC1 323fad51ac3SChristophe Leroy 324fad51ac3SChristophe Leroy When set to -1, means to probe for first available. 325fad51ac3SChristophe Leroy 326fad51ac3SChristophe Leroyconfig PHY_NORXERR 327fad51ac3SChristophe Leroy bool "PHY_NORXERR" 328fad51ac3SChristophe Leroy depends on ETHER_ON_FEC1 329fad51ac3SChristophe Leroy default n 330fad51ac3SChristophe Leroy help 331fad51ac3SChristophe Leroy The PHY does not have a RXERR line (RMII only). 332fad51ac3SChristophe Leroy (so program the FEC to ignore it). 333fad51ac3SChristophe Leroy 334fad51ac3SChristophe Leroyconfig ETHER_ON_FEC2 335fad51ac3SChristophe Leroy bool "FEC2" 336fad51ac3SChristophe Leroy depends on MPC8XX_FEC && MPC885 337fad51ac3SChristophe Leroy default y 338fad51ac3SChristophe Leroy 339fad51ac3SChristophe Leroyconfig FEC2_PHY 340fad51ac3SChristophe Leroy int "FEC2 PHY" 341fad51ac3SChristophe Leroy depends on ETHER_ON_FEC2 342fad51ac3SChristophe Leroy default -1 343fad51ac3SChristophe Leroy help 344fad51ac3SChristophe Leroy Define to the hardcoded PHY address which corresponds 345fad51ac3SChristophe Leroy to the given FEC; i. e. 346fad51ac3SChristophe Leroy #define CONFIG_FEC1_PHY 4 347fad51ac3SChristophe Leroy means that the PHY with address 4 is connected to FEC1 348fad51ac3SChristophe Leroy 349fad51ac3SChristophe Leroy When set to -1, means to probe for first available. 350fad51ac3SChristophe Leroy 351fad51ac3SChristophe Leroyconfig FEC2_PHY_NORXERR 352fad51ac3SChristophe Leroy bool "PHY_NORXERR" 353fad51ac3SChristophe Leroy depends on ETHER_ON_FEC2 354fad51ac3SChristophe Leroy default n 355fad51ac3SChristophe Leroy help 356fad51ac3SChristophe Leroy The PHY does not have a RXERR line (RMII only). 357fad51ac3SChristophe Leroy (so program the FEC to ignore it). 358fad51ac3SChristophe Leroy 3593ea143abSJoe Hershbergerendif # NETDEVICES 360