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