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