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