net: mdiobus: withdraw fwnode_mdbiobus_register
[linux-2.6-microblaze.git] / drivers / net / ethernet / freescale / Kconfig
1 # SPDX-License-Identifier: GPL-2.0-only
2 #
3 # Freescale device configuration
4 #
5
6 config NET_VENDOR_FREESCALE
7         bool "Freescale devices"
8         default y
9         depends on FSL_SOC || QUICC_ENGINE || CPM1 || CPM2 || PPC_MPC512x || \
10                    M523x || M527x || M5272 || M528x || M520x || M532x || \
11                    ARCH_MXC || ARCH_MXS || (PPC_MPC52xx && PPC_BESTCOMM) || \
12                    ARCH_LAYERSCAPE || COMPILE_TEST
13         help
14           If you have a network (Ethernet) card belonging to this class, say Y.
15
16           Note that the answer to this question doesn't directly affect the
17           kernel: saying N will just cause the configurator to skip all
18           the questions about Freescale devices. If you say Y, you will be
19           asked for your specific card in the following questions.
20
21 if NET_VENDOR_FREESCALE
22
23 config FEC
24         tristate "FEC ethernet controller (of ColdFire and some i.MX CPUs)"
25         depends on (M523x || M527x || M5272 || M528x || M520x || M532x || \
26                    ARCH_MXC || SOC_IMX28 || COMPILE_TEST)
27         default ARCH_MXC || SOC_IMX28 if ARM
28         select CRC32
29         select PHYLIB
30         imply NET_SELFTESTS
31         imply PTP_1588_CLOCK
32         help
33           Say Y here if you want to use the built-in 10/100 Fast ethernet
34           controller on some Motorola ColdFire and Freescale i.MX processors.
35
36 config FEC_MPC52xx
37         tristate "FEC MPC52xx driver"
38         depends on PPC_MPC52xx && PPC_BESTCOMM
39         select CRC32
40         select PHYLIB
41         select PPC_BESTCOMM_FEC
42         help
43           This option enables support for the MPC5200's on-chip
44           Fast Ethernet Controller
45           If compiled as module, it will be called fec_mpc52xx.
46
47 config FEC_MPC52xx_MDIO
48         bool "FEC MPC52xx MDIO bus driver"
49         depends on FEC_MPC52xx
50         default y
51         help
52           The MPC5200's FEC can connect to the Ethernet either with
53           an external MII PHY chip or 10 Mbps 7-wire interface
54           (Motorola? industry standard).
55           If your board uses an external PHY connected to FEC, enable this.
56           If not sure, enable.
57           If compiled as module, it will be called fec_mpc52xx_phy.
58
59 source "drivers/net/ethernet/freescale/fs_enet/Kconfig"
60 source "drivers/net/ethernet/freescale/fman/Kconfig"
61
62 config FSL_PQ_MDIO
63         tristate "Freescale PQ MDIO"
64         select PHYLIB
65         help
66           This driver supports the MDIO bus used by the gianfar and UCC drivers.
67
68 config FSL_XGMAC_MDIO
69         tristate "Freescale XGMAC MDIO"
70         select PHYLIB
71         depends on OF
72         select OF_MDIO
73         help
74           This driver supports the MDIO bus on the Fman 10G Ethernet MACs, and
75           on the FMan mEMAC (which supports both Clauses 22 and 45)
76
77 config UCC_GETH
78         tristate "Freescale QE Gigabit Ethernet"
79         depends on QUICC_ENGINE && PPC32
80         select FSL_PQ_MDIO
81         select PHYLIB
82         select FIXED_PHY
83         help
84           This driver supports the Gigabit Ethernet mode of the QUICC Engine,
85           which is available on some Freescale SOCs.
86
87 config UGETH_TX_ON_DEMAND
88         bool "Transmit on Demand support"
89         depends on UCC_GETH
90
91 config GIANFAR
92         tristate "Gianfar Ethernet"
93         depends on HAS_DMA
94         select FSL_PQ_MDIO
95         select PHYLIB
96         select FIXED_PHY
97         select CRC32
98         help
99           This driver supports the Gigabit TSEC on the MPC83xx, MPC85xx,
100           and MPC86xx family of chips, the eTSEC on LS1021A and the FEC
101           on the 8540.
102
103 source "drivers/net/ethernet/freescale/dpaa/Kconfig"
104 source "drivers/net/ethernet/freescale/dpaa2/Kconfig"
105 source "drivers/net/ethernet/freescale/enetc/Kconfig"
106
107 endif # NET_VENDOR_FREESCALE