xref: /openbmc/u-boot/drivers/net/phy/Kconfig (revision 5d0c74e6)
1
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"
10	depends on NET
11	help
12	  Enable Ethernet PHY (physical media interface) support.
13
14if PHYLIB
15
16config 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
23config 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
40config MV88E61XX_SWITCH
41	bool "Marvel MV88E61xx Ethernet switch PHY support."
42
43if 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
56config 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
83config PHY_MESON_GXL
84	bool "Amlogic Meson GXL Internal PHY support"
85
86config PHY_MICREL
87	bool "Micrel Ethernet PHYs support"
88	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
98	bool
99	select PHY_GIGE
100	select PHY_MICREL_KSZ90X1
101
102config PHY_MICREL_KSZ9031
103	bool
104	select PHY_GIGE
105	select PHY_MICREL_KSZ90X1
106
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
131endif # PHY_MICREL
132
133config PHY_MSCC
134	bool "Microsemi Corp Ethernet PHYs support"
135
136config 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
178config 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
188endif #PHYLIB
189