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 16*b30c4190SStefan Mavrodievconfig PHY_ADDR 17*b30c4190SStefan Mavrodiev int "PHY address" 18*b30c4190SStefan Mavrodiev default 1 if ARCH_SUNXI 19*b30c4190SStefan Mavrodiev default 0 20*b30c4190SStefan Mavrodiev help 21*b30c4190SStefan Mavrodiev The address of PHY on MII bus. Usually in range of 0 to 31. 22*b30c4190SStefan Mavrodiev 23137963d7SFlorian Fainelliconfig B53_SWITCH 24137963d7SFlorian Fainelli bool "Broadcom BCM53xx (RoboSwitch) Ethernet switch PHY support." 25137963d7SFlorian Fainelli help 26137963d7SFlorian Fainelli Enable support for Broadcom BCM53xx (RoboSwitch) Ethernet switches. 27137963d7SFlorian Fainelli This currently supports BCM53125 and similar models. 28137963d7SFlorian Fainelli 29137963d7SFlorian Fainelliif B53_SWITCH 30137963d7SFlorian Fainelli 31137963d7SFlorian Fainelliconfig B53_CPU_PORT 32137963d7SFlorian Fainelli int "CPU port" 33137963d7SFlorian Fainelli default 8 34137963d7SFlorian Fainelli 35137963d7SFlorian Fainelliconfig B53_PHY_PORTS 36137963d7SFlorian Fainelli hex "Bitmask of PHY ports" 37137963d7SFlorian Fainelli 38137963d7SFlorian Fainelliendif # B53_SWITCH 39137963d7SFlorian Fainelli 40af2cbfd6SAlexconfig MV88E61XX_SWITCH 41af2cbfd6SAlex bool "Marvel MV88E61xx Ethernet switch PHY support." 42af2cbfd6SAlex 43b4f4b0f5STim Harveyif MV88E61XX_SWITCH 44b4f4b0f5STim Harvey 45b4f4b0f5STim Harveyconfig MV88E61XX_CPU_PORT 46b4f4b0f5STim Harvey int "CPU Port" 47b4f4b0f5STim Harvey 48b4f4b0f5STim Harveyconfig MV88E61XX_PHY_PORTS 49b4f4b0f5STim Harvey hex "Bitmask of PHY Ports" 50b4f4b0f5STim Harvey 51b4f4b0f5STim Harveyconfig MV88E61XX_FIXED_PORTS 52b4f4b0f5STim Harvey hex "Bitmask of PHYless serdes Ports" 53b4f4b0f5STim Harvey 54b4f4b0f5STim Harveyendif # MV88E61XX_SWITCH 55b4f4b0f5STim Harvey 56af2cbfd6SAlexconfig PHYLIB_10G 57af2cbfd6SAlex bool "Generic 10G PHY support" 58af2cbfd6SAlex 59af2cbfd6SAlexconfig PHY_AQUANTIA 60af2cbfd6SAlex bool "Aquantia Ethernet PHYs support" 61af2cbfd6SAlex 62af2cbfd6SAlexconfig PHY_ATHEROS 63af2cbfd6SAlex bool "Atheros Ethernet PHYs support" 64af2cbfd6SAlex 65af2cbfd6SAlexconfig PHY_BROADCOM 66af2cbfd6SAlex bool "Broadcom Ethernet PHYs support" 67af2cbfd6SAlex 68af2cbfd6SAlexconfig PHY_CORTINA 69af2cbfd6SAlex bool "Cortina Ethernet PHYs support" 70af2cbfd6SAlex 71af2cbfd6SAlexconfig PHY_DAVICOM 72af2cbfd6SAlex bool "Davicom Ethernet PHYs support" 73af2cbfd6SAlex 74af2cbfd6SAlexconfig PHY_ET1011C 75af2cbfd6SAlex bool "LSI TruePHY ET1011C support" 76af2cbfd6SAlex 77af2cbfd6SAlexconfig PHY_LXT 78af2cbfd6SAlex bool "LXT971 Ethernet PHY support" 79af2cbfd6SAlex 80af2cbfd6SAlexconfig PHY_MARVELL 81af2cbfd6SAlex bool "Marvell Ethernet PHYs support" 82af2cbfd6SAlex 838995a96dSNeil Armstrongconfig PHY_MESON_GXL 848995a96dSNeil Armstrong bool "Amlogic Meson GXL Internal PHY support" 858995a96dSNeil Armstrong 86af2cbfd6SAlexconfig PHY_MICREL 87af2cbfd6SAlex bool "Micrel Ethernet PHYs support" 88449ea2cdSPhilipp Tomsich help 89449ea2cdSPhilipp Tomsich Enable support for the GbE PHYs manufactured by Micrel (now 90449ea2cdSPhilipp Tomsich a part of Microchip). This includes drivers for the KSZ804, 91449ea2cdSPhilipp Tomsich KSZ8031, KSZ8051, KSZ8081, KSZ8895, KSZ886x, KSZ8721 92449ea2cdSPhilipp Tomsich either/or KSZ9021 (see the "Micrel KSZ9021 family support" 93449ea2cdSPhilipp Tomsich config option for details), and KSZ9031 (if configured). 94449ea2cdSPhilipp Tomsich 95449ea2cdSPhilipp Tomsichif PHY_MICREL 96449ea2cdSPhilipp Tomsich 97449ea2cdSPhilipp Tomsichconfig PHY_MICREL_KSZ9021 989a31c739SAlexandru Gagniuc bool 99449ea2cdSPhilipp Tomsich select PHY_GIGE 100d397f7c4SAlexandru Gagniuc select PHY_MICREL_KSZ90X1 101d397f7c4SAlexandru Gagniuc 102449ea2cdSPhilipp Tomsichconfig PHY_MICREL_KSZ9031 1039a31c739SAlexandru Gagniuc bool 104449ea2cdSPhilipp Tomsich select PHY_GIGE 105d397f7c4SAlexandru Gagniuc select PHY_MICREL_KSZ90X1 106d397f7c4SAlexandru Gagniuc 107d397f7c4SAlexandru Gagniucconfig PHY_MICREL_KSZ90X1 108d397f7c4SAlexandru Gagniuc bool "Micrel KSZ90x1 family support" 109d397f7c4SAlexandru Gagniuc select PHY_GIGE 110d397f7c4SAlexandru Gagniuc help 111d397f7c4SAlexandru Gagniuc Enable support for the Micrel KSZ9021 and KSZ9031 GbE PHYs. If 112d397f7c4SAlexandru Gagniuc enabled, the extended register read/write for KSZ90x1 PHYs 113d397f7c4SAlexandru Gagniuc is supported through the 'mdio' command and any RGMII signal 114d397f7c4SAlexandru Gagniuc delays configured in the device tree will be applied to the 115d397f7c4SAlexandru Gagniuc PHY during initialization. 116d397f7c4SAlexandru Gagniuc 117d397f7c4SAlexandru Gagniuc This should not be enabled at the same time with PHY_MICREL_KSZ8XXX 118d397f7c4SAlexandru Gagniuc as the KSZ9021 and KS8721 share the same ID. 119d397f7c4SAlexandru Gagniuc 120d397f7c4SAlexandru Gagniucconfig PHY_MICREL_KSZ8XXX 121d397f7c4SAlexandru Gagniuc bool "Micrel KSZ8xxx family support" 122d397f7c4SAlexandru Gagniuc default y if !PHY_MICREL_KSZ90X1 123d397f7c4SAlexandru Gagniuc help 124d397f7c4SAlexandru Gagniuc Enable support for the 8000 series GbE PHYs manufactured by Micrel 125d397f7c4SAlexandru Gagniuc (now a part of Microchip). This includes drivers for the KSZ804, 126d397f7c4SAlexandru Gagniuc KSZ8031, KSZ8051, KSZ8081, KSZ8895, KSZ886x, and KSZ8721. 127d397f7c4SAlexandru Gagniuc 128d397f7c4SAlexandru Gagniuc This should not be enabled at the same time with PHY_MICREL_KSZ90X1 129d397f7c4SAlexandru Gagniuc as the KSZ9021 and KS8721 share the same ID. 130d397f7c4SAlexandru Gagniuc 131449ea2cdSPhilipp Tomsichendif # PHY_MICREL 132af2cbfd6SAlex 133a5fd13adSJohn Haechtenconfig PHY_MSCC 134a5fd13adSJohn Haechten bool "Microsemi Corp Ethernet PHYs support" 135a5fd13adSJohn Haechten 136af2cbfd6SAlexconfig PHY_NATSEMI 137af2cbfd6SAlex bool "National Semiconductor Ethernet PHYs support" 138af2cbfd6SAlex 139af2cbfd6SAlexconfig PHY_REALTEK 140af2cbfd6SAlex bool "Realtek Ethernet PHYs support" 141af2cbfd6SAlex 142af2cbfd6SAlexconfig RTL8211X_PHY_FORCE_MASTER 143af2cbfd6SAlex bool "Ethernet PHY RTL8211x: force 1000BASE-T master mode" 144af2cbfd6SAlex depends on PHY_REALTEK 145af2cbfd6SAlex help 146af2cbfd6SAlex Force master mode for 1000BASE-T on RTl8211x PHYs (except for RTL8211F). 147af2cbfd6SAlex This can work around link stability and data corruption issues on gigabit 148af2cbfd6SAlex links which can occur in slave mode on certain PHYs, e.g. on the 149af2cbfd6SAlex RTL8211C(L). 150af2cbfd6SAlex 151af2cbfd6SAlex Please note that two directly connected devices (i.e. via crossover cable) 152af2cbfd6SAlex will not be able to establish a link between each other if they both force 153af2cbfd6SAlex master mode. Multiple devices forcing master mode when connected by a 154af2cbfd6SAlex network switch do not pose a problem as the switch configures its affected 155af2cbfd6SAlex ports into slave mode. 156af2cbfd6SAlex 157af2cbfd6SAlex This option only affects gigabit links. If you must establish a direct 158af2cbfd6SAlex connection between two devices which both force master mode, try forcing 159af2cbfd6SAlex the link speed to 100MBit/s. 160af2cbfd6SAlex 161af2cbfd6SAlex If unsure, say N. 162af2cbfd6SAlex 163af2cbfd6SAlexconfig PHY_SMSC 164af2cbfd6SAlex bool "Microchip(SMSC) Ethernet PHYs support" 165af2cbfd6SAlex 166af2cbfd6SAlexconfig PHY_TERANETICS 167af2cbfd6SAlex bool "Teranetics Ethernet PHYs support" 168af2cbfd6SAlex 169af2cbfd6SAlexconfig PHY_TI 170af2cbfd6SAlex bool "Texas Instruments Ethernet PHYs support" 171af2cbfd6SAlex 172af2cbfd6SAlexconfig PHY_VITESSE 173af2cbfd6SAlex bool "Vitesse Ethernet PHYs support" 174af2cbfd6SAlex 175af2cbfd6SAlexconfig PHY_XILINX 176af2cbfd6SAlex bool "Xilinx Ethernet PHYs support" 177af2cbfd6SAlex 178db40c1aaSHannes Schmelzerconfig PHY_FIXED 179db40c1aaSHannes Schmelzer bool "Fixed-Link PHY" 180db40c1aaSHannes Schmelzer depends on DM_ETH 181db40c1aaSHannes Schmelzer help 182db40c1aaSHannes Schmelzer Fixed PHY is used for having a 'fixed-link' to another MAC with a direct 183db40c1aaSHannes Schmelzer connection (MII, RGMII, ...). 184db40c1aaSHannes Schmelzer There is nothing like autoneogation and so 185db40c1aaSHannes Schmelzer on, the link is always up with fixed speed and fixed duplex-setting. 186db40c1aaSHannes Schmelzer More information: doc/device-tree-bindings/net/fixed-link.txt 187db40c1aaSHannes Schmelzer 188af2cbfd6SAlexendif #PHYLIB 189