blob: 6e490fd2345dae47b687082101f12bd2523dbde3 [file] [log] [blame]
Jeff Kirsherec21e2e2011-06-11 02:29:36 -07001#
2# Freescale device configuration
3#
4
5config NET_VENDOR_FREESCALE
6 bool "Freescale devices"
Jeff Kirsher88f07482011-08-23 01:29:52 -07007 default y
Jeff Kirsherec21e2e2011-06-11 02:29:36 -07008 depends on FSL_SOC || QUICC_ENGINE || CPM1 || CPM2 || PPC_MPC512x || \
9 M523x || M527x || M5272 || M528x || M520x || M532x || \
Shaohui Xiefe761bc2015-11-20 11:54:08 +080010 ARCH_MXC || ARCH_MXS || (PPC_MPC52xx && PPC_BESTCOMM) || \
Florian Fainelli0827be22016-11-17 11:19:11 -080011 ARCH_LAYERSCAPE || COMPILE_TEST
Jeff Kirsherec21e2e2011-06-11 02:29:36 -070012 ---help---
Paul Gortmaker138b15e2015-06-21 16:28:02 -040013 If you have a network (Ethernet) card belonging to this class, say Y.
Jeff Kirsherec21e2e2011-06-11 02:29:36 -070014
15 Note that the answer to this question doesn't directly affect the
16 kernel: saying N will just cause the configurator to skip all
Shawn Guo230dec62011-09-23 02:12:48 +000017 the questions about Freescale devices. If you say Y, you will be
18 asked for your specific card in the following questions.
Jeff Kirsherec21e2e2011-06-11 02:29:36 -070019
20if NET_VENDOR_FREESCALE
21
22config FEC
Lothar Waßmann26cf8202011-12-07 21:59:32 +000023 tristate "FEC ethernet controller (of ColdFire and some i.MX CPUs)"
Jeff Kirsherec21e2e2011-06-11 02:29:36 -070024 depends on (M523x || M527x || M5272 || M528x || M520x || M532x || \
Wolfram Sang0d903242012-01-03 03:46:47 +000025 ARCH_MXC || SOC_IMX28)
26 default ARCH_MXC || SOC_IMX28 if ARM
Jeff Kirsherec21e2e2011-06-11 02:29:36 -070027 select PHYLIB
Nicolas Pitred1cbfd72016-11-11 00:10:07 -050028 imply PTP_1588_CLOCK
Jeff Kirsherec21e2e2011-06-11 02:29:36 -070029 ---help---
30 Say Y here if you want to use the built-in 10/100 Fast ethernet
31 controller on some Motorola ColdFire and Freescale i.MX processors.
32
33config FEC_MPC52xx
34 tristate "FEC MPC52xx driver"
35 depends on PPC_MPC52xx && PPC_BESTCOMM
36 select CRC32
37 select PHYLIB
38 select PPC_BESTCOMM_FEC
39 ---help---
40 This option enables support for the MPC5200's on-chip
41 Fast Ethernet Controller
42 If compiled as module, it will be called fec_mpc52xx.
43
44config FEC_MPC52xx_MDIO
45 bool "FEC MPC52xx MDIO bus driver"
46 depends on FEC_MPC52xx
47 default y
48 ---help---
49 The MPC5200's FEC can connect to the Ethernet either with
50 an external MII PHY chip or 10 Mbps 7-wire interface
51 (Motorola? industry standard).
52 If your board uses an external PHY connected to FEC, enable this.
53 If not sure, enable.
54 If compiled as module, it will be called fec_mpc52xx_phy.
55
56source "drivers/net/ethernet/freescale/fs_enet/Kconfig"
Igal Liberman5adae512015-12-21 02:21:25 +020057source "drivers/net/ethernet/freescale/fman/Kconfig"
Jeff Kirsherec21e2e2011-06-11 02:29:36 -070058
59config FSL_PQ_MDIO
60 tristate "Freescale PQ MDIO"
Jeff Kirsherec21e2e2011-06-11 02:29:36 -070061 select PHYLIB
62 ---help---
63 This driver supports the MDIO bus used by the gianfar and UCC drivers.
64
Timur Tabi9f35a732012-08-20 09:26:39 +000065config FSL_XGMAC_MDIO
66 tristate "Freescale XGMAC MDIO"
Timur Tabi9f35a732012-08-20 09:26:39 +000067 select PHYLIB
Florian Fainelli0827be22016-11-17 11:19:11 -080068 depends on OF
Andy Fleming39f33362014-06-11 13:48:17 -050069 select OF_MDIO
Timur Tabi9f35a732012-08-20 09:26:39 +000070 ---help---
Andy Fleming1fcf77c2015-01-04 17:36:02 +080071 This driver supports the MDIO bus on the Fman 10G Ethernet MACs, and
72 on the FMan mEMAC (which supports both Clauses 22 and 45)
Timur Tabi9f35a732012-08-20 09:26:39 +000073
Jeff Kirsherec21e2e2011-06-11 02:29:36 -070074config UCC_GETH
75 tristate "Freescale QE Gigabit Ethernet"
76 depends on QUICC_ENGINE
77 select FSL_PQ_MDIO
78 select PHYLIB
79 ---help---
80 This driver supports the Gigabit Ethernet mode of the QUICC Engine,
81 which is available on some Freescale SOCs.
82
83config UGETH_TX_ON_DEMAND
84 bool "Transmit on Demand support"
85 depends on UCC_GETH
86
87config GIANFAR
88 tristate "Gianfar Ethernet"
Florian Fainelli0827be22016-11-17 11:19:11 -080089 depends on HAS_DMA
Jeff Kirsherec21e2e2011-06-11 02:29:36 -070090 select FSL_PQ_MDIO
91 select PHYLIB
92 select CRC32
93 ---help---
94 This driver supports the Gigabit TSEC on the MPC83xx, MPC85xx,
Alison Wangbbc65bf2015-06-25 11:34:38 +080095 and MPC86xx family of chips, the eTSEC on LS1021A and the FEC
96 on the 8540.
Jeff Kirsherec21e2e2011-06-11 02:29:36 -070097
Madalin Bucur9ad1a372016-11-15 10:41:02 +020098source "drivers/net/ethernet/freescale/dpaa/Kconfig"
99
Jeff Kirsherec21e2e2011-06-11 02:29:36 -0700100endif # NET_VENDOR_FREESCALE