xref: /linux/arch/arm/mach-omap1/Kconfig (revision 79790b6818e96c58fe2bffee1b418c16e64e7b80)
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
6*96a4ce30SArnd Bergmann	depends on ATAGS
77036440eSArnd Bergmann	select ARCH_HAS_HOLES_MEMORYMODEL
87036440eSArnd Bergmann	select ARCH_OMAP
97036440eSArnd Bergmann	select CLKSRC_MMIO
107036440eSArnd Bergmann	select FORCE_PCI if PCCARD
117036440eSArnd Bergmann	select GPIOLIB
127036440eSArnd Bergmann	help
137036440eSArnd Bergmann	  Support for older TI OMAP1 (omap7xx, omap15xx or omap16xx)
147036440eSArnd Bergmann
154a54db61STony Lindgrenif ARCH_OMAP1
164a54db61STony Lindgren
174a54db61STony Lindgrenmenu "TI OMAP1 specific features"
184a54db61STony Lindgren
19b288f75fSTony Lindgrencomment "OMAP Core Type"
20b288f75fSTony Lindgren
213179a019STony Lindgrenconfig ARCH_OMAP15XX
227036440eSArnd Bergmann	depends on ARCH_MULTI_V4T
23b288f75fSTony Lindgren	default y
243179a019STony Lindgren	bool "OMAP15xx Based System"
25c750815eSRussell King	select CPU_ARM925T
2605b5ca9bSTony Lindgren	select OMAP_MPU_TIMER
27b288f75fSTony Lindgren
28b288f75fSTony Lindgrenconfig ARCH_OMAP16XX
297036440eSArnd Bergmann	depends on ARCH_MULTI_V5
30b288f75fSTony Lindgren	bool "OMAP16xx Based System"
31b288f75fSTony Lindgren	select ARCH_OMAP_OTG
32b1b3f49cSRussell King	select CPU_ARM926T
33af04aa85SKeerthy	select OMAP_DM_TIMER
34b288f75fSTony Lindgren
3504e8d9d1SArnd Bergmannconfig ARCH_OMAP
3604e8d9d1SArnd Bergmann	bool
3704e8d9d1SArnd Bergmann
3804e8d9d1SArnd Bergmanncomment "OMAP Feature Selections"
3904e8d9d1SArnd Bergmann
40e9f5f1e4STony Lindgrenconfig OMAP_MUX
41e9f5f1e4STony Lindgren	bool "OMAP multiplexing support"
42e9f5f1e4STony Lindgren	default y
43e9f5f1e4STony Lindgren	help
44e9f5f1e4STony Lindgren	  Pin multiplexing support for OMAP boards. If your bootloader
45e9f5f1e4STony Lindgren	  sets the multiplexing correctly, say N. Otherwise, or if unsure,
46e9f5f1e4STony Lindgren	  say Y.
47e9f5f1e4STony Lindgren
48e9f5f1e4STony Lindgrenconfig OMAP_MUX_DEBUG
49e9f5f1e4STony Lindgren	bool "Multiplexing debug output"
50e9f5f1e4STony Lindgren	depends on OMAP_MUX
51e9f5f1e4STony Lindgren	help
52e9f5f1e4STony Lindgren	  Makes the multiplexing functions print out a lot of debug info.
53e9f5f1e4STony Lindgren	  This is useful if you want to find out the correct values of the
54e9f5f1e4STony Lindgren	  multiplexing registers.
55e9f5f1e4STony Lindgren
56e9f5f1e4STony Lindgrenconfig OMAP_MUX_WARNINGS
57e9f5f1e4STony Lindgren	bool "Warn about pins the bootloader didn't set up"
58e9f5f1e4STony Lindgren	depends on OMAP_MUX
59e9f5f1e4STony Lindgren	default y
60e9f5f1e4STony Lindgren	help
61e9f5f1e4STony Lindgren	  Choose Y here to warn whenever driver initialization logic needs
62e9f5f1e4STony Lindgren	  to change the pin multiplexing setup.	 When there are no warnings
63e9f5f1e4STony Lindgren	  printed, it's safe to deselect OMAP_MUX for your product.
64e9f5f1e4STony Lindgren
65d379e889SArnd Bergmannconfig OMAP_32K_TIMER
66d379e889SArnd Bergmann	bool "Use 32KHz timer"
67d379e889SArnd Bergmann	depends on ARCH_OMAP16XX
68d379e889SArnd Bergmann	default ARCH_OMAP16XX
69d379e889SArnd Bergmann	help
70d379e889SArnd Bergmann	  Select this option if you want to enable the OMAP 32KHz timer.
71d379e889SArnd Bergmann	  This timer saves power compared to the OMAP_MPU_TIMER, and has
72d379e889SArnd Bergmann	  support for no tick during idle. The 32KHz timer provides less
73d379e889SArnd Bergmann	  intra-tick resolution than OMAP_MPU_TIMER. The 32KHz timer is
74d379e889SArnd Bergmann	  currently only available for OMAP16XX, 24XX, 34XX, OMAP4/5 and DRA7XX.
75d379e889SArnd Bergmann
76d379e889SArnd Bergmann	  On OMAP2PLUS this value is only used for CONFIG_HZ and
77d379e889SArnd Bergmann	  CLOCK_TICK_RATE compile time calculation.
78d379e889SArnd Bergmann	  The actual timer selection is done in the board file
79d379e889SArnd Bergmann	  through the (DT_)MACHINE_START structure.
80d379e889SArnd Bergmann
8104e8d9d1SArnd Bergmannconfig OMAP_MPU_TIMER
8204e8d9d1SArnd Bergmann	bool "Use mpu timer"
8304e8d9d1SArnd Bergmann	depends on ARCH_OMAP1
8404e8d9d1SArnd Bergmann	help
8504e8d9d1SArnd Bergmann	  Select this option if you want to use the OMAP mpu timer. This
8604e8d9d1SArnd Bergmann	  timer provides more intra-tick resolution than the 32KHz timer,
8704e8d9d1SArnd Bergmann	  but consumes more power.
8804e8d9d1SArnd Bergmann
8904e8d9d1SArnd Bergmannconfig OMAP_SERIAL_WAKE
9004e8d9d1SArnd Bergmann	bool "Enable wake-up events for serial ports"
9104e8d9d1SArnd Bergmann	depends on ARCH_OMAP1 && OMAP_MUX
9204e8d9d1SArnd Bergmann	default y
9304e8d9d1SArnd Bergmann	help
9404e8d9d1SArnd Bergmann	  Select this option if you want to have your system wake up
9504e8d9d1SArnd Bergmann	  to data on the serial RX line. This allows you to wake the
9604e8d9d1SArnd Bergmann	  system from serial console.
9704e8d9d1SArnd Bergmann
9804e8d9d1SArnd Bergmannconfig OMAP_RESET_CLOCKS
9904e8d9d1SArnd Bergmann	bool "Reset unused clocks during boot"
10004e8d9d1SArnd Bergmann	depends on ARCH_OMAP
10104e8d9d1SArnd Bergmann	help
10204e8d9d1SArnd Bergmann	  Say Y if you want to reset unused clocks during boot.
10304e8d9d1SArnd Bergmann	  This option saves power, but assumes all drivers are
10404e8d9d1SArnd Bergmann	  using the clock framework. Broken drivers that do not
10504e8d9d1SArnd Bergmann	  yet use clock framework may not work with this option.
10604e8d9d1SArnd Bergmann	  If you are booting from another operating system, you
10704e8d9d1SArnd Bergmann	  probably do not want this option enabled until your
10804e8d9d1SArnd Bergmann	  device drivers work properly.
10904e8d9d1SArnd Bergmann
11004e8d9d1SArnd Bergmannconfig ARCH_OMAP_OTG
11104e8d9d1SArnd Bergmann	bool
11204e8d9d1SArnd Bergmann
113b288f75fSTony Lindgrencomment "OMAP Board Type"
114b288f75fSTony Lindgren
115b288f75fSTony Lindgrenconfig MACH_OMAP_OSK
116b288f75fSTony Lindgren	bool "TI OSK Support"
117dafd24c7SUwe Kleine-König	depends on ARCH_OMAP16XX
118b288f75fSTony Lindgren	help
119b288f75fSTony Lindgren	  TI OMAP 5912 OSK (OMAP Starter Kit) board support. Say Y here
120b288f75fSTony Lindgren	  if you have such a board.
121b288f75fSTony Lindgren
1223179a019STony Lindgrenconfig MACH_OMAP_PALMTE
1233179a019STony Lindgren	bool "Palm Tungsten E"
124dafd24c7SUwe Kleine-König	depends on ARCH_OMAP15XX
1253179a019STony Lindgren	help
126c3695015SAndrzej Zaborowski	  Support for the Palm Tungsten E PDA.  To boot the kernel, you'll
127c3695015SAndrzej Zaborowski	  need a PalmOS compatible bootloader; check out
128c3695015SAndrzej Zaborowski	  http://palmtelinux.sourceforge.net/ for more information.
129c3695015SAndrzej Zaborowski	  Say Y here if you have this PDA model, say N otherwise.
1303179a019STony Lindgren
131c79ed194SVladimir Ananievconfig MACH_SX1
132c79ed194SVladimir Ananiev	bool "Siemens SX1"
133dafd24c7SUwe Kleine-König	depends on ARCH_OMAP15XX
134b1b3f49cSRussell King	select I2C
135c79ed194SVladimir Ananiev	help
136c79ed194SVladimir Ananiev	  Support for the Siemens SX1 phone. To boot the kernel,
137c79ed194SVladimir Ananiev	  you'll need a SX1 compatible bootloader; check out
138c79ed194SVladimir Ananiev	  http://forum.oslik.ru and
139e9dbebafSAlexander A. Klimov	  https://www.handhelds.org/moin/moin.cgi/SiemensSX1
140c79ed194SVladimir Ananiev	  for more information.
141c79ed194SVladimir Ananiev	  Say Y here if you have such a phone, say NO otherwise.
142c79ed194SVladimir Ananiev
1439b6553cdSTony Lindgrenconfig MACH_NOKIA770
1449b6553cdSTony Lindgren	bool "Nokia 770"
145dafd24c7SUwe Kleine-König	depends on ARCH_OMAP16XX
1469b6553cdSTony Lindgren	help
1479b6553cdSTony Lindgren	  Support for the Nokia 770 Internet Tablet. Say Y here if you
1489b6553cdSTony Lindgren	  have such a device.
1499b6553cdSTony Lindgren
1509b6553cdSTony Lindgrenconfig MACH_AMS_DELTA
1519b6553cdSTony Lindgren	bool "Amstrad E3 (Delta)"
152dafd24c7SUwe Kleine-König	depends on ARCH_OMAP15XX
1539632f989SJanusz Krzysztofik	select FIQ
154937eb4bbSJanusz Krzysztofik	select GPIO_GENERIC_PLATFORM
1555ca6180fSJanusz Krzysztofik	select LEDS_GPIO_REGISTER
156ac2885dfSJanusz Krzysztofik	select REGULATOR
157ac2885dfSJanusz Krzysztofik	select REGULATOR_FIXED_VOLTAGE
1589b6553cdSTony Lindgren	help
1599b6553cdSTony Lindgren	  Support for the Amstrad E3 (codename Delta) videophone. Say Y here
1609b6553cdSTony Lindgren	  if you have such a device.
1619b6553cdSTony Lindgren
1624a54db61STony Lindgrenendmenu
1634a54db61STony Lindgren
1644a54db61STony Lindgrenendif
165