Loading...
1# SPDX-License-Identifier: GPL-2.0-only
2#
3# Freescale device configuration
4#
5
6config 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 || ARCH_S32 || 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
21if NET_VENDOR_FREESCALE
22
23config 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 || ARCH_S32 || SOC_IMX28 || COMPILE_TEST)
27 default ARCH_MXC || SOC_IMX28 if ARM
28 depends on PTP_1588_CLOCK_OPTIONAL
29 select CRC32
30 select PHYLIB
31 select PAGE_POOL
32 imply PAGE_POOL_STATS
33 imply NET_SELFTESTS
34 help
35 Say Y here if you want to use the built-in 10/100 Fast ethernet
36 controller on some Motorola ColdFire and Freescale i.MX/S32 processors.
37
38config FEC_MPC52xx
39 tristate "FEC MPC52xx driver"
40 depends on PPC_MPC52xx && PPC_BESTCOMM
41 select CRC32
42 select PHYLIB
43 select PPC_BESTCOMM_FEC
44 help
45 This option enables support for the MPC5200's on-chip
46 Fast Ethernet Controller
47 If compiled as module, it will be called fec_mpc52xx.
48
49config FEC_MPC52xx_MDIO
50 bool "FEC MPC52xx MDIO bus driver"
51 depends on FEC_MPC52xx
52 default y
53 help
54 The MPC5200's FEC can connect to the Ethernet either with
55 an external MII PHY chip or 10 Mbps 7-wire interface
56 (Motorola? industry standard).
57 If your board uses an external PHY connected to FEC, enable this.
58 If not sure, enable.
59 If compiled as module, it will be called fec_mpc52xx_phy.
60
61source "drivers/net/ethernet/freescale/fs_enet/Kconfig"
62source "drivers/net/ethernet/freescale/fman/Kconfig"
63
64config FSL_PQ_MDIO
65 tristate "Freescale PQ MDIO"
66 select PHYLIB
67 help
68 This driver supports the MDIO bus used by the gianfar and UCC drivers.
69
70config FSL_XGMAC_MDIO
71 tristate "Freescale XGMAC MDIO"
72 select PHYLIB
73 depends on OF
74 select MDIO_DEVRES
75 select OF_MDIO
76 help
77 This driver supports the MDIO bus on the Fman 10G Ethernet MACs, and
78 on the FMan mEMAC (which supports both Clauses 22 and 45)
79
80config UCC_GETH
81 tristate "Freescale QE Gigabit Ethernet"
82 depends on QUICC_ENGINE && PPC32
83 select FSL_PQ_MDIO
84 select PHYLIB
85 select FIXED_PHY
86 help
87 This driver supports the Gigabit Ethernet mode of the QUICC Engine,
88 which is available on some Freescale SOCs.
89
90config UGETH_TX_ON_DEMAND
91 bool "Transmit on Demand support"
92 depends on UCC_GETH
93
94config GIANFAR
95 tristate "Gianfar Ethernet"
96 depends on HAS_DMA
97 select FSL_PQ_MDIO
98 select PHYLIB
99 select FIXED_PHY
100 select CRC32
101 help
102 This driver supports the Gigabit TSEC on the MPC83xx, MPC85xx,
103 and MPC86xx family of chips, the eTSEC on LS1021A and the FEC
104 on the 8540.
105
106source "drivers/net/ethernet/freescale/dpaa/Kconfig"
107source "drivers/net/ethernet/freescale/dpaa2/Kconfig"
108source "drivers/net/ethernet/freescale/enetc/Kconfig"
109
110endif # NET_VENDOR_FREESCALE
1# SPDX-License-Identifier: GPL-2.0-only
2#
3# Freescale device configuration
4#
5
6config 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 || ARCH_S32 || 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
21if NET_VENDOR_FREESCALE
22
23config 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 || ARCH_S32 || SOC_IMX28 || COMPILE_TEST)
27 default ARCH_MXC || SOC_IMX28 if ARM
28 depends on PTP_1588_CLOCK_OPTIONAL
29 select CRC32
30 select PHYLIB
31 select PAGE_POOL
32 select PAGE_POOL_STATS
33 imply NET_SELFTESTS
34 help
35 Say Y here if you want to use the built-in 10/100 Fast ethernet
36 controller on some Motorola ColdFire and Freescale i.MX/S32 processors.
37
38config FEC_MPC52xx
39 tristate "FEC MPC52xx driver"
40 depends on PPC_MPC52xx && PPC_BESTCOMM
41 select CRC32
42 select PHYLIB
43 select PPC_BESTCOMM_FEC
44 help
45 This option enables support for the MPC5200's on-chip
46 Fast Ethernet Controller
47 If compiled as module, it will be called fec_mpc52xx.
48
49config FEC_MPC52xx_MDIO
50 bool "FEC MPC52xx MDIO bus driver"
51 depends on FEC_MPC52xx
52 default y
53 help
54 The MPC5200's FEC can connect to the Ethernet either with
55 an external MII PHY chip or 10 Mbps 7-wire interface
56 (Motorola? industry standard).
57 If your board uses an external PHY connected to FEC, enable this.
58 If not sure, enable.
59 If compiled as module, it will be called fec_mpc52xx_phy.
60
61source "drivers/net/ethernet/freescale/fs_enet/Kconfig"
62source "drivers/net/ethernet/freescale/fman/Kconfig"
63
64config FSL_PQ_MDIO
65 tristate "Freescale PQ MDIO"
66 select PHYLIB
67 help
68 This driver supports the MDIO bus used by the gianfar and UCC drivers.
69
70config FSL_XGMAC_MDIO
71 tristate "Freescale XGMAC MDIO"
72 select PHYLIB
73 depends on OF
74 select OF_MDIO
75 help
76 This driver supports the MDIO bus on the Fman 10G Ethernet MACs, and
77 on the FMan mEMAC (which supports both Clauses 22 and 45)
78
79config UCC_GETH
80 tristate "Freescale QE Gigabit Ethernet"
81 depends on QUICC_ENGINE && PPC32
82 select FSL_PQ_MDIO
83 select PHYLIB
84 select FIXED_PHY
85 help
86 This driver supports the Gigabit Ethernet mode of the QUICC Engine,
87 which is available on some Freescale SOCs.
88
89config UGETH_TX_ON_DEMAND
90 bool "Transmit on Demand support"
91 depends on UCC_GETH
92
93config GIANFAR
94 tristate "Gianfar Ethernet"
95 depends on HAS_DMA
96 select FSL_PQ_MDIO
97 select PHYLIB
98 select FIXED_PHY
99 select CRC32
100 help
101 This driver supports the Gigabit TSEC on the MPC83xx, MPC85xx,
102 and MPC86xx family of chips, the eTSEC on LS1021A and the FEC
103 on the 8540.
104
105source "drivers/net/ethernet/freescale/dpaa/Kconfig"
106source "drivers/net/ethernet/freescale/dpaa2/Kconfig"
107source "drivers/net/ethernet/freescale/enetc/Kconfig"
108
109endif # NET_VENDOR_FREESCALE