xref: /openbmc/linux/arch/arm/mach-omap1/Kconfig (revision 840d9a813c8eaa5c55d86525e374a97ca5023b53)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
27036440eSArnd Bergmannmenuconfig ARCH_OMAP1
37036440eSArnd Bergmann	bool "TI OMAP1"
47036440eSArnd Bergmann	depends on ARCH_MULTI_V4T || ARCH_MULTI_V5
57036440eSArnd Bergmann	depends on CPU_LITTLE_ENDIAN
696a4ce30SArnd Bergmann	depends on ATAGS
7980a637dSArnd Bergmann	select ARCH_OMAP
87036440eSArnd Bergmann	select ARCH_HAS_HOLES_MEMORYMODEL
97036440eSArnd Bergmann	select ARCH_OMAP
107036440eSArnd Bergmann	select CLKSRC_MMIO
117036440eSArnd Bergmann	select FORCE_PCI if PCCARD
12*e68954ecSArnd Bergmann	select GENERIC_IRQ_CHIP
137036440eSArnd Bergmann	select GPIOLIB
147036440eSArnd Bergmann	help
157036440eSArnd Bergmann	  Support for older TI OMAP1 (omap7xx, omap15xx or omap16xx)
167036440eSArnd Bergmann
174a54db61STony Lindgrenif ARCH_OMAP1
184a54db61STony Lindgren
194a54db61STony Lindgrenmenu "TI OMAP1 specific features"
204a54db61STony Lindgren
21b288f75fSTony Lindgrencomment "OMAP Core Type"
22b288f75fSTony Lindgren
233179a019STony Lindgrenconfig ARCH_OMAP15XX
247036440eSArnd Bergmann	depends on ARCH_MULTI_V4T
25b288f75fSTony Lindgren	default y
263179a019STony Lindgren	bool "OMAP15xx Based System"
27c750815eSRussell King	select CPU_ARM925T
2805b5ca9bSTony Lindgren	select OMAP_MPU_TIMER
29b288f75fSTony Lindgren
30b288f75fSTony Lindgrenconfig ARCH_OMAP16XX
317036440eSArnd Bergmann	depends on ARCH_MULTI_V5
32b288f75fSTony Lindgren	bool "OMAP16xx Based System"
33b288f75fSTony Lindgren	select ARCH_OMAP_OTG
34b1b3f49cSRussell King	select CPU_ARM926T
35af04aa85SKeerthy	select OMAP_DM_TIMER
36b288f75fSTony Lindgren
3704e8d9d1SArnd Bergmannconfig ARCH_OMAP
3804e8d9d1SArnd Bergmann	bool
3904e8d9d1SArnd Bergmann
4004e8d9d1SArnd Bergmanncomment "OMAP Feature Selections"
4104e8d9d1SArnd Bergmann
42e9f5f1e4STony Lindgrenconfig OMAP_MUX
43e9f5f1e4STony Lindgren	bool "OMAP multiplexing support"
44e9f5f1e4STony Lindgren	default y
45e9f5f1e4STony Lindgren	help
46e9f5f1e4STony Lindgren	  Pin multiplexing support for OMAP boards. If your bootloader
47e9f5f1e4STony Lindgren	  sets the multiplexing correctly, say N. Otherwise, or if unsure,
48e9f5f1e4STony Lindgren	  say Y.
49e9f5f1e4STony Lindgren
50e9f5f1e4STony Lindgrenconfig OMAP_MUX_DEBUG
51e9f5f1e4STony Lindgren	bool "Multiplexing debug output"
52e9f5f1e4STony Lindgren	depends on OMAP_MUX
53e9f5f1e4STony Lindgren	help
54e9f5f1e4STony Lindgren	  Makes the multiplexing functions print out a lot of debug info.
55e9f5f1e4STony Lindgren	  This is useful if you want to find out the correct values of the
56e9f5f1e4STony Lindgren	  multiplexing registers.
57e9f5f1e4STony Lindgren
58e9f5f1e4STony Lindgrenconfig OMAP_MUX_WARNINGS
59e9f5f1e4STony Lindgren	bool "Warn about pins the bootloader didn't set up"
60e9f5f1e4STony Lindgren	depends on OMAP_MUX
61e9f5f1e4STony Lindgren	default y
62e9f5f1e4STony Lindgren	help
63e9f5f1e4STony Lindgren	  Choose Y here to warn whenever driver initialization logic needs
64e9f5f1e4STony Lindgren	  to change the pin multiplexing setup.	 When there are no warnings
65e9f5f1e4STony Lindgren	  printed, it's safe to deselect OMAP_MUX for your product.
66e9f5f1e4STony Lindgren
67d379e889SArnd Bergmannconfig OMAP_32K_TIMER
68d379e889SArnd Bergmann	bool "Use 32KHz timer"
69d379e889SArnd Bergmann	depends on ARCH_OMAP16XX
70d379e889SArnd Bergmann	default ARCH_OMAP16XX
71d379e889SArnd Bergmann	help
72d379e889SArnd Bergmann	  Select this option if you want to enable the OMAP 32KHz timer.
73d379e889SArnd Bergmann	  This timer saves power compared to the OMAP_MPU_TIMER, and has
74d379e889SArnd Bergmann	  support for no tick during idle. The 32KHz timer provides less
75d379e889SArnd Bergmann	  intra-tick resolution than OMAP_MPU_TIMER. The 32KHz timer is
76d379e889SArnd Bergmann	  currently only available for OMAP16XX, 24XX, 34XX, OMAP4/5 and DRA7XX.
77d379e889SArnd Bergmann
78d379e889SArnd Bergmann	  On OMAP2PLUS this value is only used for CONFIG_HZ and
79d379e889SArnd Bergmann	  CLOCK_TICK_RATE compile time calculation.
80d379e889SArnd Bergmann	  The actual timer selection is done in the board file
81d379e889SArnd Bergmann	  through the (DT_)MACHINE_START structure.
82d379e889SArnd Bergmann
8304e8d9d1SArnd Bergmannconfig OMAP_MPU_TIMER
8404e8d9d1SArnd Bergmann	bool "Use mpu timer"
8504e8d9d1SArnd Bergmann	depends on ARCH_OMAP1
8604e8d9d1SArnd Bergmann	help
8704e8d9d1SArnd Bergmann	  Select this option if you want to use the OMAP mpu timer. This
8804e8d9d1SArnd Bergmann	  timer provides more intra-tick resolution than the 32KHz timer,
8904e8d9d1SArnd Bergmann	  but consumes more power.
9004e8d9d1SArnd Bergmann
9104e8d9d1SArnd Bergmannconfig OMAP_SERIAL_WAKE
9204e8d9d1SArnd Bergmann	bool "Enable wake-up events for serial ports"
9304e8d9d1SArnd Bergmann	depends on ARCH_OMAP1 && OMAP_MUX
9404e8d9d1SArnd Bergmann	default y
9504e8d9d1SArnd Bergmann	help
9604e8d9d1SArnd Bergmann	  Select this option if you want to have your system wake up
9704e8d9d1SArnd Bergmann	  to data on the serial RX line. This allows you to wake the
9804e8d9d1SArnd Bergmann	  system from serial console.
9904e8d9d1SArnd Bergmann
10004e8d9d1SArnd Bergmannconfig OMAP_RESET_CLOCKS
10104e8d9d1SArnd Bergmann	bool "Reset unused clocks during boot"
10204e8d9d1SArnd Bergmann	depends on ARCH_OMAP
10304e8d9d1SArnd Bergmann	help
10404e8d9d1SArnd Bergmann	  Say Y if you want to reset unused clocks during boot.
10504e8d9d1SArnd Bergmann	  This option saves power, but assumes all drivers are
10604e8d9d1SArnd Bergmann	  using the clock framework. Broken drivers that do not
10704e8d9d1SArnd Bergmann	  yet use clock framework may not work with this option.
10804e8d9d1SArnd Bergmann	  If you are booting from another operating system, you
10904e8d9d1SArnd Bergmann	  probably do not want this option enabled until your
11004e8d9d1SArnd Bergmann	  device drivers work properly.
11104e8d9d1SArnd Bergmann
11204e8d9d1SArnd Bergmannconfig ARCH_OMAP_OTG
11304e8d9d1SArnd Bergmann	bool
11404e8d9d1SArnd Bergmann
115b288f75fSTony Lindgrencomment "OMAP Board Type"
116b288f75fSTony Lindgren
117b288f75fSTony Lindgrenconfig MACH_OMAP_OSK
118b288f75fSTony Lindgren	bool "TI OSK Support"
119dafd24c7SUwe Kleine-König	depends on ARCH_OMAP16XX
120b288f75fSTony Lindgren	help
121b288f75fSTony Lindgren	  TI OMAP 5912 OSK (OMAP Starter Kit) board support. Say Y here
122b288f75fSTony Lindgren	  if you have such a board.
123b288f75fSTony Lindgren
1243179a019STony Lindgrenconfig MACH_OMAP_PALMTE
1253179a019STony Lindgren	bool "Palm Tungsten E"
126dafd24c7SUwe Kleine-König	depends on ARCH_OMAP15XX
1273179a019STony Lindgren	help
128c3695015SAndrzej Zaborowski	  Support for the Palm Tungsten E PDA.  To boot the kernel, you'll
129c3695015SAndrzej Zaborowski	  need a PalmOS compatible bootloader; check out
130c3695015SAndrzej Zaborowski	  http://palmtelinux.sourceforge.net/ for more information.
131c3695015SAndrzej Zaborowski	  Say Y here if you have this PDA model, say N otherwise.
1323179a019STony Lindgren
133c79ed194SVladimir Ananievconfig MACH_SX1
134c79ed194SVladimir Ananiev	bool "Siemens SX1"
135dafd24c7SUwe Kleine-König	depends on ARCH_OMAP15XX
136b1b3f49cSRussell King	select I2C
137c79ed194SVladimir Ananiev	help
138c79ed194SVladimir Ananiev	  Support for the Siemens SX1 phone. To boot the kernel,
139c79ed194SVladimir Ananiev	  you'll need a SX1 compatible bootloader; check out
140c79ed194SVladimir Ananiev	  http://forum.oslik.ru and
141e9dbebafSAlexander A. Klimov	  https://www.handhelds.org/moin/moin.cgi/SiemensSX1
142c79ed194SVladimir Ananiev	  for more information.
143c79ed194SVladimir Ananiev	  Say Y here if you have such a phone, say NO otherwise.
144c79ed194SVladimir Ananiev
1459b6553cdSTony Lindgrenconfig MACH_NOKIA770
1469b6553cdSTony Lindgren	bool "Nokia 770"
147dafd24c7SUwe Kleine-König	depends on ARCH_OMAP16XX
1489b6553cdSTony Lindgren	help
1499b6553cdSTony Lindgren	  Support for the Nokia 770 Internet Tablet. Say Y here if you
1509b6553cdSTony Lindgren	  have such a device.
1519b6553cdSTony Lindgren
1529b6553cdSTony Lindgrenconfig MACH_AMS_DELTA
1539b6553cdSTony Lindgren	bool "Amstrad E3 (Delta)"
154dafd24c7SUwe Kleine-König	depends on ARCH_OMAP15XX
1559632f989SJanusz Krzysztofik	select FIQ
156937eb4bbSJanusz Krzysztofik	select GPIO_GENERIC_PLATFORM
1575ca6180fSJanusz Krzysztofik	select LEDS_GPIO_REGISTER
158ac2885dfSJanusz Krzysztofik	select REGULATOR
159ac2885dfSJanusz Krzysztofik	select REGULATOR_FIXED_VOLTAGE
1609b6553cdSTony Lindgren	help
1619b6553cdSTony Lindgren	  Support for the Amstrad E3 (codename Delta) videophone. Say Y here
1629b6553cdSTony Lindgren	  if you have such a device.
1639b6553cdSTony Lindgren
1644a54db61STony Lindgrenendmenu
1654a54db61STony Lindgren
1664a54db61STony Lindgrenendif
167