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