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