18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0
28c2ecf20Sopenharmony_ci
38c2ecf20Sopenharmony_cimenuconfig ARCH_DAVINCI
48c2ecf20Sopenharmony_ci	bool "TI DaVinci"
58c2ecf20Sopenharmony_ci	depends on ARCH_MULTI_V5
68c2ecf20Sopenharmony_ci	select CPU_ARM926T
78c2ecf20Sopenharmony_ci	select DAVINCI_TIMER
88c2ecf20Sopenharmony_ci	select ZONE_DMA
98c2ecf20Sopenharmony_ci	select PM_GENERIC_DOMAINS if PM
108c2ecf20Sopenharmony_ci	select PM_GENERIC_DOMAINS_OF if PM && OF
118c2ecf20Sopenharmony_ci	select REGMAP_MMIO
128c2ecf20Sopenharmony_ci	select RESET_CONTROLLER
138c2ecf20Sopenharmony_ci	select HAVE_IDE
148c2ecf20Sopenharmony_ci	select PINCTRL_SINGLE
158c2ecf20Sopenharmony_ci
168c2ecf20Sopenharmony_ciif ARCH_DAVINCI
178c2ecf20Sopenharmony_ci
188c2ecf20Sopenharmony_ciconfig ARCH_DAVINCI_DMx
198c2ecf20Sopenharmony_ci	bool
208c2ecf20Sopenharmony_ci
218c2ecf20Sopenharmony_cicomment "DaVinci Core Type"
228c2ecf20Sopenharmony_ci
238c2ecf20Sopenharmony_ciconfig ARCH_DAVINCI_DM644x
248c2ecf20Sopenharmony_ci	bool "DaVinci 644x based system"
258c2ecf20Sopenharmony_ci	select DAVINCI_AINTC
268c2ecf20Sopenharmony_ci	select ARCH_DAVINCI_DMx
278c2ecf20Sopenharmony_ci
288c2ecf20Sopenharmony_ciconfig ARCH_DAVINCI_DM355
298c2ecf20Sopenharmony_ci	bool "DaVinci 355 based system"
308c2ecf20Sopenharmony_ci	select DAVINCI_AINTC
318c2ecf20Sopenharmony_ci	select ARCH_DAVINCI_DMx
328c2ecf20Sopenharmony_ci
338c2ecf20Sopenharmony_ciconfig ARCH_DAVINCI_DM646x
348c2ecf20Sopenharmony_ci	bool "DaVinci 646x based system"
358c2ecf20Sopenharmony_ci	select DAVINCI_AINTC
368c2ecf20Sopenharmony_ci	select ARCH_DAVINCI_DMx
378c2ecf20Sopenharmony_ci
388c2ecf20Sopenharmony_ciconfig ARCH_DAVINCI_DA830
398c2ecf20Sopenharmony_ci	bool "DA830/OMAP-L137/AM17x based system"
408c2ecf20Sopenharmony_ci	depends on !ARCH_DAVINCI_DMx || (AUTO_ZRELADDR && ARM_PATCH_PHYS_VIRT)
418c2ecf20Sopenharmony_ci	select ARCH_DAVINCI_DA8XX
428c2ecf20Sopenharmony_ci	# needed on silicon revs 1.0, 1.1:
438c2ecf20Sopenharmony_ci	select CPU_DCACHE_WRITETHROUGH if !CPU_DCACHE_DISABLE
448c2ecf20Sopenharmony_ci	select DAVINCI_CP_INTC
458c2ecf20Sopenharmony_ci
468c2ecf20Sopenharmony_ciconfig ARCH_DAVINCI_DA850
478c2ecf20Sopenharmony_ci	bool "DA850/OMAP-L138/AM18x based system"
488c2ecf20Sopenharmony_ci	depends on !ARCH_DAVINCI_DMx || (AUTO_ZRELADDR && ARM_PATCH_PHYS_VIRT)
498c2ecf20Sopenharmony_ci	select ARCH_DAVINCI_DA8XX
508c2ecf20Sopenharmony_ci	select DAVINCI_CP_INTC
518c2ecf20Sopenharmony_ci
528c2ecf20Sopenharmony_ciconfig ARCH_DAVINCI_DA8XX
538c2ecf20Sopenharmony_ci	bool
548c2ecf20Sopenharmony_ci
558c2ecf20Sopenharmony_ciconfig ARCH_DAVINCI_DM365
568c2ecf20Sopenharmony_ci	bool "DaVinci 365 based system"
578c2ecf20Sopenharmony_ci	select DAVINCI_AINTC
588c2ecf20Sopenharmony_ci	select ARCH_DAVINCI_DMx
598c2ecf20Sopenharmony_ci
608c2ecf20Sopenharmony_cicomment "DaVinci Board Type"
618c2ecf20Sopenharmony_ci
628c2ecf20Sopenharmony_ciconfig MACH_DA8XX_DT
638c2ecf20Sopenharmony_ci	bool "Support DA8XX platforms using device tree"
648c2ecf20Sopenharmony_ci	default y
658c2ecf20Sopenharmony_ci	depends on ARCH_DAVINCI_DA850
668c2ecf20Sopenharmony_ci	select PINCTRL
678c2ecf20Sopenharmony_ci	help
688c2ecf20Sopenharmony_ci	  Say y here to include support for TI DaVinci DA850 based using
698c2ecf20Sopenharmony_ci	  Flattened Device Tree. More information at Documentation/devicetree
708c2ecf20Sopenharmony_ci
718c2ecf20Sopenharmony_ciconfig MACH_DAVINCI_EVM
728c2ecf20Sopenharmony_ci	bool "TI DM644x EVM"
738c2ecf20Sopenharmony_ci	default ARCH_DAVINCI_DM644x
748c2ecf20Sopenharmony_ci	depends on ARCH_DAVINCI_DM644x
758c2ecf20Sopenharmony_ci	help
768c2ecf20Sopenharmony_ci	  Configure this option to specify the whether the board used
778c2ecf20Sopenharmony_ci	  for development is a DM644x EVM
788c2ecf20Sopenharmony_ci
798c2ecf20Sopenharmony_ciconfig MACH_SFFSDR
808c2ecf20Sopenharmony_ci	bool "Lyrtech SFFSDR"
818c2ecf20Sopenharmony_ci	depends on ARCH_DAVINCI_DM644x
828c2ecf20Sopenharmony_ci	help
838c2ecf20Sopenharmony_ci	  Say Y here to select the Lyrtech Small Form Factor
848c2ecf20Sopenharmony_ci	  Software Defined Radio (SFFSDR) board.
858c2ecf20Sopenharmony_ci
868c2ecf20Sopenharmony_ciconfig MACH_NEUROS_OSD2
878c2ecf20Sopenharmony_ci	bool "Neuros OSD2 Open Television Set Top Box"
888c2ecf20Sopenharmony_ci	depends on ARCH_DAVINCI_DM644x
898c2ecf20Sopenharmony_ci	help
908c2ecf20Sopenharmony_ci	  Configure this option to specify the whether the board used
918c2ecf20Sopenharmony_ci	  for development is a Neuros OSD2 Open Set Top Box.
928c2ecf20Sopenharmony_ci
938c2ecf20Sopenharmony_ciconfig MACH_DAVINCI_DM355_EVM
948c2ecf20Sopenharmony_ci	bool "TI DM355 EVM"
958c2ecf20Sopenharmony_ci	default ARCH_DAVINCI_DM355
968c2ecf20Sopenharmony_ci	depends on ARCH_DAVINCI_DM355
978c2ecf20Sopenharmony_ci	help
988c2ecf20Sopenharmony_ci	  Configure this option to specify the whether the board used
998c2ecf20Sopenharmony_ci	  for development is a DM355 EVM
1008c2ecf20Sopenharmony_ci
1018c2ecf20Sopenharmony_ciconfig MACH_DM355_LEOPARD
1028c2ecf20Sopenharmony_ci	bool "DM355 Leopard board"
1038c2ecf20Sopenharmony_ci	depends on ARCH_DAVINCI_DM355
1048c2ecf20Sopenharmony_ci	help
1058c2ecf20Sopenharmony_ci	  Configure this option to specify the whether the board used
1068c2ecf20Sopenharmony_ci	  for development is a DM355 Leopard board.
1078c2ecf20Sopenharmony_ci
1088c2ecf20Sopenharmony_ciconfig MACH_DAVINCI_DM6467_EVM
1098c2ecf20Sopenharmony_ci	bool "TI DM6467 EVM"
1108c2ecf20Sopenharmony_ci	default ARCH_DAVINCI_DM646x
1118c2ecf20Sopenharmony_ci	depends on ARCH_DAVINCI_DM646x
1128c2ecf20Sopenharmony_ci	select MACH_DAVINCI_DM6467TEVM
1138c2ecf20Sopenharmony_ci	help
1148c2ecf20Sopenharmony_ci	  Configure this option to specify the whether the board used
1158c2ecf20Sopenharmony_ci	  for development is a DM6467 EVM
1168c2ecf20Sopenharmony_ci
1178c2ecf20Sopenharmony_ciconfig MACH_DAVINCI_DM6467TEVM
1188c2ecf20Sopenharmony_ci	bool
1198c2ecf20Sopenharmony_ci
1208c2ecf20Sopenharmony_ciconfig MACH_DAVINCI_DM365_EVM
1218c2ecf20Sopenharmony_ci	bool "TI DM365 EVM"
1228c2ecf20Sopenharmony_ci	default ARCH_DAVINCI_DM365
1238c2ecf20Sopenharmony_ci	depends on ARCH_DAVINCI_DM365
1248c2ecf20Sopenharmony_ci	help
1258c2ecf20Sopenharmony_ci	  Configure this option to specify whether the board used
1268c2ecf20Sopenharmony_ci	  for development is a DM365 EVM
1278c2ecf20Sopenharmony_ci
1288c2ecf20Sopenharmony_ciconfig MACH_DAVINCI_DA830_EVM
1298c2ecf20Sopenharmony_ci	bool "TI DA830/OMAP-L137/AM17x Reference Platform"
1308c2ecf20Sopenharmony_ci	default ARCH_DAVINCI_DA830
1318c2ecf20Sopenharmony_ci	depends on ARCH_DAVINCI_DA830
1328c2ecf20Sopenharmony_ci	select GPIO_PCF857X if I2C
1338c2ecf20Sopenharmony_ci	help
1348c2ecf20Sopenharmony_ci	  Say Y here to select the TI DA830/OMAP-L137/AM17x Evaluation Module.
1358c2ecf20Sopenharmony_ci
1368c2ecf20Sopenharmony_cichoice
1378c2ecf20Sopenharmony_ci	prompt "Select DA830/OMAP-L137/AM17x UI board peripheral"
1388c2ecf20Sopenharmony_ci	depends on MACH_DAVINCI_DA830_EVM
1398c2ecf20Sopenharmony_ci	help
1408c2ecf20Sopenharmony_ci	  The presence of UI card on the DA830/OMAP-L137/AM17x EVM is
1418c2ecf20Sopenharmony_ci	  detected automatically based on successful probe of the I2C
1428c2ecf20Sopenharmony_ci	  based GPIO expander on that board. This option selected in this
1438c2ecf20Sopenharmony_ci	  menu has an effect only in case of a successful UI card detection.
1448c2ecf20Sopenharmony_ci
1458c2ecf20Sopenharmony_ciconfig DA830_UI_LCD
1468c2ecf20Sopenharmony_ci	bool "LCD"
1478c2ecf20Sopenharmony_ci	help
1488c2ecf20Sopenharmony_ci	  Say Y here to use the LCD as a framebuffer or simple character
1498c2ecf20Sopenharmony_ci	  display.
1508c2ecf20Sopenharmony_ci
1518c2ecf20Sopenharmony_ciconfig DA830_UI_NAND
1528c2ecf20Sopenharmony_ci	bool "NAND flash"
1538c2ecf20Sopenharmony_ci	help
1548c2ecf20Sopenharmony_ci	  Say Y here to use the NAND flash. Do not forget to setup
1558c2ecf20Sopenharmony_ci	  the switch correctly.
1568c2ecf20Sopenharmony_ciendchoice
1578c2ecf20Sopenharmony_ci
1588c2ecf20Sopenharmony_ciconfig MACH_DAVINCI_DA850_EVM
1598c2ecf20Sopenharmony_ci	bool "TI DA850/OMAP-L138/AM18x Reference Platform"
1608c2ecf20Sopenharmony_ci	default ARCH_DAVINCI_DA850
1618c2ecf20Sopenharmony_ci	depends on ARCH_DAVINCI_DA850
1628c2ecf20Sopenharmony_ci	help
1638c2ecf20Sopenharmony_ci	  Say Y here to select the TI DA850/OMAP-L138/AM18x Evaluation Module.
1648c2ecf20Sopenharmony_ci
1658c2ecf20Sopenharmony_cichoice
1668c2ecf20Sopenharmony_ci	prompt "Select peripherals connected to expander on UI board"
1678c2ecf20Sopenharmony_ci	depends on MACH_DAVINCI_DA850_EVM
1688c2ecf20Sopenharmony_ci	help
1698c2ecf20Sopenharmony_ci	  The presence of User Interface (UI) card on the DA850/OMAP-L138/AM18x
1708c2ecf20Sopenharmony_ci	  EVM is detected automatically based on successful probe of the I2C
1718c2ecf20Sopenharmony_ci	  based GPIO expander on that card. This option selected in this
1728c2ecf20Sopenharmony_ci	  menu has an effect only in case of a successful UI card detection.
1738c2ecf20Sopenharmony_ci
1748c2ecf20Sopenharmony_ciconfig DA850_UI_NONE
1758c2ecf20Sopenharmony_ci	bool "No peripheral is enabled"
1768c2ecf20Sopenharmony_ci	help
1778c2ecf20Sopenharmony_ci	  Say Y if you do not want to enable any of the peripherals connected
1788c2ecf20Sopenharmony_ci	  to TCA6416 expander on DA850/OMAP-L138/AM18x EVM UI card
1798c2ecf20Sopenharmony_ci
1808c2ecf20Sopenharmony_ciconfig DA850_UI_RMII
1818c2ecf20Sopenharmony_ci	bool "RMII Ethernet PHY"
1828c2ecf20Sopenharmony_ci	help
1838c2ecf20Sopenharmony_ci	  Say Y if you want to use the RMII PHY on the DA850/OMAP-L138/AM18x
1848c2ecf20Sopenharmony_ci	  EVM. This PHY is found on the UI daughter card that is supplied with
1858c2ecf20Sopenharmony_ci	  the EVM.
1868c2ecf20Sopenharmony_ci	  NOTE: Please take care while choosing this option, MII PHY will
1878c2ecf20Sopenharmony_ci	  not be functional if RMII mode is selected.
1888c2ecf20Sopenharmony_ci
1898c2ecf20Sopenharmony_ciconfig DA850_UI_SD_VIDEO_PORT
1908c2ecf20Sopenharmony_ci	bool "Video Port Interface"
1918c2ecf20Sopenharmony_ci	help
1928c2ecf20Sopenharmony_ci	  Say Y if you want to use Video Port Interface (VPIF) on the
1938c2ecf20Sopenharmony_ci	  DA850/OMAP-L138 EVM. The Video decoders/encoders are found on the
1948c2ecf20Sopenharmony_ci	  UI daughter card that is supplied with the EVM.
1958c2ecf20Sopenharmony_ci
1968c2ecf20Sopenharmony_ciendchoice
1978c2ecf20Sopenharmony_ci
1988c2ecf20Sopenharmony_ciconfig MACH_MITYOMAPL138
1998c2ecf20Sopenharmony_ci	bool "Critical Link MityDSP-L138/MityARM-1808 SoM"
2008c2ecf20Sopenharmony_ci	depends on ARCH_DAVINCI_DA850
2018c2ecf20Sopenharmony_ci	help
2028c2ecf20Sopenharmony_ci	  Say Y here to select the Critical Link MityDSP-L138/MityARM-1808
2038c2ecf20Sopenharmony_ci	  System on Module.  Information on this SoM may be found at
2048c2ecf20Sopenharmony_ci	  https://www.mitydsp.com
2058c2ecf20Sopenharmony_ci
2068c2ecf20Sopenharmony_ciconfig MACH_OMAPL138_HAWKBOARD
2078c2ecf20Sopenharmony_ci	bool "TI AM1808 / OMAPL-138 Hawkboard platform"
2088c2ecf20Sopenharmony_ci	depends on ARCH_DAVINCI_DA850
2098c2ecf20Sopenharmony_ci	help
2108c2ecf20Sopenharmony_ci	  Say Y here to select the TI AM1808 / OMAPL-138 Hawkboard platform .
2118c2ecf20Sopenharmony_ci
2128c2ecf20Sopenharmony_ciconfig DAVINCI_MUX
2138c2ecf20Sopenharmony_ci	bool "DAVINCI multiplexing support"
2148c2ecf20Sopenharmony_ci	depends on ARCH_DAVINCI
2158c2ecf20Sopenharmony_ci	default y
2168c2ecf20Sopenharmony_ci	help
2178c2ecf20Sopenharmony_ci	  Pin multiplexing support for DAVINCI boards. If your bootloader
2188c2ecf20Sopenharmony_ci	  sets the multiplexing correctly, say N. Otherwise, or if unsure,
2198c2ecf20Sopenharmony_ci	  say Y.
2208c2ecf20Sopenharmony_ci
2218c2ecf20Sopenharmony_ciconfig DAVINCI_MUX_DEBUG
2228c2ecf20Sopenharmony_ci	bool "Multiplexing debug output"
2238c2ecf20Sopenharmony_ci	depends on DAVINCI_MUX
2248c2ecf20Sopenharmony_ci	help
2258c2ecf20Sopenharmony_ci	  Makes the multiplexing functions print out a lot of debug info.
2268c2ecf20Sopenharmony_ci	  This is useful if you want to find out the correct values of the
2278c2ecf20Sopenharmony_ci	  multiplexing registers.
2288c2ecf20Sopenharmony_ci
2298c2ecf20Sopenharmony_ciconfig DAVINCI_MUX_WARNINGS
2308c2ecf20Sopenharmony_ci	bool "Warn about pins the bootloader didn't set up"
2318c2ecf20Sopenharmony_ci	depends on DAVINCI_MUX
2328c2ecf20Sopenharmony_ci	help
2338c2ecf20Sopenharmony_ci	  Choose Y here to warn whenever driver initialization logic needs
2348c2ecf20Sopenharmony_ci	  to change the pin multiplexing setup. When there are no warnings
2358c2ecf20Sopenharmony_ci	  printed, it's safe to deselect DAVINCI_MUX for your product.
2368c2ecf20Sopenharmony_ci
2378c2ecf20Sopenharmony_ciendif
238