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