xref: /openbmc/linux/arch/mips/alchemy/Kconfig (revision c1d45424)
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_DB1000
20
21config MIPS_MTX1
22	bool "4G Systems MTX-1 board"
23	select DMA_NONCOHERENT
24	select HW_HAS_PCI
25	select ALCHEMY_GPIOINT_AU1000
26	select SYS_SUPPORTS_LITTLE_ENDIAN
27	select SYS_HAS_EARLY_PRINTK
28
29config MIPS_DB1000
30	bool "Alchemy DB1000/DB1500/DB1100 PB1500/1100 boards"
31	select ALCHEMY_GPIOINT_AU1000
32	select DMA_NONCOHERENT
33	select HW_HAS_PCI
34	select SYS_SUPPORTS_BIG_ENDIAN
35	select SYS_SUPPORTS_LITTLE_ENDIAN
36	select SYS_HAS_EARLY_PRINTK
37
38config MIPS_DB1235
39	bool "Alchemy DB1200/PB1200/DB1300/DB1550/PB1550 boards"
40	select ARCH_REQUIRE_GPIOLIB
41	select HW_HAS_PCI
42	select DMA_COHERENT
43	select SYS_SUPPORTS_LITTLE_ENDIAN
44	select SYS_HAS_EARLY_PRINTK
45
46config MIPS_XXS1500
47	bool "MyCable XXS1500 board"
48	select DMA_NONCOHERENT
49	select ALCHEMY_GPIOINT_AU1000
50	select SYS_SUPPORTS_LITTLE_ENDIAN
51	select SYS_HAS_EARLY_PRINTK
52
53config MIPS_GPR
54	bool "Trapeze ITS GPR board"
55	select ALCHEMY_GPIOINT_AU1000
56	select HW_HAS_PCI
57	select DMA_NONCOHERENT
58	select SYS_SUPPORTS_LITTLE_ENDIAN
59	select SYS_HAS_EARLY_PRINTK
60
61endchoice
62