xref: /openbmc/linux/arch/arm/mach-omap1/Kconfig (revision 840d9a813c8eaa5c55d86525e374a97ca5023b53)
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_OMAP
8	select ARCH_HAS_HOLES_MEMORYMODEL
9	select ARCH_OMAP
10	select CLKSRC_MMIO
11	select FORCE_PCI if PCCARD
12	select GENERIC_IRQ_CHIP
13	select GPIOLIB
14	help
15	  Support for older TI OMAP1 (omap7xx, omap15xx or omap16xx)
16
17if ARCH_OMAP1
18
19menu "TI OMAP1 specific features"
20
21comment "OMAP Core Type"
22
23config ARCH_OMAP15XX
24	depends on ARCH_MULTI_V4T
25	default y
26	bool "OMAP15xx Based System"
27	select CPU_ARM925T
28	select OMAP_MPU_TIMER
29
30config ARCH_OMAP16XX
31	depends on ARCH_MULTI_V5
32	bool "OMAP16xx Based System"
33	select ARCH_OMAP_OTG
34	select CPU_ARM926T
35	select OMAP_DM_TIMER
36
37config ARCH_OMAP
38	bool
39
40comment "OMAP Feature Selections"
41
42config OMAP_MUX
43	bool "OMAP multiplexing support"
44	default y
45	help
46	  Pin multiplexing support for OMAP boards. If your bootloader
47	  sets the multiplexing correctly, say N. Otherwise, or if unsure,
48	  say Y.
49
50config OMAP_MUX_DEBUG
51	bool "Multiplexing debug output"
52	depends on OMAP_MUX
53	help
54	  Makes the multiplexing functions print out a lot of debug info.
55	  This is useful if you want to find out the correct values of the
56	  multiplexing registers.
57
58config OMAP_MUX_WARNINGS
59	bool "Warn about pins the bootloader didn't set up"
60	depends on OMAP_MUX
61	default y
62	help
63	  Choose Y here to warn whenever driver initialization logic needs
64	  to change the pin multiplexing setup.	 When there are no warnings
65	  printed, it's safe to deselect OMAP_MUX for your product.
66
67config OMAP_32K_TIMER
68	bool "Use 32KHz timer"
69	depends on ARCH_OMAP16XX
70	default ARCH_OMAP16XX
71	help
72	  Select this option if you want to enable the OMAP 32KHz timer.
73	  This timer saves power compared to the OMAP_MPU_TIMER, and has
74	  support for no tick during idle. The 32KHz timer provides less
75	  intra-tick resolution than OMAP_MPU_TIMER. The 32KHz timer is
76	  currently only available for OMAP16XX, 24XX, 34XX, OMAP4/5 and DRA7XX.
77
78	  On OMAP2PLUS this value is only used for CONFIG_HZ and
79	  CLOCK_TICK_RATE compile time calculation.
80	  The actual timer selection is done in the board file
81	  through the (DT_)MACHINE_START structure.
82
83config OMAP_MPU_TIMER
84	bool "Use mpu timer"
85	depends on ARCH_OMAP1
86	help
87	  Select this option if you want to use the OMAP mpu timer. This
88	  timer provides more intra-tick resolution than the 32KHz timer,
89	  but consumes more power.
90
91config OMAP_SERIAL_WAKE
92	bool "Enable wake-up events for serial ports"
93	depends on ARCH_OMAP1 && OMAP_MUX
94	default y
95	help
96	  Select this option if you want to have your system wake up
97	  to data on the serial RX line. This allows you to wake the
98	  system from serial console.
99
100config OMAP_RESET_CLOCKS
101	bool "Reset unused clocks during boot"
102	depends on ARCH_OMAP
103	help
104	  Say Y if you want to reset unused clocks during boot.
105	  This option saves power, but assumes all drivers are
106	  using the clock framework. Broken drivers that do not
107	  yet use clock framework may not work with this option.
108	  If you are booting from another operating system, you
109	  probably do not want this option enabled until your
110	  device drivers work properly.
111
112config ARCH_OMAP_OTG
113	bool
114
115comment "OMAP Board Type"
116
117config MACH_OMAP_OSK
118	bool "TI OSK Support"
119	depends on ARCH_OMAP16XX
120	help
121	  TI OMAP 5912 OSK (OMAP Starter Kit) board support. Say Y here
122	  if you have such a board.
123
124config MACH_OMAP_PALMTE
125	bool "Palm Tungsten E"
126	depends on ARCH_OMAP15XX
127	help
128	  Support for the Palm Tungsten E PDA.  To boot the kernel, you'll
129	  need a PalmOS compatible bootloader; check out
130	  http://palmtelinux.sourceforge.net/ for more information.
131	  Say Y here if you have this PDA model, say N otherwise.
132
133config MACH_SX1
134	bool "Siemens SX1"
135	depends on ARCH_OMAP15XX
136	select I2C
137	help
138	  Support for the Siemens SX1 phone. To boot the kernel,
139	  you'll need a SX1 compatible bootloader; check out
140	  http://forum.oslik.ru and
141	  https://www.handhelds.org/moin/moin.cgi/SiemensSX1
142	  for more information.
143	  Say Y here if you have such a phone, say NO otherwise.
144
145config MACH_NOKIA770
146	bool "Nokia 770"
147	depends on ARCH_OMAP16XX
148	help
149	  Support for the Nokia 770 Internet Tablet. Say Y here if you
150	  have such a device.
151
152config MACH_AMS_DELTA
153	bool "Amstrad E3 (Delta)"
154	depends on ARCH_OMAP15XX
155	select FIQ
156	select GPIO_GENERIC_PLATFORM
157	select LEDS_GPIO_REGISTER
158	select REGULATOR
159	select REGULATOR_FIXED_VOLTAGE
160	help
161	  Support for the Amstrad E3 (codename Delta) videophone. Say Y here
162	  if you have such a device.
163
164endmenu
165
166endif
167