blob: ff76d4e9dc1ba5eab90413f82592a876092a8ddf [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 || \
Jeff Kirsher433aee02011-11-02 00:30:52 +000010 ARCH_MXC || ARCH_MXS || (PPC_MPC52xx && PPC_BESTCOMM)
Jeff Kirsherec21e2e2011-06-11 02:29:36 -070011 ---help---
Paul Gortmaker138b15e2015-06-21 16:28:02 -040012 If you have a network (Ethernet) card belonging to this class, say Y.
Jeff Kirsherec21e2e2011-06-11 02:29:36 -070013
14 Note that the answer to this question doesn't directly affect the
15 kernel: saying N will just cause the configurator to skip all
Shawn Guo230dec62011-09-23 02:12:48 +000016 the questions about Freescale devices. If you say Y, you will be
17 asked for your specific card in the following questions.
Jeff Kirsherec21e2e2011-06-11 02:29:36 -070018
19if NET_VENDOR_FREESCALE
20
21config FEC
Lothar Waßmann26cf8202011-12-07 21:59:32 +000022 tristate "FEC ethernet controller (of ColdFire and some i.MX CPUs)"
Jeff Kirsherec21e2e2011-06-11 02:29:36 -070023 depends on (M523x || M527x || M5272 || M528x || M520x || M532x || \
Wolfram Sang0d903242012-01-03 03:46:47 +000024 ARCH_MXC || SOC_IMX28)
25 default ARCH_MXC || SOC_IMX28 if ARM
Jeff Kirsherec21e2e2011-06-11 02:29:36 -070026 select PHYLIB
Frank Liff43da82013-01-03 16:04:23 +000027 select PTP_1588_CLOCK
Jeff Kirsherec21e2e2011-06-11 02:29:36 -070028 ---help---
29 Say Y here if you want to use the built-in 10/100 Fast ethernet
30 controller on some Motorola ColdFire and Freescale i.MX processors.
31
32config FEC_MPC52xx
33 tristate "FEC MPC52xx driver"
34 depends on PPC_MPC52xx && PPC_BESTCOMM
35 select CRC32
36 select PHYLIB
37 select PPC_BESTCOMM_FEC
38 ---help---
39 This option enables support for the MPC5200's on-chip
40 Fast Ethernet Controller
41 If compiled as module, it will be called fec_mpc52xx.
42
43config FEC_MPC52xx_MDIO
44 bool "FEC MPC52xx MDIO bus driver"
45 depends on FEC_MPC52xx
46 default y
47 ---help---
48 The MPC5200's FEC can connect to the Ethernet either with
49 an external MII PHY chip or 10 Mbps 7-wire interface
50 (Motorola? industry standard).
51 If your board uses an external PHY connected to FEC, enable this.
52 If not sure, enable.
53 If compiled as module, it will be called fec_mpc52xx_phy.
54
55source "drivers/net/ethernet/freescale/fs_enet/Kconfig"
56
57config FSL_PQ_MDIO
58 tristate "Freescale PQ MDIO"
Jeff Kirsherec21e2e2011-06-11 02:29:36 -070059 select PHYLIB
60 ---help---
61 This driver supports the MDIO bus used by the gianfar and UCC drivers.
62
Timur Tabi9f35a732012-08-20 09:26:39 +000063config FSL_XGMAC_MDIO
64 tristate "Freescale XGMAC MDIO"
Timur Tabi9f35a732012-08-20 09:26:39 +000065 select PHYLIB
Andy Fleming39f33362014-06-11 13:48:17 -050066 select OF_MDIO
Timur Tabi9f35a732012-08-20 09:26:39 +000067 ---help---
Andy Fleming1fcf77c2015-01-04 17:36:02 +080068 This driver supports the MDIO bus on the Fman 10G Ethernet MACs, and
69 on the FMan mEMAC (which supports both Clauses 22 and 45)
Timur Tabi9f35a732012-08-20 09:26:39 +000070
Jeff Kirsherec21e2e2011-06-11 02:29:36 -070071config UCC_GETH
72 tristate "Freescale QE Gigabit Ethernet"
73 depends on QUICC_ENGINE
74 select FSL_PQ_MDIO
75 select PHYLIB
76 ---help---
77 This driver supports the Gigabit Ethernet mode of the QUICC Engine,
78 which is available on some Freescale SOCs.
79
80config UGETH_TX_ON_DEMAND
81 bool "Transmit on Demand support"
82 depends on UCC_GETH
83
84config GIANFAR
85 tristate "Gianfar Ethernet"
Jeff Kirsherec21e2e2011-06-11 02:29:36 -070086 select FSL_PQ_MDIO
87 select PHYLIB
88 select CRC32
89 ---help---
90 This driver supports the Gigabit TSEC on the MPC83xx, MPC85xx,
Alison Wangbbc65bf2015-06-25 11:34:38 +080091 and MPC86xx family of chips, the eTSEC on LS1021A and the FEC
92 on the 8540.
Jeff Kirsherec21e2e2011-06-11 02:29:36 -070093
Jeff Kirsherec21e2e2011-06-11 02:29:36 -070094endif # NET_VENDOR_FREESCALE