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