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