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