Thomas Gleixner | ec8f24b | 2019-05-19 13:07:45 +0100 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0-only |
Jeff Kirsher | ec21e2e | 2011-06-11 02:29:36 -0700 | [diff] [blame] | 2 | # |
| 3 | # Freescale device configuration |
| 4 | # |
| 5 | |
| 6 | config NET_VENDOR_FREESCALE |
| 7 | bool "Freescale devices" |
Jeff Kirsher | 88f0748 | 2011-08-23 01:29:52 -0700 | [diff] [blame] | 8 | default y |
Jeff Kirsher | ec21e2e | 2011-06-11 02:29:36 -0700 | [diff] [blame] | 9 | depends on FSL_SOC || QUICC_ENGINE || CPM1 || CPM2 || PPC_MPC512x || \ |
| 10 | M523x || M527x || M5272 || M528x || M520x || M532x || \ |
Shaohui Xie | fe761bc | 2015-11-20 11:54:08 +0800 | [diff] [blame] | 11 | ARCH_MXC || ARCH_MXS || (PPC_MPC52xx && PPC_BESTCOMM) || \ |
Florian Fainelli | 0827be2 | 2016-11-17 11:19:11 -0800 | [diff] [blame] | 12 | ARCH_LAYERSCAPE || COMPILE_TEST |
Masahiro Yamada | a7f7f62 | 2020-06-14 01:50:22 +0900 | [diff] [blame] | 13 | help |
Paul Gortmaker | 138b15e | 2015-06-21 16:28:02 -0400 | [diff] [blame] | 14 | If you have a network (Ethernet) card belonging to this class, say Y. |
Jeff Kirsher | ec21e2e | 2011-06-11 02:29:36 -0700 | [diff] [blame] | 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 |
Shawn Guo | 230dec6 | 2011-09-23 02:12:48 +0000 | [diff] [blame] | 18 | the questions about Freescale devices. If you say Y, you will be |
| 19 | asked for your specific card in the following questions. |
Jeff Kirsher | ec21e2e | 2011-06-11 02:29:36 -0700 | [diff] [blame] | 20 | |
| 21 | if NET_VENDOR_FREESCALE |
| 22 | |
| 23 | config FEC |
Lothar Waßmann | 26cf820 | 2011-12-07 21:59:32 +0000 | [diff] [blame] | 24 | tristate "FEC ethernet controller (of ColdFire and some i.MX CPUs)" |
Jeff Kirsher | ec21e2e | 2011-06-11 02:29:36 -0700 | [diff] [blame] | 25 | depends on (M523x || M527x || M5272 || M528x || M520x || M532x || \ |
Florian Fainelli | 78cc6e7 | 2018-05-17 13:07:44 -0700 | [diff] [blame] | 26 | ARCH_MXC || SOC_IMX28 || COMPILE_TEST) |
Wolfram Sang | 0d90324 | 2012-01-03 03:46:47 +0000 | [diff] [blame] | 27 | default ARCH_MXC || SOC_IMX28 if ARM |
Arnd Bergmann | e5f3155 | 2021-08-12 20:33:58 +0200 | [diff] [blame] | 28 | depends on PTP_1588_CLOCK_OPTIONAL |
Arnd Bergmann | 0b32e91 | 2020-12-04 00:20:37 +0100 | [diff] [blame] | 29 | select CRC32 |
Jeff Kirsher | ec21e2e | 2011-06-11 02:29:36 -0700 | [diff] [blame] | 30 | select PHYLIB |
Oleksij Rempel | 4a52dd8 | 2021-04-28 15:09:46 +0200 | [diff] [blame] | 31 | imply NET_SELFTESTS |
Masahiro Yamada | a7f7f62 | 2020-06-14 01:50:22 +0900 | [diff] [blame] | 32 | help |
Jeff Kirsher | ec21e2e | 2011-06-11 02:29:36 -0700 | [diff] [blame] | 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 |
Masahiro Yamada | a7f7f62 | 2020-06-14 01:50:22 +0900 | [diff] [blame] | 42 | help |
Jeff Kirsher | ec21e2e | 2011-06-11 02:29:36 -0700 | [diff] [blame] | 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 |
Masahiro Yamada | a7f7f62 | 2020-06-14 01:50:22 +0900 | [diff] [blame] | 51 | help |
Jeff Kirsher | ec21e2e | 2011-06-11 02:29:36 -0700 | [diff] [blame] | 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" |
Igal Liberman | 5adae51 | 2015-12-21 02:21:25 +0200 | [diff] [blame] | 60 | source "drivers/net/ethernet/freescale/fman/Kconfig" |
Jeff Kirsher | ec21e2e | 2011-06-11 02:29:36 -0700 | [diff] [blame] | 61 | |
| 62 | config FSL_PQ_MDIO |
| 63 | tristate "Freescale PQ MDIO" |
Jeff Kirsher | ec21e2e | 2011-06-11 02:29:36 -0700 | [diff] [blame] | 64 | select PHYLIB |
Masahiro Yamada | a7f7f62 | 2020-06-14 01:50:22 +0900 | [diff] [blame] | 65 | help |
Jeff Kirsher | ec21e2e | 2011-06-11 02:29:36 -0700 | [diff] [blame] | 66 | This driver supports the MDIO bus used by the gianfar and UCC drivers. |
| 67 | |
Timur Tabi | 9f35a73 | 2012-08-20 09:26:39 +0000 | [diff] [blame] | 68 | config FSL_XGMAC_MDIO |
| 69 | tristate "Freescale XGMAC MDIO" |
Timur Tabi | 9f35a73 | 2012-08-20 09:26:39 +0000 | [diff] [blame] | 70 | select PHYLIB |
Florian Fainelli | 0827be2 | 2016-11-17 11:19:11 -0800 | [diff] [blame] | 71 | depends on OF |
Andy Fleming | 39f3336 | 2014-06-11 13:48:17 -0500 | [diff] [blame] | 72 | select OF_MDIO |
Masahiro Yamada | a7f7f62 | 2020-06-14 01:50:22 +0900 | [diff] [blame] | 73 | help |
Andy Fleming | 1fcf77c | 2015-01-04 17:36:02 +0800 | [diff] [blame] | 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) |
Timur Tabi | 9f35a73 | 2012-08-20 09:26:39 +0000 | [diff] [blame] | 76 | |
Jeff Kirsher | ec21e2e | 2011-06-11 02:29:36 -0700 | [diff] [blame] | 77 | config UCC_GETH |
| 78 | tristate "Freescale QE Gigabit Ethernet" |
Rasmus Villemoes | 114724b | 2019-11-28 15:55:52 +0100 | [diff] [blame] | 79 | depends on QUICC_ENGINE && PPC32 |
Jeff Kirsher | ec21e2e | 2011-06-11 02:29:36 -0700 | [diff] [blame] | 80 | select FSL_PQ_MDIO |
| 81 | select PHYLIB |
Arnd Bergmann | 99352c7 | 2020-05-09 14:04:52 +0200 | [diff] [blame] | 82 | select FIXED_PHY |
Masahiro Yamada | a7f7f62 | 2020-06-14 01:50:22 +0900 | [diff] [blame] | 83 | help |
Jeff Kirsher | ec21e2e | 2011-06-11 02:29:36 -0700 | [diff] [blame] | 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" |
Florian Fainelli | 0827be2 | 2016-11-17 11:19:11 -0800 | [diff] [blame] | 93 | depends on HAS_DMA |
Jeff Kirsher | ec21e2e | 2011-06-11 02:29:36 -0700 | [diff] [blame] | 94 | select FSL_PQ_MDIO |
| 95 | select PHYLIB |
Arnd Bergmann | 99352c7 | 2020-05-09 14:04:52 +0200 | [diff] [blame] | 96 | select FIXED_PHY |
Jeff Kirsher | ec21e2e | 2011-06-11 02:29:36 -0700 | [diff] [blame] | 97 | select CRC32 |
Masahiro Yamada | a7f7f62 | 2020-06-14 01:50:22 +0900 | [diff] [blame] | 98 | help |
Jeff Kirsher | ec21e2e | 2011-06-11 02:29:36 -0700 | [diff] [blame] | 99 | This driver supports the Gigabit TSEC on the MPC83xx, MPC85xx, |
Alison Wang | bbc65bf | 2015-06-25 11:34:38 +0800 | [diff] [blame] | 100 | and MPC86xx family of chips, the eTSEC on LS1021A and the FEC |
| 101 | on the 8540. |
Jeff Kirsher | ec21e2e | 2011-06-11 02:29:36 -0700 | [diff] [blame] | 102 | |
Madalin Bucur | 9ad1a37 | 2016-11-15 10:41:02 +0200 | [diff] [blame] | 103 | source "drivers/net/ethernet/freescale/dpaa/Kconfig" |
Yangbo Lu | 0a006a2 | 2018-10-08 15:44:25 +0800 | [diff] [blame] | 104 | source "drivers/net/ethernet/freescale/dpaa2/Kconfig" |
Claudiu Manoil | d4fd0404 | 2019-01-22 15:29:54 +0200 | [diff] [blame] | 105 | source "drivers/net/ethernet/freescale/enetc/Kconfig" |
Ioana Radulescu | 34ff684 | 2018-08-29 04:42:40 -0500 | [diff] [blame] | 106 | |
Jeff Kirsher | ec21e2e | 2011-06-11 02:29:36 -0700 | [diff] [blame] | 107 | endif # NET_VENDOR_FREESCALE |