Kconfig 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186
  1. # SPDX-License-Identifier: GPL-2.0-only
  2. #
  3. # TI device configuration
  4. #
  5. config NET_VENDOR_TI
  6. bool "Texas Instruments (TI) devices"
  7. default y
  8. depends on PCI || EISA || AR7 || ARCH_DAVINCI || ARCH_OMAP2PLUS || ARCH_KEYSTONE || ARCH_K3
  9. help
  10. If you have a network (Ethernet) card belonging to this class, say Y.
  11. Note that the answer to this question doesn't directly affect the
  12. kernel: saying N will just cause the configurator to skip all
  13. the questions about TI devices. If you say Y, you will be asked for
  14. your specific card in the following questions.
  15. if NET_VENDOR_TI
  16. config TI_DAVINCI_EMAC
  17. tristate "TI DaVinci EMAC Support"
  18. depends on ARM && ( ARCH_DAVINCI || ARCH_OMAP3 ) || COMPILE_TEST
  19. select TI_DAVINCI_MDIO
  20. select PHYLIB
  21. select GENERIC_ALLOCATOR
  22. help
  23. This driver supports TI's DaVinci Ethernet .
  24. To compile this driver as a module, choose M here: the module
  25. will be called davinci_emac_driver. This is recommended.
  26. config TI_DAVINCI_MDIO
  27. tristate "TI DaVinci MDIO Support"
  28. depends on ARCH_DAVINCI || ARCH_OMAP2PLUS || ARCH_KEYSTONE || ARCH_K3 || COMPILE_TEST
  29. select PHYLIB
  30. select MDIO_BITBANG
  31. help
  32. This driver supports TI's DaVinci MDIO module.
  33. To compile this driver as a module, choose M here: the module
  34. will be called davinci_mdio. This is recommended.
  35. config TI_CPSW_PHY_SEL
  36. bool "TI CPSW Phy mode Selection (DEPRECATED)"
  37. default n
  38. help
  39. This driver supports configuring of the phy mode connected to
  40. the CPSW. DEPRECATED: use PHY_TI_GMII_SEL.
  41. config TI_CPSW
  42. tristate "TI CPSW Switch Support"
  43. depends on ARCH_DAVINCI || ARCH_OMAP2PLUS || COMPILE_TEST
  44. depends on TI_CPTS || !TI_CPTS
  45. select TI_DAVINCI_MDIO
  46. select MFD_SYSCON
  47. select PAGE_POOL
  48. select REGMAP
  49. imply PHY_TI_GMII_SEL
  50. help
  51. This driver supports TI's CPSW Ethernet Switch.
  52. To compile this driver as a module, choose M here: the module
  53. will be called cpsw.
  54. config TI_CPSW_SWITCHDEV
  55. tristate "TI CPSW Switch Support with switchdev"
  56. depends on ARCH_DAVINCI || ARCH_OMAP2PLUS || COMPILE_TEST
  57. depends on NET_SWITCHDEV
  58. depends on TI_CPTS || !TI_CPTS
  59. select PAGE_POOL
  60. select TI_DAVINCI_MDIO
  61. select MFD_SYSCON
  62. select REGMAP
  63. select NET_DEVLINK
  64. imply PHY_TI_GMII_SEL
  65. help
  66. This driver supports TI's CPSW Ethernet Switch.
  67. To compile this driver as a module, choose M here: the module
  68. will be called cpsw_new.
  69. config TI_CPTS
  70. tristate "TI Common Platform Time Sync (CPTS) Support"
  71. depends on ARCH_OMAP2PLUS || ARCH_KEYSTONE || COMPILE_TEST
  72. depends on COMMON_CLK
  73. depends on PTP_1588_CLOCK
  74. help
  75. This driver supports the Common Platform Time Sync unit of
  76. the CPSW Ethernet Switch and Keystone 2 1g/10g Switch Subsystem.
  77. The unit can time stamp PTP UDP/IPv4 and Layer 2 packets, and the
  78. driver offers a PTP Hardware Clock.
  79. config TI_K3_AM65_CPSW_NUSS
  80. tristate "TI K3 AM654x/J721E CPSW Ethernet driver"
  81. depends on ARCH_K3 && OF && TI_K3_UDMA_GLUE_LAYER
  82. select NET_DEVLINK
  83. select TI_DAVINCI_MDIO
  84. select PHYLINK
  85. imply PHY_TI_GMII_SEL
  86. depends on TI_K3_AM65_CPTS || !TI_K3_AM65_CPTS
  87. help
  88. This driver supports TI K3 AM654/J721E CPSW2G Ethernet SubSystem.
  89. The two-port Gigabit Ethernet MAC (MCU_CPSW0) subsystem provides
  90. Ethernet packet communication for the device: One Ethernet port
  91. (port 1) with selectable RGMII and RMII interfaces and an internal
  92. Communications Port Programming Interface (CPPI) port (port 0).
  93. To compile this driver as a module, choose M here: the module
  94. will be called ti-am65-cpsw-nuss.
  95. config TI_K3_AM65_CPSW_SWITCHDEV
  96. bool "TI K3 AM654x/J721E CPSW Switch mode support"
  97. depends on TI_K3_AM65_CPSW_NUSS
  98. depends on NET_SWITCHDEV
  99. help
  100. This enables switchdev support for TI K3 CPSWxG Ethernet
  101. Switch. Enable this driver to support hardware switch support for AM65
  102. CPSW NUSS driver.
  103. config TI_K3_AM65_CPTS
  104. tristate "TI K3 AM65x CPTS"
  105. depends on ARCH_K3 && OF
  106. depends on PTP_1588_CLOCK
  107. help
  108. Say y here to support the TI K3 AM65x CPTS with 1588 features such as
  109. PTP hardware clock for each CPTS device and network packets
  110. timestamping where applicable.
  111. Depending on integration CPTS blocks enable compliance with
  112. the IEEE 1588-2008 standard for a precision clock synchronization
  113. protocol, Ethernet Enhanced Scheduled Traffic Operations (CPTS_ESTFn)
  114. and PCIe Subsystem Precision Time Measurement (PTM).
  115. config TI_AM65_CPSW_TAS
  116. bool "Enable TAS offload in AM65 CPSW"
  117. depends on TI_K3_AM65_CPSW_NUSS && NET_SCH_TAPRIO && TI_K3_AM65_CPTS
  118. help
  119. Say y here to support Time Aware Shaper(TAS) offload in AM65 CPSW.
  120. AM65 CPSW hardware supports Enhanced Scheduled Traffic (EST)
  121. defined in IEEE 802.1Q 2018. The EST scheduler runs on CPTS and the
  122. TAS/EST schedule is updated in the Fetch RAM memory of the CPSW.
  123. config TI_KEYSTONE_NETCP
  124. tristate "TI Keystone NETCP Core Support"
  125. select TI_DAVINCI_MDIO
  126. depends on OF
  127. depends on KEYSTONE_NAVIGATOR_DMA && KEYSTONE_NAVIGATOR_QMSS
  128. depends on TI_CPTS || !TI_CPTS
  129. help
  130. This driver supports TI's Keystone NETCP Core.
  131. To compile this driver as a module, choose M here: the module
  132. will be called keystone_netcp.
  133. config TI_KEYSTONE_NETCP_ETHSS
  134. depends on TI_KEYSTONE_NETCP
  135. tristate "TI Keystone NETCP Ethernet subsystem Support"
  136. help
  137. To compile this driver as a module, choose M here: the module
  138. will be called keystone_netcp_ethss.
  139. config TLAN
  140. tristate "TI ThunderLAN support"
  141. depends on (PCI || EISA)
  142. help
  143. If you have a PCI Ethernet network card based on the ThunderLAN chip
  144. which is supported by this driver, say Y here.
  145. Devices currently supported by this driver are Compaq Netelligent,
  146. Compaq NetFlex and Olicom cards. Please read the file
  147. <file:Documentation/networking/device_drivers/ethernet/ti/tlan.rst>
  148. for more details.
  149. To compile this driver as a module, choose M here. The module
  150. will be called tlan.
  151. Please email feedback to <[email protected]>.
  152. config CPMAC
  153. tristate "TI AR7 CPMAC Ethernet support"
  154. depends on AR7
  155. select PHYLIB
  156. help
  157. TI AR7 CPMAC Ethernet support
  158. endif # NET_VENDOR_TI