231 lines · plain
1# SPDX-License-Identifier: GPL-2.0-only2#3# TI device configuration4#5 6config NET_VENDOR_TI7 bool "Texas Instruments (TI) devices"8 default y9 depends on PCI || EISA || ARCH_DAVINCI || ARCH_OMAP2PLUS || ARCH_KEYSTONE || ARCH_K310 help11 If you have a network (Ethernet) card belonging to this class, say Y.12 13 Note that the answer to this question doesn't directly affect the14 kernel: saying N will just cause the configurator to skip all15 the questions about TI devices. If you say Y, you will be asked for16 your specific card in the following questions.17 18if NET_VENDOR_TI19 20config TI_DAVINCI_EMAC21 tristate "TI DaVinci EMAC Support"22 depends on ARM && ( ARCH_DAVINCI || ARCH_OMAP3 ) || COMPILE_TEST23 select TI_DAVINCI_MDIO24 select PHYLIB25 select GENERIC_ALLOCATOR26 help27 This driver supports TI's DaVinci Ethernet .28 29 To compile this driver as a module, choose M here: the module30 will be called davinci_emac_driver. This is recommended.31 32config TI_DAVINCI_MDIO33 tristate "TI DaVinci MDIO Support"34 depends on ARCH_DAVINCI || ARCH_OMAP2PLUS || ARCH_KEYSTONE || ARCH_K3 || COMPILE_TEST35 select PHYLIB36 select MDIO_BITBANG37 help38 This driver supports TI's DaVinci MDIO module.39 40 To compile this driver as a module, choose M here: the module41 will be called davinci_mdio. This is recommended.42 43config TI_CPSW_PHY_SEL44 bool "TI CPSW Phy mode Selection (DEPRECATED)"45 default n46 help47 This driver supports configuring of the phy mode connected to48 the CPSW. DEPRECATED: use PHY_TI_GMII_SEL.49 50config TI_CPSW51 tristate "TI CPSW Switch Support"52 depends on ARCH_DAVINCI || ARCH_OMAP2PLUS || COMPILE_TEST53 depends on TI_CPTS || !TI_CPTS54 select TI_DAVINCI_MDIO55 select MFD_SYSCON56 select PAGE_POOL57 select REGMAP58 imply PHY_TI_GMII_SEL59 help60 This driver supports TI's CPSW Ethernet Switch.61 62 To compile this driver as a module, choose M here: the module63 will be called cpsw.64 65config TI_CPSW_SWITCHDEV66 tristate "TI CPSW Switch Support with switchdev"67 depends on ARCH_DAVINCI || ARCH_OMAP2PLUS || COMPILE_TEST68 depends on NET_SWITCHDEV69 depends on TI_CPTS || !TI_CPTS70 select PAGE_POOL71 select TI_DAVINCI_MDIO72 select MFD_SYSCON73 select REGMAP74 select NET_DEVLINK75 imply PHY_TI_GMII_SEL76 help77 This driver supports TI's CPSW Ethernet Switch.78 79 To compile this driver as a module, choose M here: the module80 will be called cpsw_new.81 82config TI_CPTS83 tristate "TI Common Platform Time Sync (CPTS) Support"84 depends on ARCH_OMAP2PLUS || ARCH_KEYSTONE || COMPILE_TEST85 depends on COMMON_CLK86 depends on PTP_1588_CLOCK87 help88 This driver supports the Common Platform Time Sync unit of89 the CPSW Ethernet Switch and Keystone 2 1g/10g Switch Subsystem.90 The unit can time stamp PTP UDP/IPv4 and Layer 2 packets, and the91 driver offers a PTP Hardware Clock.92 93config TI_K3_CPPI_DESC_POOL94 tristate95 96config TI_K3_AM65_CPSW_NUSS97 tristate "TI K3 AM654x/J721E CPSW Ethernet driver"98 depends on ARCH_K3 && OF && TI_K3_UDMA_GLUE_LAYER99 select NET_DEVLINK100 select TI_DAVINCI_MDIO101 select PHYLINK102 select TI_K3_CPPI_DESC_POOL103 imply PHY_TI_GMII_SEL104 depends on TI_K3_AM65_CPTS || !TI_K3_AM65_CPTS105 help106 This driver supports TI K3 AM654/J721E CPSW2G Ethernet SubSystem.107 The two-port Gigabit Ethernet MAC (MCU_CPSW0) subsystem provides108 Ethernet packet communication for the device: One Ethernet port109 (port 1) with selectable RGMII and RMII interfaces and an internal110 Communications Port Programming Interface (CPPI) port (port 0).111 112 To compile this driver as a module, choose M here: the module113 will be called ti-am65-cpsw-nuss.114 115config TI_K3_AM65_CPSW_SWITCHDEV116 bool "TI K3 AM654x/J721E CPSW Switch mode support"117 depends on TI_K3_AM65_CPSW_NUSS118 depends on NET_SWITCHDEV119 help120 This enables switchdev support for TI K3 CPSWxG Ethernet121 Switch. Enable this driver to support hardware switch support for AM65122 CPSW NUSS driver.123 124config TI_K3_AM65_CPTS125 tristate "TI K3 AM65x CPTS"126 depends on ARCH_K3 && OF127 depends on PTP_1588_CLOCK128 help129 Say y here to support the TI K3 AM65x CPTS with 1588 features such as130 PTP hardware clock for each CPTS device and network packets131 timestamping where applicable.132 Depending on integration CPTS blocks enable compliance with133 the IEEE 1588-2008 standard for a precision clock synchronization134 protocol, Ethernet Enhanced Scheduled Traffic Operations (CPTS_ESTFn)135 and PCIe Subsystem Precision Time Measurement (PTM).136 137config TI_AM65_CPSW_QOS138 bool "Enable QoS offload features in AM65 CPSW"139 depends on TI_K3_AM65_CPSW_NUSS && NET_SCH_TAPRIO && TI_K3_AM65_CPTS140 help141 This option enables QoS offload features in AM65 CPSW like142 Time Aware Shaper (TAS) / Enhanced Scheduled Traffic (EST),143 MQPRIO qdisc offload and Frame-Preemption MAC Merge / Interspersing144 Express Traffic (IET).145 The EST scheduler runs on CPTS and the TAS/EST schedule is146 updated in the Fetch RAM memory of the CPSW.147 148config TI_KEYSTONE_NETCP149 tristate "TI Keystone NETCP Core Support"150 select TI_DAVINCI_MDIO151 depends on OF152 depends on KEYSTONE_NAVIGATOR_DMA && KEYSTONE_NAVIGATOR_QMSS153 depends on TI_CPTS || !TI_CPTS154 help155 This driver supports TI's Keystone NETCP Core.156 157 To compile this driver as a module, choose M here: the module158 will be called keystone_netcp.159 160config TI_KEYSTONE_NETCP_ETHSS161 depends on TI_KEYSTONE_NETCP162 tristate "TI Keystone NETCP Ethernet subsystem Support"163 help164 165 To compile this driver as a module, choose M here: the module166 will be called keystone_netcp_ethss.167 168config TLAN169 tristate "TI ThunderLAN support"170 depends on (PCI || EISA) && HAS_IOPORT171 help172 If you have a PCI Ethernet network card based on the ThunderLAN chip173 which is supported by this driver, say Y here.174 175 Devices currently supported by this driver are Compaq Netelligent,176 Compaq NetFlex and Olicom cards. Please read the file177 <file:Documentation/networking/device_drivers/ethernet/ti/tlan.rst>178 for more details.179 180 To compile this driver as a module, choose M here. The module181 will be called tlan.182 183 Please email feedback to <torben.mathiasen@compaq.com>.184 185config TI_ICSSG_PRUETH186 tristate "TI Gigabit PRU Ethernet driver"187 select PHYLIB188 select TI_ICSS_IEP189 select TI_K3_CPPI_DESC_POOL190 depends on PRU_REMOTEPROC191 depends on NET_SWITCHDEV192 depends on ARCH_K3 && OF && TI_K3_UDMA_GLUE_LAYER193 depends on PTP_1588_CLOCK_OPTIONAL194 help195 Support dual Gigabit Ethernet ports over the ICSSG PRU Subsystem.196 This subsystem is available starting with the AM65 platform.197 198 This driver requires firmware binaries which will run on the PRUs199 to support the Ethernet operation. Currently, it supports Ethernet200 with 1G and 100M link speed.201 202config TI_ICSSG_PRUETH_SR1203 tristate "TI Gigabit PRU SR1.0 Ethernet driver"204 select PHYLIB205 select TI_ICSS_IEP206 select TI_K3_CPPI_DESC_POOL207 depends on PRU_REMOTEPROC208 depends on NET_SWITCHDEV209 depends on ARCH_K3 && OF && TI_K3_UDMA_GLUE_LAYER210 help211 Support dual Gigabit Ethernet ports over the ICSSG PRU Subsystem.212 This subsystem is available on the AM65 SR1.0 platform.213 214 This driver requires firmware binaries which will run on the PRUs215 to support the Ethernet operation. Currently, it supports Ethernet216 with 1G, 100M and 10M link speed.217 218config TI_ICSS_IEP219 tristate "TI PRU ICSS IEP driver"220 depends on PTP_1588_CLOCK_OPTIONAL221 depends on TI_PRUSS222 default TI_PRUSS223 help224 This driver enables support for the PRU-ICSS Industrial Ethernet225 Peripheral within a PRU-ICSS subsystem present on various TI SoCs.226 227 To compile this driver as a module, choose M here. The module228 will be called icss_iep.229 230endif # NET_VENDOR_TI231