111 lines · plain
1# SPDX-License-Identifier: GPL-2.0-only2#3# Freescale device configuration4#5 6config NET_VENDOR_FREESCALE7 bool "Freescale devices"8 default y9 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_TEST13 help14 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 the17 kernel: saying N will just cause the configurator to skip all18 the questions about Freescale devices. If you say Y, you will be19 asked for your specific card in the following questions.20 21if NET_VENDOR_FREESCALE22 23config FEC24 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 ARM28 depends on PTP_1588_CLOCK_OPTIONAL29 select CRC3230 select PHYLIB31 select PAGE_POOL32 imply PAGE_POOL_STATS33 imply NET_SELFTESTS34 help35 Say Y here if you want to use the built-in 10/100 Fast ethernet36 controller on some Motorola ColdFire and Freescale i.MX/S32 processors.37 38config FEC_MPC52xx39 tristate "FEC MPC52xx driver"40 depends on PPC_MPC52xx && PPC_BESTCOMM41 select CRC3242 select PHYLIB43 select PPC_BESTCOMM_FEC44 help45 This option enables support for the MPC5200's on-chip46 Fast Ethernet Controller47 If compiled as module, it will be called fec_mpc52xx.48 49config FEC_MPC52xx_MDIO50 bool "FEC MPC52xx MDIO bus driver"51 depends on FEC_MPC52xx52 default y53 help54 The MPC5200's FEC can connect to the Ethernet either with55 an external MII PHY chip or 10 Mbps 7-wire interface56 (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_MDIO65 tristate "Freescale PQ MDIO"66 select PHYLIB67 help68 This driver supports the MDIO bus used by the gianfar and UCC drivers.69 70config FSL_XGMAC_MDIO71 tristate "Freescale XGMAC MDIO"72 select PHYLIB73 depends on OF74 select MDIO_DEVRES75 select OF_MDIO76 help77 This driver supports the MDIO bus on the Fman 10G Ethernet MACs, and78 on the FMan mEMAC (which supports both Clauses 22 and 45)79 80config UCC_GETH81 tristate "Freescale QE Gigabit Ethernet"82 depends on QUICC_ENGINE && PPC3283 select FSL_PQ_MDIO84 select PHYLIB85 select FIXED_PHY86 help87 This driver supports the Gigabit Ethernet mode of the QUICC Engine,88 which is available on some Freescale SOCs.89 90config UGETH_TX_ON_DEMAND91 bool "Transmit on Demand support"92 depends on UCC_GETH93 94config GIANFAR95 tristate "Gianfar Ethernet"96 depends on HAS_DMA97 select FSL_PQ_MDIO98 select PHYLIB99 select FIXED_PHY100 select CRC32101 help102 This driver supports the Gigabit TSEC on the MPC83xx, MPC85xx,103 and MPC86xx family of chips, the eTSEC on LS1021A and the FEC104 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_FREESCALE111