xref: /openbmc/linux/arch/arm/mach-davinci/Kconfig (revision e7253313)
1# SPDX-License-Identifier: GPL-2.0
2
3menuconfig ARCH_DAVINCI
4	bool "TI DaVinci"
5	depends on ARCH_MULTI_V5
6	select DAVINCI_TIMER
7	select ZONE_DMA
8	select ARCH_HAS_HOLES_MEMORYMODEL
9	select PM_GENERIC_DOMAINS if PM
10	select PM_GENERIC_DOMAINS_OF if PM && OF
11	select REGMAP_MMIO
12	select RESET_CONTROLLER
13	select HAVE_IDE
14	select PINCTRL_SINGLE
15
16if ARCH_DAVINCI
17
18config ARCH_DAVINCI_DMx
19	bool
20
21comment "DaVinci Core Type"
22
23config ARCH_DAVINCI_DM644x
24	bool "DaVinci 644x based system"
25	select DAVINCI_AINTC
26	select ARCH_DAVINCI_DMx
27
28config ARCH_DAVINCI_DM355
29	bool "DaVinci 355 based system"
30	select DAVINCI_AINTC
31	select ARCH_DAVINCI_DMx
32
33config ARCH_DAVINCI_DM646x
34	bool "DaVinci 646x based system"
35	select DAVINCI_AINTC
36	select ARCH_DAVINCI_DMx
37
38config ARCH_DAVINCI_DA830
39	bool "DA830/OMAP-L137/AM17x based system"
40	depends on !ARCH_DAVINCI_DMx || (AUTO_ZRELADDR && ARM_PATCH_PHYS_VIRT)
41	select ARCH_DAVINCI_DA8XX
42	# needed on silicon revs 1.0, 1.1:
43	select CPU_DCACHE_WRITETHROUGH if !CPU_DCACHE_DISABLE
44	select DAVINCI_CP_INTC
45
46config ARCH_DAVINCI_DA850
47	bool "DA850/OMAP-L138/AM18x based system"
48	depends on !ARCH_DAVINCI_DMx || (AUTO_ZRELADDR && ARM_PATCH_PHYS_VIRT)
49	select ARCH_DAVINCI_DA8XX
50	select DAVINCI_CP_INTC
51
52config ARCH_DAVINCI_DA8XX
53	bool
54
55config ARCH_DAVINCI_DM365
56	bool "DaVinci 365 based system"
57	select DAVINCI_AINTC
58	select ARCH_DAVINCI_DMx
59
60comment "DaVinci Board Type"
61
62config MACH_DA8XX_DT
63	bool "Support DA8XX platforms using device tree"
64	default y
65	depends on ARCH_DAVINCI_DA850
66	select PINCTRL
67	select TIMER_OF
68	help
69	  Say y here to include support for TI DaVinci DA850 based using
70	  Flattened Device Tree. More information at Documentation/devicetree
71
72config MACH_DAVINCI_EVM
73	bool "TI DM644x EVM"
74	default ARCH_DAVINCI_DM644x
75	depends on ARCH_DAVINCI_DM644x
76	help
77	  Configure this option to specify the whether the board used
78	  for development is a DM644x EVM
79
80config MACH_SFFSDR
81	bool "Lyrtech SFFSDR"
82	depends on ARCH_DAVINCI_DM644x
83	help
84	  Say Y here to select the Lyrtech Small Form Factor
85	  Software Defined Radio (SFFSDR) board.
86
87config MACH_NEUROS_OSD2
88	bool "Neuros OSD2 Open Television Set Top Box"
89	depends on ARCH_DAVINCI_DM644x
90	help
91	  Configure this option to specify the whether the board used
92	  for development is a Neuros OSD2 Open Set Top Box.
93
94config MACH_DAVINCI_DM355_EVM
95	bool "TI DM355 EVM"
96	default ARCH_DAVINCI_DM355
97	depends on ARCH_DAVINCI_DM355
98	help
99	  Configure this option to specify the whether the board used
100	  for development is a DM355 EVM
101
102config MACH_DM355_LEOPARD
103	bool "DM355 Leopard board"
104	depends on ARCH_DAVINCI_DM355
105	help
106	  Configure this option to specify the whether the board used
107	  for development is a DM355 Leopard board.
108
109config MACH_DAVINCI_DM6467_EVM
110	bool "TI DM6467 EVM"
111	default ARCH_DAVINCI_DM646x
112	depends on ARCH_DAVINCI_DM646x
113	select MACH_DAVINCI_DM6467TEVM
114	help
115	  Configure this option to specify the whether the board used
116	  for development is a DM6467 EVM
117
118config MACH_DAVINCI_DM6467TEVM
119	bool
120
121config MACH_DAVINCI_DM365_EVM
122	bool "TI DM365 EVM"
123	default ARCH_DAVINCI_DM365
124	depends on ARCH_DAVINCI_DM365
125	help
126	  Configure this option to specify whether the board used
127	  for development is a DM365 EVM
128
129config MACH_DAVINCI_DA830_EVM
130	bool "TI DA830/OMAP-L137/AM17x Reference Platform"
131	default ARCH_DAVINCI_DA830
132	depends on ARCH_DAVINCI_DA830
133	select GPIO_PCF857X if I2C
134	help
135	  Say Y here to select the TI DA830/OMAP-L137/AM17x Evaluation Module.
136
137choice
138	prompt "Select DA830/OMAP-L137/AM17x UI board peripheral"
139	depends on MACH_DAVINCI_DA830_EVM
140	help
141	  The presence of UI card on the DA830/OMAP-L137/AM17x EVM is
142	  detected automatically based on successful probe of the I2C
143	  based GPIO expander on that board. This option selected in this
144	  menu has an effect only in case of a successful UI card detection.
145
146config DA830_UI_LCD
147	bool "LCD"
148	help
149	  Say Y here to use the LCD as a framebuffer or simple character
150	  display.
151
152config DA830_UI_NAND
153	bool "NAND flash"
154	help
155	  Say Y here to use the NAND flash. Do not forget to setup
156	  the switch correctly.
157endchoice
158
159config MACH_DAVINCI_DA850_EVM
160	bool "TI DA850/OMAP-L138/AM18x Reference Platform"
161	default ARCH_DAVINCI_DA850
162	depends on ARCH_DAVINCI_DA850
163	help
164	  Say Y here to select the TI DA850/OMAP-L138/AM18x Evaluation Module.
165
166choice
167	prompt "Select peripherals connected to expander on UI board"
168	depends on MACH_DAVINCI_DA850_EVM
169	help
170	  The presence of User Interface (UI) card on the DA850/OMAP-L138/AM18x
171	  EVM is detected automatically based on successful probe of the I2C
172	  based GPIO expander on that card. This option selected in this
173	  menu has an effect only in case of a successful UI card detection.
174
175config DA850_UI_NONE
176	bool "No peripheral is enabled"
177	help
178	  Say Y if you do not want to enable any of the peripherals connected
179	  to TCA6416 expander on DA850/OMAP-L138/AM18x EVM UI card
180
181config DA850_UI_RMII
182	bool "RMII Ethernet PHY"
183	help
184	  Say Y if you want to use the RMII PHY on the DA850/OMAP-L138/AM18x
185	  EVM. This PHY is found on the UI daughter card that is supplied with
186	  the EVM.
187	  NOTE: Please take care while choosing this option, MII PHY will
188	  not be functional if RMII mode is selected.
189
190config DA850_UI_SD_VIDEO_PORT
191	bool "Video Port Interface"
192	help
193	  Say Y if you want to use Video Port Interface (VPIF) on the
194	  DA850/OMAP-L138 EVM. The Video decoders/encoders are found on the
195	  UI daughter card that is supplied with the EVM.
196
197endchoice
198
199config MACH_MITYOMAPL138
200	bool "Critical Link MityDSP-L138/MityARM-1808 SoM"
201	depends on ARCH_DAVINCI_DA850
202	help
203	  Say Y here to select the Critical Link MityDSP-L138/MityARM-1808
204	  System on Module.  Information on this SoM may be found at
205	  http://www.mitydsp.com
206
207config MACH_OMAPL138_HAWKBOARD
208	bool "TI AM1808 / OMAPL-138 Hawkboard platform"
209	depends on ARCH_DAVINCI_DA850
210	help
211	  Say Y here to select the TI AM1808 / OMAPL-138 Hawkboard platform .
212	  Information of this board may be found at
213	  http://www.hawkboard.org/
214
215config DAVINCI_MUX
216	bool "DAVINCI multiplexing support"
217	depends on ARCH_DAVINCI
218	default y
219	help
220	  Pin multiplexing support for DAVINCI boards. If your bootloader
221	  sets the multiplexing correctly, say N. Otherwise, or if unsure,
222	  say Y.
223
224config DAVINCI_MUX_DEBUG
225	bool "Multiplexing debug output"
226	depends on DAVINCI_MUX
227	help
228	  Makes the multiplexing functions print out a lot of debug info.
229	  This is useful if you want to find out the correct values of the
230	  multiplexing registers.
231
232config DAVINCI_MUX_WARNINGS
233	bool "Warn about pins the bootloader didn't set up"
234	depends on DAVINCI_MUX
235	help
236	  Choose Y here to warn whenever driver initialization logic needs
237	  to change the pin multiplexing setup. When there are no warnings
238	  printed, it's safe to deselect DAVINCI_MUX for your product.
239
240endif
241