xref: /linux/arch/arm/mach-davinci/Kconfig (revision bfd5bb6f90af092aa345b15cd78143956a13c2a8)
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	help
63	  Say y here to include support for TI DaVinci DA850 based using
64	  Flattened Device Tree. More information at Documentation/devicetree
65
66config MACH_DAVINCI_EVM
67	bool "TI DM644x EVM"
68	default ARCH_DAVINCI_DM644x
69	depends on ARCH_DAVINCI_DM644x
70	help
71	  Configure this option to specify the whether the board used
72	  for development is a DM644x EVM
73
74config MACH_SFFSDR
75	bool "Lyrtech SFFSDR"
76	depends on ARCH_DAVINCI_DM644x
77	help
78	  Say Y here to select the Lyrtech Small Form Factor
79	  Software Defined Radio (SFFSDR) board.
80
81config MACH_NEUROS_OSD2
82	bool "Neuros OSD2 Open Television Set Top Box"
83	depends on ARCH_DAVINCI_DM644x
84	help
85	  Configure this option to specify the whether the board used
86	  for development is a Neuros OSD2 Open Set Top Box.
87
88config MACH_DAVINCI_DM355_EVM
89	bool "TI DM355 EVM"
90	default ARCH_DAVINCI_DM355
91	depends on ARCH_DAVINCI_DM355
92	help
93	  Configure this option to specify the whether the board used
94	  for development is a DM355 EVM
95
96config MACH_DM355_LEOPARD
97	bool "DM355 Leopard board"
98	depends on ARCH_DAVINCI_DM355
99	help
100	  Configure this option to specify the whether the board used
101	  for development is a DM355 Leopard board.
102
103config MACH_DAVINCI_DM6467_EVM
104	bool "TI DM6467 EVM"
105	default ARCH_DAVINCI_DM646x
106	depends on ARCH_DAVINCI_DM646x
107	select MACH_DAVINCI_DM6467TEVM
108	help
109	  Configure this option to specify the whether the board used
110	  for development is a DM6467 EVM
111
112config MACH_DAVINCI_DM6467TEVM
113	bool
114
115config MACH_DAVINCI_DM365_EVM
116	bool "TI DM365 EVM"
117	default ARCH_DAVINCI_DM365
118	depends on ARCH_DAVINCI_DM365
119	help
120	  Configure this option to specify whether the board used
121	  for development is a DM365 EVM
122
123config MACH_DAVINCI_DA830_EVM
124	bool "TI DA830/OMAP-L137/AM17x Reference Platform"
125	default ARCH_DAVINCI_DA830
126	depends on ARCH_DAVINCI_DA830
127	select GPIO_PCF857X if I2C
128	help
129	  Say Y here to select the TI DA830/OMAP-L137/AM17x Evaluation Module.
130
131choice
132	prompt "Select DA830/OMAP-L137/AM17x UI board peripheral"
133	depends on MACH_DAVINCI_DA830_EVM
134	help
135	  The presence of UI card on the DA830/OMAP-L137/AM17x EVM is
136	  detected automatically based on successful probe of the I2C
137	  based GPIO expander on that board. This option selected in this
138	  menu has an effect only in case of a successful UI card detection.
139
140config DA830_UI_LCD
141	bool "LCD"
142	help
143	  Say Y here to use the LCD as a framebuffer or simple character
144	  display.
145
146config DA830_UI_NAND
147	bool "NAND flash"
148	help
149	  Say Y here to use the NAND flash. Do not forget to setup
150	  the switch correctly.
151endchoice
152
153config MACH_DAVINCI_DA850_EVM
154	bool "TI DA850/OMAP-L138/AM18x Reference Platform"
155	default ARCH_DAVINCI_DA850
156	depends on ARCH_DAVINCI_DA850
157	help
158	  Say Y here to select the TI DA850/OMAP-L138/AM18x Evaluation Module.
159
160choice
161	prompt "Select peripherals connected to expander on UI board"
162	depends on MACH_DAVINCI_DA850_EVM
163	help
164	  The presence of User Interface (UI) card on the DA850/OMAP-L138/AM18x
165	  EVM is detected automatically based on successful probe of the I2C
166	  based GPIO expander on that card. This option selected in this
167	  menu has an effect only in case of a successful UI card detection.
168
169config DA850_UI_NONE
170	bool "No peripheral is enabled"
171	help
172	  Say Y if you do not want to enable any of the peripherals connected
173	  to TCA6416 expander on DA850/OMAP-L138/AM18x EVM UI card
174
175config DA850_UI_RMII
176	bool "RMII Ethernet PHY"
177	help
178	  Say Y if you want to use the RMII PHY on the DA850/OMAP-L138/AM18x
179	  EVM. This PHY is found on the UI daughter card that is supplied with
180	  the EVM.
181	  NOTE: Please take care while choosing this option, MII PHY will
182	  not be functional if RMII mode is selected.
183
184config DA850_UI_SD_VIDEO_PORT
185	bool "Video Port Interface"
186	help
187	  Say Y if you want to use Video Port Interface (VPIF) on the
188	  DA850/OMAP-L138 EVM. The Video decoders/encoders are found on the
189	  UI daughter card that is supplied with the EVM.
190
191endchoice
192
193config MACH_MITYOMAPL138
194	bool "Critical Link MityDSP-L138/MityARM-1808 SoM"
195	depends on ARCH_DAVINCI_DA850
196	help
197	  Say Y here to select the Critical Link MityDSP-L138/MityARM-1808
198	  System on Module.  Information on this SoM may be found at
199	  http://www.mitydsp.com
200
201config MACH_OMAPL138_HAWKBOARD
202	bool "TI AM1808 / OMAPL-138 Hawkboard platform"
203	depends on ARCH_DAVINCI_DA850
204	help
205	  Say Y here to select the TI AM1808 / OMAPL-138 Hawkboard platform .
206	  Information of this board may be found at
207	  http://www.hawkboard.org/
208
209config DAVINCI_MUX
210	bool "DAVINCI multiplexing support"
211	depends on ARCH_DAVINCI
212	default y
213	help
214	  Pin multiplexing support for DAVINCI boards. If your bootloader
215	  sets the multiplexing correctly, say N. Otherwise, or if unsure,
216	  say Y.
217
218config DAVINCI_MUX_DEBUG
219	bool "Multiplexing debug output"
220	depends on DAVINCI_MUX
221	help
222	  Makes the multiplexing functions print out a lot of debug info.
223	  This is useful if you want to find out the correct values of the
224	  multiplexing registers.
225
226config DAVINCI_MUX_WARNINGS
227	bool "Warn about pins the bootloader didn't set up"
228	depends on DAVINCI_MUX
229	help
230	  Choose Y here to warn whenever driver initialization logic needs
231	  to change the pin multiplexing setup. When there are no warnings
232	  printed, it's safe to deselect DAVINCI_MUX for your product.
233
234config DAVINCI_RESET_CLOCKS
235	bool "Reset unused clocks during boot"
236	depends on ARCH_DAVINCI
237	help
238	  Say Y if you want to reset unused clocks during boot.
239	  This option saves power, but assumes all drivers are
240	  using the clock framework. Broken drivers that do not
241	  yet use clock framework may not work with this option.
242	  If you are booting from another operating system, you
243	  probably do not want this option enabled until your
244	  device drivers work properly.
245
246endmenu
247
248endif
249