1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only 2ec21e2ecSJeff Kirsher# 3ec21e2ecSJeff Kirsher# Freescale device configuration 4ec21e2ecSJeff Kirsher# 5ec21e2ecSJeff Kirsher 6ec21e2ecSJeff Kirsherconfig NET_VENDOR_FREESCALE 7ec21e2ecSJeff Kirsher bool "Freescale devices" 888f07484SJeff Kirsher default y 9ec21e2ecSJeff Kirsher depends on FSL_SOC || QUICC_ENGINE || CPM1 || CPM2 || PPC_MPC512x || \ 10ec21e2ecSJeff Kirsher M523x || M527x || M5272 || M528x || M520x || M532x || \ 11fe761bcbSShaohui Xie ARCH_MXC || ARCH_MXS || (PPC_MPC52xx && PPC_BESTCOMM) || \ 12167d5fe0SWei Fang ARCH_LAYERSCAPE || ARCH_S32 || COMPILE_TEST 13a7f7f624SMasahiro Yamada help 14138b15edSPaul Gortmaker If you have a network (Ethernet) card belonging to this class, say Y. 15ec21e2ecSJeff Kirsher 16ec21e2ecSJeff Kirsher Note that the answer to this question doesn't directly affect the 17ec21e2ecSJeff Kirsher kernel: saying N will just cause the configurator to skip all 18230dec61SShawn Guo the questions about Freescale devices. If you say Y, you will be 19230dec61SShawn Guo asked for your specific card in the following questions. 20ec21e2ecSJeff Kirsher 21ec21e2ecSJeff Kirsherif NET_VENDOR_FREESCALE 22ec21e2ecSJeff Kirsher 23ec21e2ecSJeff Kirsherconfig FEC 2426cf820dSLothar Waßmann tristate "FEC ethernet controller (of ColdFire and some i.MX CPUs)" 25ec21e2ecSJeff Kirsher depends on (M523x || M527x || M5272 || M528x || M520x || M532x || \ 26167d5fe0SWei Fang ARCH_MXC || ARCH_S32 || SOC_IMX28 || COMPILE_TEST) 270d903247SWolfram Sang default ARCH_MXC || SOC_IMX28 if ARM 28e5f31552SArnd Bergmann depends on PTP_1588_CLOCK_OPTIONAL 290b32e91fSArnd Bergmann select CRC32 30ec21e2ecSJeff Kirsher select PHYLIB 3195698ff6SShenwei Wang select PAGE_POOL 326970ef27SShenwei Wang imply PAGE_POOL_STATS 334a52dd8fSOleksij Rempel imply NET_SELFTESTS 34a7f7f624SMasahiro Yamada help 35ec21e2ecSJeff Kirsher Say Y here if you want to use the built-in 10/100 Fast ethernet 36167d5fe0SWei Fang controller on some Motorola ColdFire and Freescale i.MX/S32 processors. 37ec21e2ecSJeff Kirsher 38ec21e2ecSJeff Kirsherconfig FEC_MPC52xx 39ec21e2ecSJeff Kirsher tristate "FEC MPC52xx driver" 40ec21e2ecSJeff Kirsher depends on PPC_MPC52xx && PPC_BESTCOMM 41ec21e2ecSJeff Kirsher select CRC32 42ec21e2ecSJeff Kirsher select PHYLIB 43ec21e2ecSJeff Kirsher select PPC_BESTCOMM_FEC 44a7f7f624SMasahiro Yamada help 45ec21e2ecSJeff Kirsher This option enables support for the MPC5200's on-chip 46ec21e2ecSJeff Kirsher Fast Ethernet Controller 47ec21e2ecSJeff Kirsher If compiled as module, it will be called fec_mpc52xx. 48ec21e2ecSJeff Kirsher 49ec21e2ecSJeff Kirsherconfig FEC_MPC52xx_MDIO 50ec21e2ecSJeff Kirsher bool "FEC MPC52xx MDIO bus driver" 51ec21e2ecSJeff Kirsher depends on FEC_MPC52xx 52ec21e2ecSJeff Kirsher default y 53a7f7f624SMasahiro Yamada help 54ec21e2ecSJeff Kirsher The MPC5200's FEC can connect to the Ethernet either with 55ec21e2ecSJeff Kirsher an external MII PHY chip or 10 Mbps 7-wire interface 56ec21e2ecSJeff Kirsher (Motorola? industry standard). 57ec21e2ecSJeff Kirsher If your board uses an external PHY connected to FEC, enable this. 58ec21e2ecSJeff Kirsher If not sure, enable. 59ec21e2ecSJeff Kirsher If compiled as module, it will be called fec_mpc52xx_phy. 60ec21e2ecSJeff Kirsher 61ec21e2ecSJeff Kirshersource "drivers/net/ethernet/freescale/fs_enet/Kconfig" 625adae51aSIgal Libermansource "drivers/net/ethernet/freescale/fman/Kconfig" 63ec21e2ecSJeff Kirsher 64ec21e2ecSJeff Kirsherconfig FSL_PQ_MDIO 65ec21e2ecSJeff Kirsher tristate "Freescale PQ MDIO" 66ec21e2ecSJeff Kirsher select PHYLIB 67a7f7f624SMasahiro Yamada help 68ec21e2ecSJeff Kirsher This driver supports the MDIO bus used by the gianfar and UCC drivers. 69ec21e2ecSJeff Kirsher 709f35a734STimur Tabiconfig FSL_XGMAC_MDIO 719f35a734STimur Tabi tristate "Freescale XGMAC MDIO" 729f35a734STimur Tabi select PHYLIB 730827be21SFlorian Fainelli depends on OF 74*37f9b2a6SAndrew Lunn select MDIO_DEVRES 7539f33367SAndy Fleming select OF_MDIO 76a7f7f624SMasahiro Yamada help 771fcf77c8SAndy Fleming This driver supports the MDIO bus on the Fman 10G Ethernet MACs, and 781fcf77c8SAndy Fleming on the FMan mEMAC (which supports both Clauses 22 and 45) 799f35a734STimur Tabi 80ec21e2ecSJeff Kirsherconfig UCC_GETH 81ec21e2ecSJeff Kirsher tristate "Freescale QE Gigabit Ethernet" 82114724b7SRasmus Villemoes depends on QUICC_ENGINE && PPC32 83ec21e2ecSJeff Kirsher select FSL_PQ_MDIO 84ec21e2ecSJeff Kirsher select PHYLIB 8599352c79SArnd Bergmann select FIXED_PHY 86a7f7f624SMasahiro Yamada help 87ec21e2ecSJeff Kirsher This driver supports the Gigabit Ethernet mode of the QUICC Engine, 88ec21e2ecSJeff Kirsher which is available on some Freescale SOCs. 89ec21e2ecSJeff Kirsher 90ec21e2ecSJeff Kirsherconfig UGETH_TX_ON_DEMAND 91ec21e2ecSJeff Kirsher bool "Transmit on Demand support" 92ec21e2ecSJeff Kirsher depends on UCC_GETH 93ec21e2ecSJeff Kirsher 94ec21e2ecSJeff Kirsherconfig GIANFAR 95ec21e2ecSJeff Kirsher tristate "Gianfar Ethernet" 960827be21SFlorian Fainelli depends on HAS_DMA 97ec21e2ecSJeff Kirsher select FSL_PQ_MDIO 98ec21e2ecSJeff Kirsher select PHYLIB 9999352c79SArnd Bergmann select FIXED_PHY 100ec21e2ecSJeff Kirsher select CRC32 101a7f7f624SMasahiro Yamada help 102ec21e2ecSJeff Kirsher This driver supports the Gigabit TSEC on the MPC83xx, MPC85xx, 103bbc65bf7SAlison Wang and MPC86xx family of chips, the eTSEC on LS1021A and the FEC 104bbc65bf7SAlison Wang on the 8540. 105ec21e2ecSJeff Kirsher 1069ad1a374SMadalin Bucursource "drivers/net/ethernet/freescale/dpaa/Kconfig" 1070a006a2fSYangbo Lusource "drivers/net/ethernet/freescale/dpaa2/Kconfig" 108d4fd0404SClaudiu Manoilsource "drivers/net/ethernet/freescale/enetc/Kconfig" 10934ff6846SIoana Radulescu 110ec21e2ecSJeff Kirsherendif # NET_VENDOR_FREESCALE 111