1af2cbfd6SAlex 2af2cbfd6SAlexconfig BITBANGMII 3af2cbfd6SAlex bool "Bit-banged ethernet MII management channel support" 4af2cbfd6SAlex 5af2cbfd6SAlexconfig MV88E6352_SWITCH 6af2cbfd6SAlex bool "Marvell 88E6352 switch support" 7af2cbfd6SAlex 8af2cbfd6SAlexmenuconfig PHYLIB 9af2cbfd6SAlex bool "Ethernet PHY (physical media interface) support" 10c946b0e9SMichal Simek depends on NET 11af2cbfd6SAlex help 12af2cbfd6SAlex Enable Ethernet PHY (physical media interface) support. 13af2cbfd6SAlex 14af2cbfd6SAlexif PHYLIB 15af2cbfd6SAlex 1616879cd2SJoe Hershbergerconfig PHY_ADDR_ENABLE 1716879cd2SJoe Hershberger bool "Limit phy address" 1816879cd2SJoe Hershberger default y if ARCH_SUNXI 1916879cd2SJoe Hershberger help 2016879cd2SJoe Hershberger Select this if you want to control which phy address is used 2116879cd2SJoe Hershberger 2216879cd2SJoe Hershbergerif PHY_ADDR_ENABLE 23b30c4190SStefan Mavrodievconfig PHY_ADDR 24b30c4190SStefan Mavrodiev int "PHY address" 25b30c4190SStefan Mavrodiev default 1 if ARCH_SUNXI 26b30c4190SStefan Mavrodiev default 0 27b30c4190SStefan Mavrodiev help 28b30c4190SStefan Mavrodiev The address of PHY on MII bus. Usually in range of 0 to 31. 2916879cd2SJoe Hershbergerendif 30b30c4190SStefan Mavrodiev 31137963d7SFlorian Fainelliconfig B53_SWITCH 32137963d7SFlorian Fainelli bool "Broadcom BCM53xx (RoboSwitch) Ethernet switch PHY support." 33137963d7SFlorian Fainelli help 34137963d7SFlorian Fainelli Enable support for Broadcom BCM53xx (RoboSwitch) Ethernet switches. 35137963d7SFlorian Fainelli This currently supports BCM53125 and similar models. 36137963d7SFlorian Fainelli 37137963d7SFlorian Fainelliif B53_SWITCH 38137963d7SFlorian Fainelli 39137963d7SFlorian Fainelliconfig B53_CPU_PORT 40137963d7SFlorian Fainelli int "CPU port" 41137963d7SFlorian Fainelli default 8 42137963d7SFlorian Fainelli 43137963d7SFlorian Fainelliconfig B53_PHY_PORTS 44137963d7SFlorian Fainelli hex "Bitmask of PHY ports" 45137963d7SFlorian Fainelli 46137963d7SFlorian Fainelliendif # B53_SWITCH 47137963d7SFlorian Fainelli 48af2cbfd6SAlexconfig MV88E61XX_SWITCH 49af2cbfd6SAlex bool "Marvel MV88E61xx Ethernet switch PHY support." 50af2cbfd6SAlex 51b4f4b0f5STim Harveyif MV88E61XX_SWITCH 52b4f4b0f5STim Harvey 53b4f4b0f5STim Harveyconfig MV88E61XX_CPU_PORT 54b4f4b0f5STim Harvey int "CPU Port" 55b4f4b0f5STim Harvey 56b4f4b0f5STim Harveyconfig MV88E61XX_PHY_PORTS 57b4f4b0f5STim Harvey hex "Bitmask of PHY Ports" 58b4f4b0f5STim Harvey 59b4f4b0f5STim Harveyconfig MV88E61XX_FIXED_PORTS 60b4f4b0f5STim Harvey hex "Bitmask of PHYless serdes Ports" 61b4f4b0f5STim Harvey 62b4f4b0f5STim Harveyendif # MV88E61XX_SWITCH 63b4f4b0f5STim Harvey 64af2cbfd6SAlexconfig PHYLIB_10G 65af2cbfd6SAlex bool "Generic 10G PHY support" 66af2cbfd6SAlex 67af2cbfd6SAlexconfig PHY_AQUANTIA 68af2cbfd6SAlex bool "Aquantia Ethernet PHYs support" 69*1c650108SJeremy Gebben select PHY_GIGE 70*1c650108SJeremy Gebben select PHYLIB_10G 71af2cbfd6SAlex 72af2cbfd6SAlexconfig PHY_ATHEROS 73af2cbfd6SAlex bool "Atheros Ethernet PHYs support" 74af2cbfd6SAlex 75af2cbfd6SAlexconfig PHY_BROADCOM 76af2cbfd6SAlex bool "Broadcom Ethernet PHYs support" 77af2cbfd6SAlex 78af2cbfd6SAlexconfig PHY_CORTINA 79af2cbfd6SAlex bool "Cortina Ethernet PHYs support" 80af2cbfd6SAlex 81af2cbfd6SAlexconfig PHY_DAVICOM 82af2cbfd6SAlex bool "Davicom Ethernet PHYs support" 83af2cbfd6SAlex 84af2cbfd6SAlexconfig PHY_ET1011C 85af2cbfd6SAlex bool "LSI TruePHY ET1011C support" 86af2cbfd6SAlex 87af2cbfd6SAlexconfig PHY_LXT 88af2cbfd6SAlex bool "LXT971 Ethernet PHY support" 89af2cbfd6SAlex 90af2cbfd6SAlexconfig PHY_MARVELL 91af2cbfd6SAlex bool "Marvell Ethernet PHYs support" 92af2cbfd6SAlex 938995a96dSNeil Armstrongconfig PHY_MESON_GXL 948995a96dSNeil Armstrong bool "Amlogic Meson GXL Internal PHY support" 958995a96dSNeil Armstrong 96af2cbfd6SAlexconfig PHY_MICREL 97af2cbfd6SAlex bool "Micrel Ethernet PHYs support" 98449ea2cdSPhilipp Tomsich help 99449ea2cdSPhilipp Tomsich Enable support for the GbE PHYs manufactured by Micrel (now 100449ea2cdSPhilipp Tomsich a part of Microchip). This includes drivers for the KSZ804, 101449ea2cdSPhilipp Tomsich KSZ8031, KSZ8051, KSZ8081, KSZ8895, KSZ886x, KSZ8721 102449ea2cdSPhilipp Tomsich either/or KSZ9021 (see the "Micrel KSZ9021 family support" 103449ea2cdSPhilipp Tomsich config option for details), and KSZ9031 (if configured). 104449ea2cdSPhilipp Tomsich 105449ea2cdSPhilipp Tomsichif PHY_MICREL 106449ea2cdSPhilipp Tomsich 107449ea2cdSPhilipp Tomsichconfig PHY_MICREL_KSZ9021 1089a31c739SAlexandru Gagniuc bool 109449ea2cdSPhilipp Tomsich select PHY_GIGE 110d397f7c4SAlexandru Gagniuc select PHY_MICREL_KSZ90X1 111d397f7c4SAlexandru Gagniuc 112449ea2cdSPhilipp Tomsichconfig PHY_MICREL_KSZ9031 1139a31c739SAlexandru Gagniuc bool 114449ea2cdSPhilipp Tomsich select PHY_GIGE 115d397f7c4SAlexandru Gagniuc select PHY_MICREL_KSZ90X1 116d397f7c4SAlexandru Gagniuc 117d397f7c4SAlexandru Gagniucconfig PHY_MICREL_KSZ90X1 118d397f7c4SAlexandru Gagniuc bool "Micrel KSZ90x1 family support" 119d397f7c4SAlexandru Gagniuc select PHY_GIGE 120d397f7c4SAlexandru Gagniuc help 121d397f7c4SAlexandru Gagniuc Enable support for the Micrel KSZ9021 and KSZ9031 GbE PHYs. If 122d397f7c4SAlexandru Gagniuc enabled, the extended register read/write for KSZ90x1 PHYs 123d397f7c4SAlexandru Gagniuc is supported through the 'mdio' command and any RGMII signal 124d397f7c4SAlexandru Gagniuc delays configured in the device tree will be applied to the 125d397f7c4SAlexandru Gagniuc PHY during initialization. 126d397f7c4SAlexandru Gagniuc 127d397f7c4SAlexandru Gagniuc This should not be enabled at the same time with PHY_MICREL_KSZ8XXX 128d397f7c4SAlexandru Gagniuc as the KSZ9021 and KS8721 share the same ID. 129d397f7c4SAlexandru Gagniuc 130d397f7c4SAlexandru Gagniucconfig PHY_MICREL_KSZ8XXX 131d397f7c4SAlexandru Gagniuc bool "Micrel KSZ8xxx family support" 132d397f7c4SAlexandru Gagniuc default y if !PHY_MICREL_KSZ90X1 133d397f7c4SAlexandru Gagniuc help 134d397f7c4SAlexandru Gagniuc Enable support for the 8000 series GbE PHYs manufactured by Micrel 135d397f7c4SAlexandru Gagniuc (now a part of Microchip). This includes drivers for the KSZ804, 136d397f7c4SAlexandru Gagniuc KSZ8031, KSZ8051, KSZ8081, KSZ8895, KSZ886x, and KSZ8721. 137d397f7c4SAlexandru Gagniuc 138d397f7c4SAlexandru Gagniuc This should not be enabled at the same time with PHY_MICREL_KSZ90X1 139d397f7c4SAlexandru Gagniuc as the KSZ9021 and KS8721 share the same ID. 140d397f7c4SAlexandru Gagniuc 141449ea2cdSPhilipp Tomsichendif # PHY_MICREL 142af2cbfd6SAlex 143a5fd13adSJohn Haechtenconfig PHY_MSCC 144a5fd13adSJohn Haechten bool "Microsemi Corp Ethernet PHYs support" 145a5fd13adSJohn Haechten 146af2cbfd6SAlexconfig PHY_NATSEMI 147af2cbfd6SAlex bool "National Semiconductor Ethernet PHYs support" 148af2cbfd6SAlex 149af2cbfd6SAlexconfig PHY_REALTEK 150af2cbfd6SAlex bool "Realtek Ethernet PHYs support" 151af2cbfd6SAlex 15266526e70Skevans@FreeBSD.orgconfig RTL8211E_PINE64_GIGABIT_FIX 15366526e70Skevans@FreeBSD.org bool "Fix gigabit throughput on some Pine64+ models" 15466526e70Skevans@FreeBSD.org depends on PHY_REALTEK 15566526e70Skevans@FreeBSD.org help 15666526e70Skevans@FreeBSD.org Configure the Realtek RTL8211E found on some Pine64+ models differently to 15766526e70Skevans@FreeBSD.org fix throughput on Gigabit links, turning off all internal delays in the 15866526e70Skevans@FreeBSD.org process. The settings that this touches are not documented in the CONFREG 15966526e70Skevans@FreeBSD.org section of the RTL8211E datasheet, but come from Realtek by way of the 16066526e70Skevans@FreeBSD.org Pine64 engineering team. 16166526e70Skevans@FreeBSD.org 162af2cbfd6SAlexconfig RTL8211X_PHY_FORCE_MASTER 163af2cbfd6SAlex bool "Ethernet PHY RTL8211x: force 1000BASE-T master mode" 164af2cbfd6SAlex depends on PHY_REALTEK 165af2cbfd6SAlex help 166af2cbfd6SAlex Force master mode for 1000BASE-T on RTl8211x PHYs (except for RTL8211F). 167af2cbfd6SAlex This can work around link stability and data corruption issues on gigabit 168af2cbfd6SAlex links which can occur in slave mode on certain PHYs, e.g. on the 169af2cbfd6SAlex RTL8211C(L). 170af2cbfd6SAlex 171af2cbfd6SAlex Please note that two directly connected devices (i.e. via crossover cable) 172af2cbfd6SAlex will not be able to establish a link between each other if they both force 173af2cbfd6SAlex master mode. Multiple devices forcing master mode when connected by a 174af2cbfd6SAlex network switch do not pose a problem as the switch configures its affected 175af2cbfd6SAlex ports into slave mode. 176af2cbfd6SAlex 177af2cbfd6SAlex This option only affects gigabit links. If you must establish a direct 178af2cbfd6SAlex connection between two devices which both force master mode, try forcing 179af2cbfd6SAlex the link speed to 100MBit/s. 180af2cbfd6SAlex 181af2cbfd6SAlex If unsure, say N. 182af2cbfd6SAlex 183af2cbfd6SAlexconfig PHY_SMSC 184af2cbfd6SAlex bool "Microchip(SMSC) Ethernet PHYs support" 185af2cbfd6SAlex 186af2cbfd6SAlexconfig PHY_TERANETICS 187af2cbfd6SAlex bool "Teranetics Ethernet PHYs support" 188af2cbfd6SAlex 189af2cbfd6SAlexconfig PHY_TI 190af2cbfd6SAlex bool "Texas Instruments Ethernet PHYs support" 191af2cbfd6SAlex 192af2cbfd6SAlexconfig PHY_VITESSE 193af2cbfd6SAlex bool "Vitesse Ethernet PHYs support" 194af2cbfd6SAlex 195af2cbfd6SAlexconfig PHY_XILINX 196af2cbfd6SAlex bool "Xilinx Ethernet PHYs support" 197af2cbfd6SAlex 198db40c1aaSHannes Schmelzerconfig PHY_FIXED 199db40c1aaSHannes Schmelzer bool "Fixed-Link PHY" 200db40c1aaSHannes Schmelzer depends on DM_ETH 201db40c1aaSHannes Schmelzer help 202db40c1aaSHannes Schmelzer Fixed PHY is used for having a 'fixed-link' to another MAC with a direct 203db40c1aaSHannes Schmelzer connection (MII, RGMII, ...). 204db40c1aaSHannes Schmelzer There is nothing like autoneogation and so 205db40c1aaSHannes Schmelzer on, the link is always up with fixed speed and fixed duplex-setting. 206db40c1aaSHannes Schmelzer More information: doc/device-tree-bindings/net/fixed-link.txt 207db40c1aaSHannes Schmelzer 208af2cbfd6SAlexendif #PHYLIB 209