1*4882a593Smuzhiyun# SPDX-License-Identifier: GPL-2.0-only 2*4882a593Smuzhiyun# 3*4882a593Smuzhiyun# Freescale device configuration 4*4882a593Smuzhiyun# 5*4882a593Smuzhiyun 6*4882a593Smuzhiyunconfig NET_VENDOR_FREESCALE 7*4882a593Smuzhiyun bool "Freescale devices" 8*4882a593Smuzhiyun default y 9*4882a593Smuzhiyun depends on FSL_SOC || QUICC_ENGINE || CPM1 || CPM2 || PPC_MPC512x || \ 10*4882a593Smuzhiyun M523x || M527x || M5272 || M528x || M520x || M532x || \ 11*4882a593Smuzhiyun ARCH_MXC || ARCH_MXS || (PPC_MPC52xx && PPC_BESTCOMM) || \ 12*4882a593Smuzhiyun ARCH_LAYERSCAPE || COMPILE_TEST 13*4882a593Smuzhiyun help 14*4882a593Smuzhiyun If you have a network (Ethernet) card belonging to this class, say Y. 15*4882a593Smuzhiyun 16*4882a593Smuzhiyun Note that the answer to this question doesn't directly affect the 17*4882a593Smuzhiyun kernel: saying N will just cause the configurator to skip all 18*4882a593Smuzhiyun the questions about Freescale devices. If you say Y, you will be 19*4882a593Smuzhiyun asked for your specific card in the following questions. 20*4882a593Smuzhiyun 21*4882a593Smuzhiyunif NET_VENDOR_FREESCALE 22*4882a593Smuzhiyun 23*4882a593Smuzhiyunconfig FEC 24*4882a593Smuzhiyun tristate "FEC ethernet controller (of ColdFire and some i.MX CPUs)" 25*4882a593Smuzhiyun depends on (M523x || M527x || M5272 || M528x || M520x || M532x || \ 26*4882a593Smuzhiyun ARCH_MXC || SOC_IMX28 || COMPILE_TEST) 27*4882a593Smuzhiyun default ARCH_MXC || SOC_IMX28 if ARM 28*4882a593Smuzhiyun select CRC32 29*4882a593Smuzhiyun select PHYLIB 30*4882a593Smuzhiyun imply PTP_1588_CLOCK 31*4882a593Smuzhiyun help 32*4882a593Smuzhiyun Say Y here if you want to use the built-in 10/100 Fast ethernet 33*4882a593Smuzhiyun controller on some Motorola ColdFire and Freescale i.MX processors. 34*4882a593Smuzhiyun 35*4882a593Smuzhiyunconfig FEC_MPC52xx 36*4882a593Smuzhiyun tristate "FEC MPC52xx driver" 37*4882a593Smuzhiyun depends on PPC_MPC52xx && PPC_BESTCOMM 38*4882a593Smuzhiyun select CRC32 39*4882a593Smuzhiyun select PHYLIB 40*4882a593Smuzhiyun select PPC_BESTCOMM_FEC 41*4882a593Smuzhiyun help 42*4882a593Smuzhiyun This option enables support for the MPC5200's on-chip 43*4882a593Smuzhiyun Fast Ethernet Controller 44*4882a593Smuzhiyun If compiled as module, it will be called fec_mpc52xx. 45*4882a593Smuzhiyun 46*4882a593Smuzhiyunconfig FEC_MPC52xx_MDIO 47*4882a593Smuzhiyun bool "FEC MPC52xx MDIO bus driver" 48*4882a593Smuzhiyun depends on FEC_MPC52xx 49*4882a593Smuzhiyun default y 50*4882a593Smuzhiyun help 51*4882a593Smuzhiyun The MPC5200's FEC can connect to the Ethernet either with 52*4882a593Smuzhiyun an external MII PHY chip or 10 Mbps 7-wire interface 53*4882a593Smuzhiyun (Motorola? industry standard). 54*4882a593Smuzhiyun If your board uses an external PHY connected to FEC, enable this. 55*4882a593Smuzhiyun If not sure, enable. 56*4882a593Smuzhiyun If compiled as module, it will be called fec_mpc52xx_phy. 57*4882a593Smuzhiyun 58*4882a593Smuzhiyunsource "drivers/net/ethernet/freescale/fs_enet/Kconfig" 59*4882a593Smuzhiyunsource "drivers/net/ethernet/freescale/fman/Kconfig" 60*4882a593Smuzhiyun 61*4882a593Smuzhiyunconfig FSL_PQ_MDIO 62*4882a593Smuzhiyun tristate "Freescale PQ MDIO" 63*4882a593Smuzhiyun select PHYLIB 64*4882a593Smuzhiyun help 65*4882a593Smuzhiyun This driver supports the MDIO bus used by the gianfar and UCC drivers. 66*4882a593Smuzhiyun 67*4882a593Smuzhiyunconfig FSL_XGMAC_MDIO 68*4882a593Smuzhiyun tristate "Freescale XGMAC MDIO" 69*4882a593Smuzhiyun select PHYLIB 70*4882a593Smuzhiyun depends on OF 71*4882a593Smuzhiyun select OF_MDIO 72*4882a593Smuzhiyun help 73*4882a593Smuzhiyun This driver supports the MDIO bus on the Fman 10G Ethernet MACs, and 74*4882a593Smuzhiyun on the FMan mEMAC (which supports both Clauses 22 and 45) 75*4882a593Smuzhiyun 76*4882a593Smuzhiyunconfig UCC_GETH 77*4882a593Smuzhiyun tristate "Freescale QE Gigabit Ethernet" 78*4882a593Smuzhiyun depends on QUICC_ENGINE && PPC32 79*4882a593Smuzhiyun select FSL_PQ_MDIO 80*4882a593Smuzhiyun select PHYLIB 81*4882a593Smuzhiyun select FIXED_PHY 82*4882a593Smuzhiyun help 83*4882a593Smuzhiyun This driver supports the Gigabit Ethernet mode of the QUICC Engine, 84*4882a593Smuzhiyun which is available on some Freescale SOCs. 85*4882a593Smuzhiyun 86*4882a593Smuzhiyunconfig UGETH_TX_ON_DEMAND 87*4882a593Smuzhiyun bool "Transmit on Demand support" 88*4882a593Smuzhiyun depends on UCC_GETH 89*4882a593Smuzhiyun 90*4882a593Smuzhiyunconfig GIANFAR 91*4882a593Smuzhiyun tristate "Gianfar Ethernet" 92*4882a593Smuzhiyun depends on HAS_DMA 93*4882a593Smuzhiyun select FSL_PQ_MDIO 94*4882a593Smuzhiyun select PHYLIB 95*4882a593Smuzhiyun select FIXED_PHY 96*4882a593Smuzhiyun select CRC32 97*4882a593Smuzhiyun help 98*4882a593Smuzhiyun This driver supports the Gigabit TSEC on the MPC83xx, MPC85xx, 99*4882a593Smuzhiyun and MPC86xx family of chips, the eTSEC on LS1021A and the FEC 100*4882a593Smuzhiyun on the 8540. 101*4882a593Smuzhiyun 102*4882a593Smuzhiyunsource "drivers/net/ethernet/freescale/dpaa/Kconfig" 103*4882a593Smuzhiyunsource "drivers/net/ethernet/freescale/dpaa2/Kconfig" 104*4882a593Smuzhiyunsource "drivers/net/ethernet/freescale/enetc/Kconfig" 105*4882a593Smuzhiyun 106*4882a593Smuzhiyunendif # NET_VENDOR_FREESCALE 107