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