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