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