Alex | 89e50d9 | 2017-02-06 19:17:34 -0800 | [diff] [blame] | 1 | |
| 2 | config BITBANGMII |
| 3 | bool "Bit-banged ethernet MII management channel support" |
| 4 | |
| 5 | config MV88E6352_SWITCH |
| 6 | bool "Marvell 88E6352 switch support" |
| 7 | |
| 8 | menuconfig PHYLIB |
| 9 | bool "Ethernet PHY (physical media interface) support" |
Michal Simek | 5647da0 | 2018-02-06 13:23:52 +0100 | [diff] [blame^] | 10 | depends on NET |
Alex | 89e50d9 | 2017-02-06 19:17:34 -0800 | [diff] [blame] | 11 | help |
| 12 | Enable Ethernet PHY (physical media interface) support. |
| 13 | |
| 14 | if PHYLIB |
| 15 | |
Florian Fainelli | 01b4ade | 2017-12-09 14:59:54 -0800 | [diff] [blame] | 16 | config B53_SWITCH |
| 17 | bool "Broadcom BCM53xx (RoboSwitch) Ethernet switch PHY support." |
| 18 | help |
| 19 | Enable support for Broadcom BCM53xx (RoboSwitch) Ethernet switches. |
| 20 | This currently supports BCM53125 and similar models. |
| 21 | |
| 22 | if B53_SWITCH |
| 23 | |
| 24 | config B53_CPU_PORT |
| 25 | int "CPU port" |
| 26 | default 8 |
| 27 | |
| 28 | config B53_PHY_PORTS |
| 29 | hex "Bitmask of PHY ports" |
| 30 | |
| 31 | endif # B53_SWITCH |
| 32 | |
Alex | 89e50d9 | 2017-02-06 19:17:34 -0800 | [diff] [blame] | 33 | config MV88E61XX_SWITCH |
| 34 | bool "Marvel MV88E61xx Ethernet switch PHY support." |
| 35 | |
Tim Harvey | c2cc9d4 | 2017-03-17 07:29:51 -0700 | [diff] [blame] | 36 | if MV88E61XX_SWITCH |
| 37 | |
| 38 | config MV88E61XX_CPU_PORT |
| 39 | int "CPU Port" |
| 40 | |
| 41 | config MV88E61XX_PHY_PORTS |
| 42 | hex "Bitmask of PHY Ports" |
| 43 | |
| 44 | config MV88E61XX_FIXED_PORTS |
| 45 | hex "Bitmask of PHYless serdes Ports" |
| 46 | |
| 47 | endif # MV88E61XX_SWITCH |
| 48 | |
Alex | 89e50d9 | 2017-02-06 19:17:34 -0800 | [diff] [blame] | 49 | config PHYLIB_10G |
| 50 | bool "Generic 10G PHY support" |
| 51 | |
| 52 | config PHY_AQUANTIA |
| 53 | bool "Aquantia Ethernet PHYs support" |
| 54 | |
| 55 | config PHY_ATHEROS |
| 56 | bool "Atheros Ethernet PHYs support" |
| 57 | |
| 58 | config PHY_BROADCOM |
| 59 | bool "Broadcom Ethernet PHYs support" |
| 60 | |
| 61 | config PHY_CORTINA |
| 62 | bool "Cortina Ethernet PHYs support" |
| 63 | |
| 64 | config PHY_DAVICOM |
| 65 | bool "Davicom Ethernet PHYs support" |
| 66 | |
| 67 | config PHY_ET1011C |
| 68 | bool "LSI TruePHY ET1011C support" |
| 69 | |
| 70 | config PHY_LXT |
| 71 | bool "LXT971 Ethernet PHY support" |
| 72 | |
| 73 | config PHY_MARVELL |
| 74 | bool "Marvell Ethernet PHYs support" |
| 75 | |
Neil Armstrong | 7a4c90d | 2017-10-18 10:02:10 +0200 | [diff] [blame] | 76 | config PHY_MESON_GXL |
| 77 | bool "Amlogic Meson GXL Internal PHY support" |
| 78 | |
Alex | 89e50d9 | 2017-02-06 19:17:34 -0800 | [diff] [blame] | 79 | config PHY_MICREL |
| 80 | bool "Micrel Ethernet PHYs support" |
Philipp Tomsich | 00c3361 | 2017-03-26 18:50:23 +0200 | [diff] [blame] | 81 | help |
| 82 | Enable support for the GbE PHYs manufactured by Micrel (now |
| 83 | a part of Microchip). This includes drivers for the KSZ804, |
| 84 | KSZ8031, KSZ8051, KSZ8081, KSZ8895, KSZ886x, KSZ8721 |
| 85 | either/or KSZ9021 (see the "Micrel KSZ9021 family support" |
| 86 | config option for details), and KSZ9031 (if configured). |
| 87 | |
| 88 | if PHY_MICREL |
| 89 | |
| 90 | config PHY_MICREL_KSZ9021 |
Alexandru Gagniuc | 4c69ccb | 2017-07-07 11:37:00 -0700 | [diff] [blame] | 91 | bool |
Philipp Tomsich | 00c3361 | 2017-03-26 18:50:23 +0200 | [diff] [blame] | 92 | select PHY_GIGE |
Alexandru Gagniuc | 757bb67 | 2017-07-07 11:36:57 -0700 | [diff] [blame] | 93 | select PHY_MICREL_KSZ90X1 |
Alexandru Gagniuc | 757bb67 | 2017-07-07 11:36:57 -0700 | [diff] [blame] | 94 | |
Philipp Tomsich | 00c3361 | 2017-03-26 18:50:23 +0200 | [diff] [blame] | 95 | config PHY_MICREL_KSZ9031 |
Alexandru Gagniuc | 4c69ccb | 2017-07-07 11:37:00 -0700 | [diff] [blame] | 96 | bool |
Philipp Tomsich | 00c3361 | 2017-03-26 18:50:23 +0200 | [diff] [blame] | 97 | select PHY_GIGE |
Alexandru Gagniuc | 757bb67 | 2017-07-07 11:36:57 -0700 | [diff] [blame] | 98 | select PHY_MICREL_KSZ90X1 |
Alexandru Gagniuc | 757bb67 | 2017-07-07 11:36:57 -0700 | [diff] [blame] | 99 | |
| 100 | config PHY_MICREL_KSZ90X1 |
| 101 | bool "Micrel KSZ90x1 family support" |
| 102 | select PHY_GIGE |
| 103 | help |
| 104 | Enable support for the Micrel KSZ9021 and KSZ9031 GbE PHYs. If |
| 105 | enabled, the extended register read/write for KSZ90x1 PHYs |
| 106 | is supported through the 'mdio' command and any RGMII signal |
| 107 | delays configured in the device tree will be applied to the |
| 108 | PHY during initialization. |
| 109 | |
| 110 | This should not be enabled at the same time with PHY_MICREL_KSZ8XXX |
| 111 | as the KSZ9021 and KS8721 share the same ID. |
| 112 | |
| 113 | config PHY_MICREL_KSZ8XXX |
| 114 | bool "Micrel KSZ8xxx family support" |
| 115 | default y if !PHY_MICREL_KSZ90X1 |
| 116 | help |
| 117 | Enable support for the 8000 series GbE PHYs manufactured by Micrel |
| 118 | (now a part of Microchip). This includes drivers for the KSZ804, |
| 119 | KSZ8031, KSZ8051, KSZ8081, KSZ8895, KSZ886x, and KSZ8721. |
| 120 | |
| 121 | This should not be enabled at the same time with PHY_MICREL_KSZ90X1 |
| 122 | as the KSZ9021 and KS8721 share the same ID. |
| 123 | |
Philipp Tomsich | 00c3361 | 2017-03-26 18:50:23 +0200 | [diff] [blame] | 124 | endif # PHY_MICREL |
Alex | 89e50d9 | 2017-02-06 19:17:34 -0800 | [diff] [blame] | 125 | |
John Haechten | ee253f9 | 2016-12-09 22:15:17 +0000 | [diff] [blame] | 126 | config PHY_MSCC |
| 127 | bool "Microsemi Corp Ethernet PHYs support" |
| 128 | |
Alex | 89e50d9 | 2017-02-06 19:17:34 -0800 | [diff] [blame] | 129 | config PHY_NATSEMI |
| 130 | bool "National Semiconductor Ethernet PHYs support" |
| 131 | |
| 132 | config PHY_REALTEK |
| 133 | bool "Realtek Ethernet PHYs support" |
| 134 | |
| 135 | config RTL8211X_PHY_FORCE_MASTER |
| 136 | bool "Ethernet PHY RTL8211x: force 1000BASE-T master mode" |
| 137 | depends on PHY_REALTEK |
| 138 | help |
| 139 | Force master mode for 1000BASE-T on RTl8211x PHYs (except for RTL8211F). |
| 140 | This can work around link stability and data corruption issues on gigabit |
| 141 | links which can occur in slave mode on certain PHYs, e.g. on the |
| 142 | RTL8211C(L). |
| 143 | |
| 144 | Please note that two directly connected devices (i.e. via crossover cable) |
| 145 | will not be able to establish a link between each other if they both force |
| 146 | master mode. Multiple devices forcing master mode when connected by a |
| 147 | network switch do not pose a problem as the switch configures its affected |
| 148 | ports into slave mode. |
| 149 | |
| 150 | This option only affects gigabit links. If you must establish a direct |
| 151 | connection between two devices which both force master mode, try forcing |
| 152 | the link speed to 100MBit/s. |
| 153 | |
| 154 | If unsure, say N. |
| 155 | |
| 156 | config PHY_SMSC |
| 157 | bool "Microchip(SMSC) Ethernet PHYs support" |
| 158 | |
| 159 | config PHY_TERANETICS |
| 160 | bool "Teranetics Ethernet PHYs support" |
| 161 | |
| 162 | config PHY_TI |
| 163 | bool "Texas Instruments Ethernet PHYs support" |
| 164 | |
| 165 | config PHY_VITESSE |
| 166 | bool "Vitesse Ethernet PHYs support" |
| 167 | |
| 168 | config PHY_XILINX |
| 169 | bool "Xilinx Ethernet PHYs support" |
| 170 | |
Hannes Schmelzer | da49460 | 2017-03-23 15:11:43 +0100 | [diff] [blame] | 171 | config PHY_FIXED |
| 172 | bool "Fixed-Link PHY" |
| 173 | depends on DM_ETH |
| 174 | help |
| 175 | Fixed PHY is used for having a 'fixed-link' to another MAC with a direct |
| 176 | connection (MII, RGMII, ...). |
| 177 | There is nothing like autoneogation and so |
| 178 | on, the link is always up with fixed speed and fixed duplex-setting. |
| 179 | More information: doc/device-tree-bindings/net/fixed-link.txt |
| 180 | |
Alex | 89e50d9 | 2017-02-06 19:17:34 -0800 | [diff] [blame] | 181 | endif #PHYLIB |