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