xref: /openbmc/linux/arch/mips/alchemy/Kconfig (revision 7d029125)
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 MIPS_DISABLE_OBSOLETE_IDE
35	select SYS_SUPPORTS_BIG_ENDIAN
36	select SYS_SUPPORTS_LITTLE_ENDIAN
37	select SYS_HAS_EARLY_PRINTK
38
39config MIPS_DB1235
40	bool "Alchemy DB1200/PB1200/DB1300/DB1550/PB1550 boards"
41	select ARCH_REQUIRE_GPIOLIB
42	select HW_HAS_PCI
43	select DMA_COHERENT
44	select MIPS_DISABLE_OBSOLETE_IDE
45	select SYS_SUPPORTS_LITTLE_ENDIAN
46	select SYS_HAS_EARLY_PRINTK
47
48config MIPS_XXS1500
49	bool "MyCable XXS1500 board"
50	select DMA_NONCOHERENT
51	select ALCHEMY_GPIOINT_AU1000
52	select SYS_SUPPORTS_LITTLE_ENDIAN
53	select SYS_HAS_EARLY_PRINTK
54
55config MIPS_GPR
56	bool "Trapeze ITS GPR board"
57	select ALCHEMY_GPIOINT_AU1000
58	select HW_HAS_PCI
59	select DMA_NONCOHERENT
60	select MIPS_DISABLE_OBSOLETE_IDE
61	select SYS_SUPPORTS_LITTLE_ENDIAN
62	select SYS_HAS_EARLY_PRINTK
63
64endchoice
65