xref: /openbmc/linux/arch/arm/mach-omap1/Kconfig (revision cc8c418b)
1# SPDX-License-Identifier: GPL-2.0-only
2menuconfig ARCH_OMAP1
3	bool "TI OMAP1"
4	depends on ARCH_MULTI_V4T || ARCH_MULTI_V5
5	depends on CPU_LITTLE_ENDIAN
6	depends on ATAGS
7	select ARCH_HAS_HOLES_MEMORYMODEL
8	select ARCH_OMAP
9	select CLKSRC_MMIO
10	select FORCE_PCI if PCCARD
11	select GPIOLIB
12	help
13	  Support for older TI OMAP1 (omap7xx, omap15xx or omap16xx)
14
15if ARCH_OMAP1
16
17menu "TI OMAP1 specific features"
18
19comment "OMAP Core Type"
20
21config ARCH_OMAP730
22	depends on ARCH_MULTI_V5
23	bool "OMAP730 Based System"
24	select ARCH_OMAP_OTG
25	select CPU_ARM926T
26	select OMAP_MPU_TIMER
27
28config ARCH_OMAP850
29	depends on ARCH_MULTI_V5
30	bool "OMAP850 Based System"
31	select ARCH_OMAP_OTG
32	select CPU_ARM926T
33
34config ARCH_OMAP15XX
35	depends on ARCH_MULTI_V4T
36	default y
37	bool "OMAP15xx Based System"
38	select CPU_ARM925T
39	select OMAP_MPU_TIMER
40
41config ARCH_OMAP16XX
42	depends on ARCH_MULTI_V5
43	bool "OMAP16xx Based System"
44	select ARCH_OMAP_OTG
45	select CPU_ARM926T
46	select OMAP_DM_TIMER
47
48config ARCH_OMAP1_ANY
49	select ARCH_OMAP
50	def_bool ARCH_OMAP730 || ARCH_OMAP850 || ARCH_OMAP15XX || ARCH_OMAP16XX
51
52config ARCH_OMAP
53	bool
54
55comment "OMAP Feature Selections"
56
57config OMAP_MUX
58	bool "OMAP multiplexing support"
59	default y
60	help
61	  Pin multiplexing support for OMAP boards. If your bootloader
62	  sets the multiplexing correctly, say N. Otherwise, or if unsure,
63	  say Y.
64
65config OMAP_MUX_DEBUG
66	bool "Multiplexing debug output"
67	depends on OMAP_MUX
68	help
69	  Makes the multiplexing functions print out a lot of debug info.
70	  This is useful if you want to find out the correct values of the
71	  multiplexing registers.
72
73config OMAP_MUX_WARNINGS
74	bool "Warn about pins the bootloader didn't set up"
75	depends on OMAP_MUX
76	default y
77	help
78	  Choose Y here to warn whenever driver initialization logic needs
79	  to change the pin multiplexing setup.	 When there are no warnings
80	  printed, it's safe to deselect OMAP_MUX for your product.
81
82config OMAP_32K_TIMER
83	bool "Use 32KHz timer"
84	depends on ARCH_OMAP16XX
85	default ARCH_OMAP16XX
86	help
87	  Select this option if you want to enable the OMAP 32KHz timer.
88	  This timer saves power compared to the OMAP_MPU_TIMER, and has
89	  support for no tick during idle. The 32KHz timer provides less
90	  intra-tick resolution than OMAP_MPU_TIMER. The 32KHz timer is
91	  currently only available for OMAP16XX, 24XX, 34XX, OMAP4/5 and DRA7XX.
92
93	  On OMAP2PLUS this value is only used for CONFIG_HZ and
94	  CLOCK_TICK_RATE compile time calculation.
95	  The actual timer selection is done in the board file
96	  through the (DT_)MACHINE_START structure.
97
98config OMAP_MPU_TIMER
99	bool "Use mpu timer"
100	depends on ARCH_OMAP1
101	help
102	  Select this option if you want to use the OMAP mpu timer. This
103	  timer provides more intra-tick resolution than the 32KHz timer,
104	  but consumes more power.
105
106config OMAP_SERIAL_WAKE
107	bool "Enable wake-up events for serial ports"
108	depends on ARCH_OMAP1 && OMAP_MUX
109	default y
110	help
111	  Select this option if you want to have your system wake up
112	  to data on the serial RX line. This allows you to wake the
113	  system from serial console.
114
115config OMAP_RESET_CLOCKS
116	bool "Reset unused clocks during boot"
117	depends on ARCH_OMAP
118	help
119	  Say Y if you want to reset unused clocks during boot.
120	  This option saves power, but assumes all drivers are
121	  using the clock framework. Broken drivers that do not
122	  yet use clock framework may not work with this option.
123	  If you are booting from another operating system, you
124	  probably do not want this option enabled until your
125	  device drivers work properly.
126
127config ARCH_OMAP_OTG
128	bool
129
130comment "OMAP Board Type"
131
132config MACH_OMAP_INNOVATOR
133	bool "TI Innovator"
134	depends on ARCH_OMAP15XX || ARCH_OMAP16XX
135	depends on UNUSED_BOARD_FILES
136	help
137          TI OMAP 1510 or 1610 Innovator board support. Say Y here if you
138          have such a board.
139
140config MACH_OMAP_H2
141	bool "TI H2 Support"
142	depends on ARCH_OMAP16XX
143	depends on UNUSED_BOARD_FILES
144	help
145	  TI OMAP 1610/1611B H2 board support. Say Y here if you have such
146	  a board.
147
148config MACH_OMAP_H3
149	bool "TI H3 Support"
150	depends on ARCH_OMAP16XX
151	depends on UNUSED_BOARD_FILES
152	help
153	  TI OMAP 1710 H3 board support. Say Y here if you have such
154	  a board.
155
156config MACH_HERALD
157	bool "HTC Herald"
158	depends on ARCH_OMAP850
159	depends on UNUSED_BOARD_FILES
160	help
161	  HTC Herald smartphone support (AKA T-Mobile Wing, ...)
162
163config MACH_OMAP_OSK
164	bool "TI OSK Support"
165	depends on ARCH_OMAP16XX
166	help
167	  TI OMAP 5912 OSK (OMAP Starter Kit) board support. Say Y here
168          if you have such a board.
169
170config OMAP_OSK_MISTRAL
171	bool "Mistral QVGA board Support"
172	depends on MACH_OMAP_OSK
173	depends on UNUSED_BOARD_FILES
174	help
175	  The OSK supports an optional add-on board with a Quarter-VGA
176	  touchscreen, PDA-ish buttons, a resume button, bicolor LED,
177	  and camera connector.  Say Y here if you have this board.
178
179config MACH_OMAP_PERSEUS2
180	bool "TI Perseus2"
181	depends on ARCH_OMAP730
182	depends on UNUSED_BOARD_FILES
183	help
184	  Support for TI OMAP 730 Perseus2 board. Say Y here if you have such
185	  a board.
186
187config MACH_OMAP_FSAMPLE
188	bool "TI F-Sample"
189	depends on ARCH_OMAP730
190	depends on UNUSED_BOARD_FILES
191	help
192	  Support for TI OMAP 850 F-Sample board. Say Y here if you have such
193	  a board.
194
195config MACH_OMAP_PALMTE
196	bool "Palm Tungsten E"
197	depends on ARCH_OMAP15XX
198	help
199	  Support for the Palm Tungsten E PDA.  To boot the kernel, you'll
200	  need a PalmOS compatible bootloader; check out
201	  http://palmtelinux.sourceforge.net/ for more information.
202	  Say Y here if you have this PDA model, say N otherwise.
203
204config MACH_OMAP_PALMZ71
205	bool "Palm Zire71"
206	depends on ARCH_OMAP15XX
207	depends on UNUSED_BOARD_FILES
208	help
209	 Support for the Palm Zire71 PDA. To boot the kernel,
210	 you'll need a PalmOS compatible bootloader; check out
211	 http://hackndev.com/palm/z71 for more information.
212	 Say Y here if you have such a PDA, say N otherwise.
213
214config MACH_OMAP_PALMTT
215	bool "Palm Tungsten|T"
216	depends on ARCH_OMAP15XX
217	depends on UNUSED_BOARD_FILES
218	help
219	  Support for the Palm Tungsten|T PDA. To boot the kernel, you'll
220	  need a PalmOS compatible bootloader (Garux); check out
221	  http://garux.sourceforge.net/ for more information.
222	  Say Y here if you have this PDA model, say N otherwise.
223
224config MACH_SX1
225	bool "Siemens SX1"
226	depends on ARCH_OMAP15XX
227	select I2C
228	help
229	  Support for the Siemens SX1 phone. To boot the kernel,
230	  you'll need a SX1 compatible bootloader; check out
231	  http://forum.oslik.ru and
232	  https://www.handhelds.org/moin/moin.cgi/SiemensSX1
233	  for more information.
234	  Say Y here if you have such a phone, say NO otherwise.
235
236config MACH_NOKIA770
237	bool "Nokia 770"
238	depends on ARCH_OMAP16XX
239	help
240	  Support for the Nokia 770 Internet Tablet. Say Y here if you
241	  have such a device.
242
243config MACH_AMS_DELTA
244	bool "Amstrad E3 (Delta)"
245	depends on ARCH_OMAP15XX
246	select FIQ
247	select GPIO_GENERIC_PLATFORM
248	select LEDS_GPIO_REGISTER
249	select REGULATOR
250	select REGULATOR_FIXED_VOLTAGE
251	help
252	  Support for the Amstrad E3 (codename Delta) videophone. Say Y here
253	  if you have such a device.
254
255config MACH_OMAP_GENERIC
256	bool "Generic OMAP board"
257	depends on ARCH_OMAP15XX || ARCH_OMAP16XX
258	depends on UNUSED_BOARD_FILES
259	help
260          Support for generic OMAP-1510, 1610 or 1710 board with
261          no FPGA. Can be used as template for porting Linux to
262          custom OMAP boards. Say Y here if you have a custom
263          board.
264
265endmenu
266
267endif
268