1if ARCH_DAVINCI
2
3config AINTC
4	bool
5
6config CP_INTC
7	bool
8
9config ARCH_DAVINCI_DMx
10	select CPU_ARM926T
11	bool
12
13menu "TI DaVinci Implementations"
14
15comment "DaVinci Core Type"
16
17config ARCH_DAVINCI_DM644x
18	bool "DaVinci 644x based system"
19	select AINTC
20	select ARCH_DAVINCI_DMx
21
22config ARCH_DAVINCI_DM355
23	bool "DaVinci 355 based system"
24	select AINTC
25	select ARCH_DAVINCI_DMx
26
27config ARCH_DAVINCI_DM646x
28	bool "DaVinci 646x based system"
29	select AINTC
30	select ARCH_DAVINCI_DMx
31
32config ARCH_DAVINCI_DA830
33	bool "DA830/OMAP-L137/AM17x based system"
34	select CP_INTC
35	select ARCH_DAVINCI_DA8XX
36	select CPU_DCACHE_WRITETHROUGH # needed on silicon revs 1.0, 1.1
37
38config ARCH_DAVINCI_DA850
39	bool "DA850/OMAP-L138/AM18x based system"
40	select CP_INTC
41	select ARCH_DAVINCI_DA8XX
42	select ARCH_HAS_CPUFREQ
43
44config ARCH_DAVINCI_DA8XX
45	select CPU_ARM926T
46	bool
47
48config ARCH_DAVINCI_DM365
49	bool "DaVinci 365 based system"
50	select AINTC
51	select ARCH_DAVINCI_DMx
52
53config ARCH_DAVINCI_TNETV107X
54	select CPU_V6
55	select CP_INTC
56	bool "TNETV107X based system"
57
58comment "DaVinci Board Type"
59
60config MACH_DAVINCI_EVM
61	bool "TI DM644x EVM"
62	default ARCH_DAVINCI_DM644x
63	depends on ARCH_DAVINCI_DM644x
64	select MISC_DEVICES
65	select EEPROM_AT24
66	select I2C
67	help
68	  Configure this option to specify the whether the board used
69	  for development is a DM644x EVM
70
71config MACH_SFFSDR
72	bool "Lyrtech SFFSDR"
73	depends on ARCH_DAVINCI_DM644x
74	select MISC_DEVICES
75	select EEPROM_AT24
76	select I2C
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	select MISC_DEVICES
109	select EEPROM_AT24
110	select I2C
111	help
112	  Configure this option to specify the whether the board used
113	  for development is a DM6467 EVM
114
115config MACH_DAVINCI_DM6467TEVM
116	bool
117
118config MACH_DAVINCI_DM365_EVM
119	bool "TI DM365 EVM"
120	default ARCH_DAVINCI_DM365
121	depends on ARCH_DAVINCI_DM365
122	select MISC_DEVICES
123	select EEPROM_AT24
124	select I2C
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
134	select MISC_DEVICES
135	select EEPROM_AT24
136	select I2C
137	help
138	  Say Y here to select the TI DA830/OMAP-L137/AM17x Evaluation Module.
139
140choice
141	prompt "Select DA830/OMAP-L137/AM17x UI board peripheral"
142	depends on MACH_DAVINCI_DA830_EVM
143	help
144	  The presence of UI card on the DA830/OMAP-L137/AM17x EVM is
145	  detected automatically based on successful probe of the I2C
146	  based GPIO expander on that board. This option selected in this
147	  menu has an effect only in case of a successful UI card detection.
148
149config DA830_UI_LCD
150	bool "LCD"
151	help
152	  Say Y here to use the LCD as a framebuffer or simple character
153	  display.
154
155config DA830_UI_NAND
156	bool "NAND flash"
157	help
158	  Say Y here to use the NAND flash. Do not forget to setup
159	  the switch correctly.
160endchoice
161
162config MACH_DAVINCI_DA850_EVM
163	bool "TI DA850/OMAP-L138/AM18x Reference Platform"
164	default ARCH_DAVINCI_DA850
165	depends on ARCH_DAVINCI_DA850
166	help
167	  Say Y here to select the TI DA850/OMAP-L138/AM18x Evaluation Module.
168
169choice
170	prompt "Select peripherals connected to expander on UI board"
171	depends on MACH_DAVINCI_DA850_EVM
172	help
173	  The presence of User Interface (UI) card on the DA850/OMAP-L138/AM18x
174	  EVM is detected automatically based on successful probe of the I2C
175	  based GPIO expander on that card. This option selected in this
176	  menu has an effect only in case of a successful UI card detection.
177
178config DA850_UI_NONE
179	bool "No peripheral is enabled"
180	help
181	  Say Y if you do not want to enable any of the peripherals connected
182	  to TCA6416 expander on DA850/OMAP-L138/AM18x EVM UI card
183
184config DA850_UI_RMII
185	bool "RMII Ethernet PHY"
186	help
187	  Say Y if you want to use the RMII PHY on the DA850/OMAP-L138/AM18x
188	  EVM. This PHY is found on the UI daughter card that is supplied with
189	  the EVM.
190	  NOTE: Please take care while choosing this option, MII PHY will
191	  not be functional if RMII mode is selected.
192
193endchoice
194
195config GPIO_PCA953X
196	default MACH_DAVINCI_DA850_EVM
197
198config KEYBOARD_GPIO_POLLED
199	default MACH_DAVINCI_DA850_EVM
200
201config MACH_TNETV107X
202	bool "TI TNETV107X Reference Platform"
203	default ARCH_DAVINCI_TNETV107X
204	depends on ARCH_DAVINCI_TNETV107X
205	help
206	  Say Y here to select the TI TNETV107X Evaluation Module.
207
208config MACH_MITYOMAPL138
209	bool "Critical Link MityDSP-L138/MityARM-1808 SoM"
210	depends on ARCH_DAVINCI_DA850
211	select MISC_DEVICES
212	select EEPROM_AT24
213	select I2C
214	help
215	  Say Y here to select the Critical Link MityDSP-L138/MityARM-1808
216	  System on Module.  Information on this SoM may be found at
217	  http://www.mitydsp.com
218
219config MACH_OMAPL138_HAWKBOARD
220	bool "TI AM1808 / OMAPL-138 Hawkboard platform"
221	depends on ARCH_DAVINCI_DA850
222	help
223	  Say Y here to select the TI AM1808 / OMAPL-138 Hawkboard platform .
224	  Information of this board may be found at
225	  http://www.hawkboard.org/
226
227config DAVINCI_MUX
228	bool "DAVINCI multiplexing support"
229	depends on ARCH_DAVINCI
230	default y
231	help
232	  Pin multiplexing support for DAVINCI boards. If your bootloader
233	  sets the multiplexing correctly, say N. Otherwise, or if unsure,
234	  say Y.
235
236config DAVINCI_MUX_DEBUG
237	bool "Multiplexing debug output"
238	depends on DAVINCI_MUX
239	help
240	  Makes the multiplexing functions print out a lot of debug info.
241	  This is useful if you want to find out the correct values of the
242	  multiplexing registers.
243
244config DAVINCI_MUX_WARNINGS
245	bool "Warn about pins the bootloader didn't set up"
246	depends on DAVINCI_MUX
247	help
248	  Choose Y here to warn whenever driver initialization logic needs
249	  to change the pin multiplexing setup. When there are no warnings
250	  printed, it's safe to deselect DAVINCI_MUX for your product.
251
252config DAVINCI_RESET_CLOCKS
253	bool "Reset unused clocks during boot"
254	depends on ARCH_DAVINCI
255	help
256	  Say Y if you want to reset unused clocks during boot.
257	  This option saves power, but assumes all drivers are
258	  using the clock framework. Broken drivers that do not
259	  yet use clock framework may not work with this option.
260	  If you are booting from another operating system, you
261	  probably do not want this option enabled until your
262	  device drivers work properly.
263
264endmenu
265
266endif
267