xref: /openbmc/u-boot/drivers/net/phy/Kconfig (revision 03858f8e)
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 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
22if B53_SWITCH
23
24config B53_CPU_PORT
25	int "CPU port"
26	default 8
27
28config B53_PHY_PORTS
29	hex "Bitmask of PHY ports"
30
31endif # B53_SWITCH
32
33config MV88E61XX_SWITCH
34	bool "Marvel MV88E61xx Ethernet switch PHY support."
35
36if MV88E61XX_SWITCH
37
38config MV88E61XX_CPU_PORT
39	int "CPU Port"
40
41config MV88E61XX_PHY_PORTS
42	hex "Bitmask of PHY Ports"
43
44config MV88E61XX_FIXED_PORTS
45	hex "Bitmask of PHYless serdes Ports"
46
47endif # MV88E61XX_SWITCH
48
49config PHYLIB_10G
50	bool "Generic 10G PHY support"
51
52config PHY_AQUANTIA
53	bool "Aquantia Ethernet PHYs support"
54
55config PHY_ATHEROS
56	bool "Atheros Ethernet PHYs support"
57
58config PHY_BROADCOM
59	bool "Broadcom Ethernet PHYs support"
60
61config PHY_CORTINA
62	bool "Cortina Ethernet PHYs support"
63
64config PHY_DAVICOM
65	bool "Davicom Ethernet PHYs support"
66
67config PHY_ET1011C
68	bool "LSI TruePHY ET1011C support"
69
70config PHY_LXT
71	bool "LXT971 Ethernet PHY support"
72
73config PHY_MARVELL
74	bool "Marvell Ethernet PHYs support"
75
76config PHY_MESON_GXL
77	bool "Amlogic Meson GXL Internal PHY support"
78
79config PHY_MICREL
80	bool "Micrel Ethernet PHYs support"
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
88if PHY_MICREL
89
90config PHY_MICREL_KSZ9021
91	bool
92	select PHY_GIGE
93	select PHY_MICREL_KSZ90X1
94
95config PHY_MICREL_KSZ9031
96	bool
97	select PHY_GIGE
98	select PHY_MICREL_KSZ90X1
99
100config 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
113config 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
124endif # PHY_MICREL
125
126config PHY_MSCC
127	bool "Microsemi Corp Ethernet PHYs support"
128
129config PHY_NATSEMI
130	bool "National Semiconductor Ethernet PHYs support"
131
132config PHY_REALTEK
133	bool "Realtek Ethernet PHYs support"
134
135config 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
156config PHY_SMSC
157	bool  "Microchip(SMSC) Ethernet PHYs support"
158
159config PHY_TERANETICS
160	bool "Teranetics Ethernet PHYs support"
161
162config PHY_TI
163	bool "Texas Instruments Ethernet PHYs support"
164
165config PHY_VITESSE
166	bool "Vitesse Ethernet PHYs support"
167
168config PHY_XILINX
169	bool "Xilinx Ethernet PHYs support"
170
171config 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
181endif #PHYLIB
182