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