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