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