xref: /openbmc/linux/arch/mips/alchemy/Kconfig (revision 970e268d)
15d400f5cSManuel Lauss# au1000-style gpio and interrupt controllers
25d400f5cSManuel Laussconfig ALCHEMY_GPIOINT_AU1000
351e02b02SManuel Lauss	bool
451e02b02SManuel Lauss
5809f36c6SManuel Lauss# au1300-style GPIO/INT controller
6809f36c6SManuel Laussconfig ALCHEMY_GPIOINT_AU1300
7809f36c6SManuel Lauss	bool
8809f36c6SManuel Lauss
951e02b02SManuel Lauss# select this in your board config if you don't want to use the gpio
1051e02b02SManuel Lauss# namespace as documented in the manuals.  In this case however you need
1151e02b02SManuel Lauss# to create the necessary gpio_* functions in your board code/headers!
1251e02b02SManuel Lauss# see arch/mips/include/asm/mach-au1x00/gpio.h   for more information.
1351e02b02SManuel Laussconfig ALCHEMY_GPIO_INDIRECT
1451e02b02SManuel Lauss	def_bool n
1551e02b02SManuel Lauss
16e8c7c482SRalf Baechlechoice
17e8c7c482SRalf Baechle	prompt "Machine type"
1842a4f17dSManuel Lauss	depends on MIPS_ALCHEMY
19970e268dSManuel Lauss	default MIPS_DB1XXX
20e8c7c482SRalf Baechle
21e8c7c482SRalf Baechleconfig MIPS_MTX1
22e8c7c482SRalf Baechle	bool "4G Systems MTX-1 board"
23e8c7c482SRalf Baechle	select HW_HAS_PCI
2437663860SManuel Lauss	select ALCHEMY_GPIOINT_AU1000
25e8c7c482SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
268402a158SManuel Lauss	select SYS_HAS_EARLY_PRINTK
27e8c7c482SRalf Baechle
28970e268dSManuel Laussconfig MIPS_DB1XXX
29970e268dSManuel Lauss	bool "Alchemy DB1XXX / PB1XXX boards"
30bd8510dfSManuel Lauss	select ARCH_REQUIRE_GPIOLIB
31e8c7c482SRalf Baechle	select HW_HAS_PCI
32e8c7c482SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
338402a158SManuel Lauss	select SYS_HAS_EARLY_PRINTK
34970e268dSManuel Lauss	help
35970e268dSManuel Lauss	  Select this option if you have one of the following Alchemy
36970e268dSManuel Lauss	  development boards:  DB1000 DB1500 DB1100 DB1550 DB1200 DB1300
37970e268dSManuel Lauss			       PB1500 PB1100 PB1550 PB1200
38970e268dSManuel Lauss	  Board type is autodetected during boot.
39e8c7c482SRalf Baechle
40e8c7c482SRalf Baechleconfig MIPS_XXS1500
41e8c7c482SRalf Baechle	bool "MyCable XXS1500 board"
4237663860SManuel Lauss	select ALCHEMY_GPIOINT_AU1000
43e8c7c482SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
448402a158SManuel Lauss	select SYS_HAS_EARLY_PRINTK
45e8c7c482SRalf Baechle
46cb8f55b9SWolfgang Grandeggerconfig MIPS_GPR
47cb8f55b9SWolfgang Grandegger	bool "Trapeze ITS GPR board"
4837663860SManuel Lauss	select ALCHEMY_GPIOINT_AU1000
49cb8f55b9SWolfgang Grandegger	select HW_HAS_PCI
50cb8f55b9SWolfgang Grandegger	select SYS_SUPPORTS_LITTLE_ENDIAN
51cb8f55b9SWolfgang Grandegger	select SYS_HAS_EARLY_PRINTK
52cb8f55b9SWolfgang Grandegger
53e8c7c482SRalf Baechleendchoice
54