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