18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
28c2ecf20Sopenharmony_ci#
38c2ecf20Sopenharmony_ci# Freescale device configuration
48c2ecf20Sopenharmony_ci#
58c2ecf20Sopenharmony_ci
68c2ecf20Sopenharmony_ciconfig NET_VENDOR_FREESCALE
78c2ecf20Sopenharmony_ci	bool "Freescale devices"
88c2ecf20Sopenharmony_ci	default y
98c2ecf20Sopenharmony_ci	depends on FSL_SOC || QUICC_ENGINE || CPM1 || CPM2 || PPC_MPC512x || \
108c2ecf20Sopenharmony_ci		   M523x || M527x || M5272 || M528x || M520x || M532x || \
118c2ecf20Sopenharmony_ci		   ARCH_MXC || ARCH_MXS || (PPC_MPC52xx && PPC_BESTCOMM) || \
128c2ecf20Sopenharmony_ci		   ARCH_LAYERSCAPE || COMPILE_TEST
138c2ecf20Sopenharmony_ci	help
148c2ecf20Sopenharmony_ci	  If you have a network (Ethernet) card belonging to this class, say Y.
158c2ecf20Sopenharmony_ci
168c2ecf20Sopenharmony_ci	  Note that the answer to this question doesn't directly affect the
178c2ecf20Sopenharmony_ci	  kernel: saying N will just cause the configurator to skip all
188c2ecf20Sopenharmony_ci	  the questions about Freescale devices. If you say Y, you will be
198c2ecf20Sopenharmony_ci	  asked for your specific card in the following questions.
208c2ecf20Sopenharmony_ci
218c2ecf20Sopenharmony_ciif NET_VENDOR_FREESCALE
228c2ecf20Sopenharmony_ci
238c2ecf20Sopenharmony_ciconfig FEC
248c2ecf20Sopenharmony_ci	tristate "FEC ethernet controller (of ColdFire and some i.MX CPUs)"
258c2ecf20Sopenharmony_ci	depends on (M523x || M527x || M5272 || M528x || M520x || M532x || \
268c2ecf20Sopenharmony_ci		   ARCH_MXC || SOC_IMX28 || COMPILE_TEST)
278c2ecf20Sopenharmony_ci	default ARCH_MXC || SOC_IMX28 if ARM
288c2ecf20Sopenharmony_ci	select CRC32
298c2ecf20Sopenharmony_ci	select PHYLIB
308c2ecf20Sopenharmony_ci	imply PTP_1588_CLOCK
318c2ecf20Sopenharmony_ci	help
328c2ecf20Sopenharmony_ci	  Say Y here if you want to use the built-in 10/100 Fast ethernet
338c2ecf20Sopenharmony_ci	  controller on some Motorola ColdFire and Freescale i.MX processors.
348c2ecf20Sopenharmony_ci
358c2ecf20Sopenharmony_ciconfig FEC_MPC52xx
368c2ecf20Sopenharmony_ci	tristate "FEC MPC52xx driver"
378c2ecf20Sopenharmony_ci	depends on PPC_MPC52xx && PPC_BESTCOMM
388c2ecf20Sopenharmony_ci	select CRC32
398c2ecf20Sopenharmony_ci	select PHYLIB
408c2ecf20Sopenharmony_ci	select PPC_BESTCOMM_FEC
418c2ecf20Sopenharmony_ci	help
428c2ecf20Sopenharmony_ci	  This option enables support for the MPC5200's on-chip
438c2ecf20Sopenharmony_ci	  Fast Ethernet Controller
448c2ecf20Sopenharmony_ci	  If compiled as module, it will be called fec_mpc52xx.
458c2ecf20Sopenharmony_ci
468c2ecf20Sopenharmony_ciconfig FEC_MPC52xx_MDIO
478c2ecf20Sopenharmony_ci	bool "FEC MPC52xx MDIO bus driver"
488c2ecf20Sopenharmony_ci	depends on FEC_MPC52xx
498c2ecf20Sopenharmony_ci	default y
508c2ecf20Sopenharmony_ci	help
518c2ecf20Sopenharmony_ci	  The MPC5200's FEC can connect to the Ethernet either with
528c2ecf20Sopenharmony_ci	  an external MII PHY chip or 10 Mbps 7-wire interface
538c2ecf20Sopenharmony_ci	  (Motorola? industry standard).
548c2ecf20Sopenharmony_ci	  If your board uses an external PHY connected to FEC, enable this.
558c2ecf20Sopenharmony_ci	  If not sure, enable.
568c2ecf20Sopenharmony_ci	  If compiled as module, it will be called fec_mpc52xx_phy.
578c2ecf20Sopenharmony_ci
588c2ecf20Sopenharmony_cisource "drivers/net/ethernet/freescale/fs_enet/Kconfig"
598c2ecf20Sopenharmony_cisource "drivers/net/ethernet/freescale/fman/Kconfig"
608c2ecf20Sopenharmony_ci
618c2ecf20Sopenharmony_ciconfig FSL_PQ_MDIO
628c2ecf20Sopenharmony_ci	tristate "Freescale PQ MDIO"
638c2ecf20Sopenharmony_ci	select PHYLIB
648c2ecf20Sopenharmony_ci	help
658c2ecf20Sopenharmony_ci	  This driver supports the MDIO bus used by the gianfar and UCC drivers.
668c2ecf20Sopenharmony_ci
678c2ecf20Sopenharmony_ciconfig FSL_XGMAC_MDIO
688c2ecf20Sopenharmony_ci	tristate "Freescale XGMAC MDIO"
698c2ecf20Sopenharmony_ci	select PHYLIB
708c2ecf20Sopenharmony_ci	depends on OF
718c2ecf20Sopenharmony_ci	select OF_MDIO
728c2ecf20Sopenharmony_ci	help
738c2ecf20Sopenharmony_ci	  This driver supports the MDIO bus on the Fman 10G Ethernet MACs, and
748c2ecf20Sopenharmony_ci	  on the FMan mEMAC (which supports both Clauses 22 and 45)
758c2ecf20Sopenharmony_ci
768c2ecf20Sopenharmony_ciconfig UCC_GETH
778c2ecf20Sopenharmony_ci	tristate "Freescale QE Gigabit Ethernet"
788c2ecf20Sopenharmony_ci	depends on QUICC_ENGINE && PPC32
798c2ecf20Sopenharmony_ci	select FSL_PQ_MDIO
808c2ecf20Sopenharmony_ci	select PHYLIB
818c2ecf20Sopenharmony_ci	select FIXED_PHY
828c2ecf20Sopenharmony_ci	help
838c2ecf20Sopenharmony_ci	  This driver supports the Gigabit Ethernet mode of the QUICC Engine,
848c2ecf20Sopenharmony_ci	  which is available on some Freescale SOCs.
858c2ecf20Sopenharmony_ci
868c2ecf20Sopenharmony_ciconfig UGETH_TX_ON_DEMAND
878c2ecf20Sopenharmony_ci	bool "Transmit on Demand support"
888c2ecf20Sopenharmony_ci	depends on UCC_GETH
898c2ecf20Sopenharmony_ci
908c2ecf20Sopenharmony_ciconfig GIANFAR
918c2ecf20Sopenharmony_ci	tristate "Gianfar Ethernet"
928c2ecf20Sopenharmony_ci	depends on HAS_DMA
938c2ecf20Sopenharmony_ci	select FSL_PQ_MDIO
948c2ecf20Sopenharmony_ci	select PHYLIB
958c2ecf20Sopenharmony_ci	select FIXED_PHY
968c2ecf20Sopenharmony_ci	select CRC32
978c2ecf20Sopenharmony_ci	help
988c2ecf20Sopenharmony_ci	  This driver supports the Gigabit TSEC on the MPC83xx, MPC85xx,
998c2ecf20Sopenharmony_ci	  and MPC86xx family of chips, the eTSEC on LS1021A and the FEC
1008c2ecf20Sopenharmony_ci	  on the 8540.
1018c2ecf20Sopenharmony_ci
1028c2ecf20Sopenharmony_cisource "drivers/net/ethernet/freescale/dpaa/Kconfig"
1038c2ecf20Sopenharmony_cisource "drivers/net/ethernet/freescale/dpaa2/Kconfig"
1048c2ecf20Sopenharmony_cisource "drivers/net/ethernet/freescale/enetc/Kconfig"
1058c2ecf20Sopenharmony_ci
1068c2ecf20Sopenharmony_ciendif # NET_VENDOR_FREESCALE
107