162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
262306a36Sopenharmony_cimenuconfig ARCH_OMAP1
362306a36Sopenharmony_ci	bool "TI OMAP1"
462306a36Sopenharmony_ci	depends on ARCH_MULTI_V4T || ARCH_MULTI_V5
562306a36Sopenharmony_ci	depends on CPU_LITTLE_ENDIAN
662306a36Sopenharmony_ci	depends on ATAGS
762306a36Sopenharmony_ci	select ARCH_OMAP
862306a36Sopenharmony_ci	select ARCH_HAS_HOLES_MEMORYMODEL
962306a36Sopenharmony_ci	select ARCH_OMAP
1062306a36Sopenharmony_ci	select CLKSRC_MMIO
1162306a36Sopenharmony_ci	select FORCE_PCI if PCCARD
1262306a36Sopenharmony_ci	select GPIOLIB
1362306a36Sopenharmony_ci	help
1462306a36Sopenharmony_ci	  Support for older TI OMAP1 (omap7xx, omap15xx or omap16xx)
1562306a36Sopenharmony_ci
1662306a36Sopenharmony_ciif ARCH_OMAP1
1762306a36Sopenharmony_ci
1862306a36Sopenharmony_cimenu "TI OMAP1 specific features"
1962306a36Sopenharmony_ci
2062306a36Sopenharmony_cicomment "OMAP Core Type"
2162306a36Sopenharmony_ci
2262306a36Sopenharmony_ciconfig ARCH_OMAP15XX
2362306a36Sopenharmony_ci	depends on ARCH_MULTI_V4T
2462306a36Sopenharmony_ci	default y
2562306a36Sopenharmony_ci	bool "OMAP15xx Based System"
2662306a36Sopenharmony_ci	select CPU_ARM925T
2762306a36Sopenharmony_ci	select OMAP_MPU_TIMER
2862306a36Sopenharmony_ci
2962306a36Sopenharmony_ciconfig ARCH_OMAP16XX
3062306a36Sopenharmony_ci	depends on ARCH_MULTI_V5
3162306a36Sopenharmony_ci	bool "OMAP16xx Based System"
3262306a36Sopenharmony_ci	select ARCH_OMAP_OTG
3362306a36Sopenharmony_ci	select CPU_ARM926T
3462306a36Sopenharmony_ci	select OMAP_DM_TIMER
3562306a36Sopenharmony_ci
3662306a36Sopenharmony_ciconfig ARCH_OMAP
3762306a36Sopenharmony_ci	bool
3862306a36Sopenharmony_ci
3962306a36Sopenharmony_cicomment "OMAP Feature Selections"
4062306a36Sopenharmony_ci
4162306a36Sopenharmony_ciconfig OMAP_MUX
4262306a36Sopenharmony_ci	bool "OMAP multiplexing support"
4362306a36Sopenharmony_ci	default y
4462306a36Sopenharmony_ci	help
4562306a36Sopenharmony_ci	  Pin multiplexing support for OMAP boards. If your bootloader
4662306a36Sopenharmony_ci	  sets the multiplexing correctly, say N. Otherwise, or if unsure,
4762306a36Sopenharmony_ci	  say Y.
4862306a36Sopenharmony_ci
4962306a36Sopenharmony_ciconfig OMAP_MUX_DEBUG
5062306a36Sopenharmony_ci	bool "Multiplexing debug output"
5162306a36Sopenharmony_ci	depends on OMAP_MUX
5262306a36Sopenharmony_ci	help
5362306a36Sopenharmony_ci	  Makes the multiplexing functions print out a lot of debug info.
5462306a36Sopenharmony_ci	  This is useful if you want to find out the correct values of the
5562306a36Sopenharmony_ci	  multiplexing registers.
5662306a36Sopenharmony_ci
5762306a36Sopenharmony_ciconfig OMAP_MUX_WARNINGS
5862306a36Sopenharmony_ci	bool "Warn about pins the bootloader didn't set up"
5962306a36Sopenharmony_ci	depends on OMAP_MUX
6062306a36Sopenharmony_ci	default y
6162306a36Sopenharmony_ci	help
6262306a36Sopenharmony_ci	  Choose Y here to warn whenever driver initialization logic needs
6362306a36Sopenharmony_ci	  to change the pin multiplexing setup.	 When there are no warnings
6462306a36Sopenharmony_ci	  printed, it's safe to deselect OMAP_MUX for your product.
6562306a36Sopenharmony_ci
6662306a36Sopenharmony_ciconfig OMAP_32K_TIMER
6762306a36Sopenharmony_ci	bool "Use 32KHz timer"
6862306a36Sopenharmony_ci	depends on ARCH_OMAP16XX
6962306a36Sopenharmony_ci	default ARCH_OMAP16XX
7062306a36Sopenharmony_ci	help
7162306a36Sopenharmony_ci	  Select this option if you want to enable the OMAP 32KHz timer.
7262306a36Sopenharmony_ci	  This timer saves power compared to the OMAP_MPU_TIMER, and has
7362306a36Sopenharmony_ci	  support for no tick during idle. The 32KHz timer provides less
7462306a36Sopenharmony_ci	  intra-tick resolution than OMAP_MPU_TIMER. The 32KHz timer is
7562306a36Sopenharmony_ci	  currently only available for OMAP16XX, 24XX, 34XX, OMAP4/5 and DRA7XX.
7662306a36Sopenharmony_ci
7762306a36Sopenharmony_ci	  On OMAP2PLUS this value is only used for CONFIG_HZ and
7862306a36Sopenharmony_ci	  CLOCK_TICK_RATE compile time calculation.
7962306a36Sopenharmony_ci	  The actual timer selection is done in the board file
8062306a36Sopenharmony_ci	  through the (DT_)MACHINE_START structure.
8162306a36Sopenharmony_ci
8262306a36Sopenharmony_ciconfig OMAP_MPU_TIMER
8362306a36Sopenharmony_ci	bool "Use mpu timer"
8462306a36Sopenharmony_ci	depends on ARCH_OMAP1
8562306a36Sopenharmony_ci	help
8662306a36Sopenharmony_ci	  Select this option if you want to use the OMAP mpu timer. This
8762306a36Sopenharmony_ci	  timer provides more intra-tick resolution than the 32KHz timer,
8862306a36Sopenharmony_ci	  but consumes more power.
8962306a36Sopenharmony_ci
9062306a36Sopenharmony_ciconfig OMAP_SERIAL_WAKE
9162306a36Sopenharmony_ci	bool "Enable wake-up events for serial ports"
9262306a36Sopenharmony_ci	depends on ARCH_OMAP1 && OMAP_MUX
9362306a36Sopenharmony_ci	default y
9462306a36Sopenharmony_ci	help
9562306a36Sopenharmony_ci	  Select this option if you want to have your system wake up
9662306a36Sopenharmony_ci	  to data on the serial RX line. This allows you to wake the
9762306a36Sopenharmony_ci	  system from serial console.
9862306a36Sopenharmony_ci
9962306a36Sopenharmony_ciconfig OMAP_RESET_CLOCKS
10062306a36Sopenharmony_ci	bool "Reset unused clocks during boot"
10162306a36Sopenharmony_ci	depends on ARCH_OMAP
10262306a36Sopenharmony_ci	help
10362306a36Sopenharmony_ci	  Say Y if you want to reset unused clocks during boot.
10462306a36Sopenharmony_ci	  This option saves power, but assumes all drivers are
10562306a36Sopenharmony_ci	  using the clock framework. Broken drivers that do not
10662306a36Sopenharmony_ci	  yet use clock framework may not work with this option.
10762306a36Sopenharmony_ci	  If you are booting from another operating system, you
10862306a36Sopenharmony_ci	  probably do not want this option enabled until your
10962306a36Sopenharmony_ci	  device drivers work properly.
11062306a36Sopenharmony_ci
11162306a36Sopenharmony_ciconfig ARCH_OMAP_OTG
11262306a36Sopenharmony_ci	bool
11362306a36Sopenharmony_ci
11462306a36Sopenharmony_cicomment "OMAP Board Type"
11562306a36Sopenharmony_ci
11662306a36Sopenharmony_ciconfig MACH_OMAP_OSK
11762306a36Sopenharmony_ci	bool "TI OSK Support"
11862306a36Sopenharmony_ci	depends on ARCH_OMAP16XX
11962306a36Sopenharmony_ci	help
12062306a36Sopenharmony_ci	  TI OMAP 5912 OSK (OMAP Starter Kit) board support. Say Y here
12162306a36Sopenharmony_ci	  if you have such a board.
12262306a36Sopenharmony_ci
12362306a36Sopenharmony_ciconfig MACH_OMAP_PALMTE
12462306a36Sopenharmony_ci	bool "Palm Tungsten E"
12562306a36Sopenharmony_ci	depends on ARCH_OMAP15XX
12662306a36Sopenharmony_ci	help
12762306a36Sopenharmony_ci	  Support for the Palm Tungsten E PDA.  To boot the kernel, you'll
12862306a36Sopenharmony_ci	  need a PalmOS compatible bootloader; check out
12962306a36Sopenharmony_ci	  http://palmtelinux.sourceforge.net/ for more information.
13062306a36Sopenharmony_ci	  Say Y here if you have this PDA model, say N otherwise.
13162306a36Sopenharmony_ci
13262306a36Sopenharmony_ciconfig MACH_SX1
13362306a36Sopenharmony_ci	bool "Siemens SX1"
13462306a36Sopenharmony_ci	depends on ARCH_OMAP15XX
13562306a36Sopenharmony_ci	select I2C
13662306a36Sopenharmony_ci	help
13762306a36Sopenharmony_ci	  Support for the Siemens SX1 phone. To boot the kernel,
13862306a36Sopenharmony_ci	  you'll need a SX1 compatible bootloader; check out
13962306a36Sopenharmony_ci	  http://forum.oslik.ru and
14062306a36Sopenharmony_ci	  https://www.handhelds.org/moin/moin.cgi/SiemensSX1
14162306a36Sopenharmony_ci	  for more information.
14262306a36Sopenharmony_ci	  Say Y here if you have such a phone, say NO otherwise.
14362306a36Sopenharmony_ci
14462306a36Sopenharmony_ciconfig MACH_NOKIA770
14562306a36Sopenharmony_ci	bool "Nokia 770"
14662306a36Sopenharmony_ci	depends on ARCH_OMAP16XX
14762306a36Sopenharmony_ci	help
14862306a36Sopenharmony_ci	  Support for the Nokia 770 Internet Tablet. Say Y here if you
14962306a36Sopenharmony_ci	  have such a device.
15062306a36Sopenharmony_ci
15162306a36Sopenharmony_ciconfig MACH_AMS_DELTA
15262306a36Sopenharmony_ci	bool "Amstrad E3 (Delta)"
15362306a36Sopenharmony_ci	depends on ARCH_OMAP15XX
15462306a36Sopenharmony_ci	select FIQ
15562306a36Sopenharmony_ci	select GPIO_GENERIC_PLATFORM
15662306a36Sopenharmony_ci	select LEDS_GPIO_REGISTER
15762306a36Sopenharmony_ci	select REGULATOR
15862306a36Sopenharmony_ci	select REGULATOR_FIXED_VOLTAGE
15962306a36Sopenharmony_ci	help
16062306a36Sopenharmony_ci	  Support for the Amstrad E3 (codename Delta) videophone. Say Y here
16162306a36Sopenharmony_ci	  if you have such a device.
16262306a36Sopenharmony_ci
16362306a36Sopenharmony_ciendmenu
16462306a36Sopenharmony_ci
16562306a36Sopenharmony_ciendif
166