xref: /openbmc/linux/arch/mips/alchemy/Kconfig (revision 3932b9ca)
1# au1000-style gpio and interrupt controllers
2config ALCHEMY_GPIOINT_AU1000
3	bool
4
5# au1300-style GPIO/INT controller
6config ALCHEMY_GPIOINT_AU1300
7	bool
8
9# select this in your board config if you don't want to use the gpio
10# namespace as documented in the manuals.  In this case however you need
11# to create the necessary gpio_* functions in your board code/headers!
12# see arch/mips/include/asm/mach-au1x00/gpio.h   for more information.
13config ALCHEMY_GPIO_INDIRECT
14	def_bool n
15
16choice
17	prompt "Machine type"
18	depends on MIPS_ALCHEMY
19	default MIPS_DB1XXX
20
21config MIPS_MTX1
22	bool "4G Systems MTX-1 board"
23	select HW_HAS_PCI
24	select ALCHEMY_GPIOINT_AU1000
25	select SYS_SUPPORTS_LITTLE_ENDIAN
26	select SYS_HAS_EARLY_PRINTK
27
28config MIPS_DB1XXX
29	bool "Alchemy DB1XXX / PB1XXX boards"
30	select ARCH_REQUIRE_GPIOLIB
31	select HW_HAS_PCI
32	select SYS_SUPPORTS_LITTLE_ENDIAN
33	select SYS_HAS_EARLY_PRINTK
34	help
35	  Select this option if you have one of the following Alchemy
36	  development boards:  DB1000 DB1500 DB1100 DB1550 DB1200 DB1300
37			       PB1500 PB1100 PB1550 PB1200
38	  Board type is autodetected during boot.
39
40config MIPS_XXS1500
41	bool "MyCable XXS1500 board"
42	select ALCHEMY_GPIOINT_AU1000
43	select SYS_SUPPORTS_LITTLE_ENDIAN
44	select SYS_HAS_EARLY_PRINTK
45
46config MIPS_GPR
47	bool "Trapeze ITS GPR board"
48	select ALCHEMY_GPIOINT_AU1000
49	select HW_HAS_PCI
50	select SYS_SUPPORTS_LITTLE_ENDIAN
51	select SYS_HAS_EARLY_PRINTK
52
53endchoice
54