Kconfig 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200
  1. # SPDX-License-Identifier: GPL-2.0
  2. menuconfig ARCH_DAVINCI
  3. bool "TI DaVinci"
  4. depends on ARCH_MULTI_V5
  5. depends on CPU_LITTLE_ENDIAN
  6. select DAVINCI_TIMER
  7. select ZONE_DMA
  8. select PM_GENERIC_DOMAINS if PM
  9. select PM_GENERIC_DOMAINS_OF if PM && OF
  10. select REGMAP_MMIO
  11. select RESET_CONTROLLER
  12. select PINCTRL_SINGLE
  13. if ARCH_DAVINCI
  14. config ARCH_DAVINCI_DMx
  15. bool
  16. comment "DaVinci Core Type"
  17. config ARCH_DAVINCI_DM355
  18. bool "DaVinci 355 based system"
  19. depends on ATAGS && UNUSED_BOARD_FILES
  20. select DAVINCI_AINTC
  21. select ARCH_DAVINCI_DMx
  22. config ARCH_DAVINCI_DA830
  23. bool "DA830/OMAP-L137/AM17x based system"
  24. depends on !ARCH_DAVINCI_DMx || (AUTO_ZRELADDR && ARM_PATCH_PHYS_VIRT)
  25. depends on ATAGS
  26. select ARCH_DAVINCI_DA8XX
  27. # needed on silicon revs 1.0, 1.1:
  28. select CPU_DCACHE_WRITETHROUGH if !CPU_DCACHE_DISABLE
  29. select DAVINCI_CP_INTC
  30. config ARCH_DAVINCI_DA850
  31. bool "DA850/OMAP-L138/AM18x based system"
  32. depends on !ARCH_DAVINCI_DMx || (AUTO_ZRELADDR && ARM_PATCH_PHYS_VIRT)
  33. depends on ATAGS
  34. select ARCH_DAVINCI_DA8XX
  35. select DAVINCI_CP_INTC
  36. config ARCH_DAVINCI_DA8XX
  37. bool
  38. config ARCH_DAVINCI_DM365
  39. bool "DaVinci 365 based system"
  40. depends on ATAGS && UNUSED_BOARD_FILES
  41. select DAVINCI_AINTC
  42. select ARCH_DAVINCI_DMx
  43. comment "DaVinci Board Type"
  44. config MACH_DA8XX_DT
  45. bool "Support DA8XX platforms using device tree"
  46. default y
  47. depends on ARCH_DAVINCI_DA850
  48. select PINCTRL
  49. help
  50. Say y here to include support for TI DaVinci DA850 based using
  51. Flattened Device Tree. More information at Documentation/devicetree
  52. config MACH_DAVINCI_DM355_EVM
  53. bool "TI DM355 EVM"
  54. default ARCH_DAVINCI_DM355
  55. depends on ARCH_DAVINCI_DM355
  56. help
  57. Configure this option to specify the whether the board used
  58. for development is a DM355 EVM
  59. config MACH_DM355_LEOPARD
  60. bool "DM355 Leopard board"
  61. depends on ARCH_DAVINCI_DM355
  62. help
  63. Configure this option to specify the whether the board used
  64. for development is a DM355 Leopard board.
  65. config MACH_DAVINCI_DM365_EVM
  66. bool "TI DM365 EVM"
  67. default ARCH_DAVINCI_DM365
  68. depends on ARCH_DAVINCI_DM365
  69. help
  70. Configure this option to specify whether the board used
  71. for development is a DM365 EVM
  72. config MACH_DAVINCI_DA830_EVM
  73. bool "TI DA830/OMAP-L137/AM17x Reference Platform"
  74. default ARCH_DAVINCI_DA830
  75. depends on ATAGS && UNUSED_BOARD_FILES
  76. depends on ARCH_DAVINCI_DA830
  77. select GPIO_PCF857X if I2C
  78. help
  79. Say Y here to select the TI DA830/OMAP-L137/AM17x Evaluation Module.
  80. choice
  81. prompt "Select DA830/OMAP-L137/AM17x UI board peripheral"
  82. depends on MACH_DAVINCI_DA830_EVM
  83. help
  84. The presence of UI card on the DA830/OMAP-L137/AM17x EVM is
  85. detected automatically based on successful probe of the I2C
  86. based GPIO expander on that board. This option selected in this
  87. menu has an effect only in case of a successful UI card detection.
  88. config DA830_UI_LCD
  89. bool "LCD"
  90. help
  91. Say Y here to use the LCD as a framebuffer or simple character
  92. display.
  93. config DA830_UI_NAND
  94. bool "NAND flash"
  95. help
  96. Say Y here to use the NAND flash. Do not forget to setup
  97. the switch correctly.
  98. endchoice
  99. config MACH_DAVINCI_DA850_EVM
  100. bool "TI DA850/OMAP-L138/AM18x Reference Platform"
  101. depends on ATAGS && UNUSED_BOARD_FILES
  102. default ARCH_DAVINCI_DA850
  103. depends on ARCH_DAVINCI_DA850
  104. help
  105. Say Y here to select the TI DA850/OMAP-L138/AM18x Evaluation Module.
  106. choice
  107. prompt "Select peripherals connected to expander on UI board"
  108. depends on MACH_DAVINCI_DA850_EVM
  109. help
  110. The presence of User Interface (UI) card on the DA850/OMAP-L138/AM18x
  111. EVM is detected automatically based on successful probe of the I2C
  112. based GPIO expander on that card. This option selected in this
  113. menu has an effect only in case of a successful UI card detection.
  114. config DA850_UI_NONE
  115. bool "No peripheral is enabled"
  116. help
  117. Say Y if you do not want to enable any of the peripherals connected
  118. to TCA6416 expander on DA850/OMAP-L138/AM18x EVM UI card
  119. config DA850_UI_RMII
  120. bool "RMII Ethernet PHY"
  121. help
  122. Say Y if you want to use the RMII PHY on the DA850/OMAP-L138/AM18x
  123. EVM. This PHY is found on the UI daughter card that is supplied with
  124. the EVM.
  125. NOTE: Please take care while choosing this option, MII PHY will
  126. not be functional if RMII mode is selected.
  127. config DA850_UI_SD_VIDEO_PORT
  128. bool "Video Port Interface"
  129. help
  130. Say Y if you want to use Video Port Interface (VPIF) on the
  131. DA850/OMAP-L138 EVM. The Video decoders/encoders are found on the
  132. UI daughter card that is supplied with the EVM.
  133. endchoice
  134. config MACH_MITYOMAPL138
  135. bool "Critical Link MityDSP-L138/MityARM-1808 SoM"
  136. depends on ARCH_DAVINCI_DA850
  137. depends on ATAGS && UNUSED_BOARD_FILES
  138. help
  139. Say Y here to select the Critical Link MityDSP-L138/MityARM-1808
  140. System on Module. Information on this SoM may be found at
  141. https://www.mitydsp.com
  142. config MACH_OMAPL138_HAWKBOARD
  143. bool "TI AM1808 / OMAPL-138 Hawkboard platform"
  144. depends on ARCH_DAVINCI_DA850
  145. depends on ATAGS && UNUSED_BOARD_FILES
  146. help
  147. Say Y here to select the TI AM1808 / OMAPL-138 Hawkboard platform .
  148. config DAVINCI_MUX
  149. bool "DAVINCI multiplexing support"
  150. depends on ARCH_DAVINCI
  151. default y
  152. help
  153. Pin multiplexing support for DAVINCI boards. If your bootloader
  154. sets the multiplexing correctly, say N. Otherwise, or if unsure,
  155. say Y.
  156. config DAVINCI_MUX_DEBUG
  157. bool "Multiplexing debug output"
  158. depends on DAVINCI_MUX
  159. help
  160. Makes the multiplexing functions print out a lot of debug info.
  161. This is useful if you want to find out the correct values of the
  162. multiplexing registers.
  163. config DAVINCI_MUX_WARNINGS
  164. bool "Warn about pins the bootloader didn't set up"
  165. depends on DAVINCI_MUX
  166. help
  167. Choose Y here to warn whenever driver initialization logic needs
  168. to change the pin multiplexing setup. When there are no warnings
  169. printed, it's safe to deselect DAVINCI_MUX for your product.
  170. endif