xref: /linux/arch/mips/alchemy/Kconfig (revision bd8510df881f63a9e7768824cf0e33c4702dcde1)
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
19e8c7c482SRalf Baechle	default MIPS_DB1000
20e8c7c482SRalf Baechle
21e8c7c482SRalf Baechleconfig MIPS_MTX1
22e8c7c482SRalf Baechle	bool "4G Systems MTX-1 board"
23e8c7c482SRalf Baechle	select DMA_NONCOHERENT
24e8c7c482SRalf Baechle	select HW_HAS_PCI
2537663860SManuel Lauss	select ALCHEMY_GPIOINT_AU1000
26e8c7c482SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
278402a158SManuel Lauss	select SYS_HAS_EARLY_PRINTK
28e8c7c482SRalf Baechle
29e8c7c482SRalf Baechleconfig MIPS_DB1000
30f59c811fSManuel Lauss	bool "Alchemy DB1000/DB1500/DB1100 boards"
3137663860SManuel Lauss	select ALCHEMY_GPIOINT_AU1000
32e8c7c482SRalf Baechle	select DMA_NONCOHERENT
33e8c7c482SRalf Baechle	select HW_HAS_PCI
34f59c811fSManuel Lauss	select MIPS_DISABLE_OBSOLETE_IDE
35f59c811fSManuel Lauss	select SYS_SUPPORTS_BIG_ENDIAN
36e8c7c482SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
378402a158SManuel Lauss	select SYS_HAS_EARLY_PRINTK
38e8c7c482SRalf Baechle
39*bd8510dfSManuel Laussconfig MIPS_DB1235
40*bd8510dfSManuel Lauss	bool "Alchemy DB1200/PB1200/DB1300/DB1550 boards"
41*bd8510dfSManuel Lauss	select ARCH_REQUIRE_GPIOLIB
42e8c7c482SRalf Baechle	select HW_HAS_PCI
43f869d42eSManuel Lauss	select DMA_COHERENT
44e8c7c482SRalf Baechle	select MIPS_DISABLE_OBSOLETE_IDE
45e8c7c482SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
468402a158SManuel Lauss	select SYS_HAS_EARLY_PRINTK
47e8c7c482SRalf Baechle
48e8c7c482SRalf Baechleconfig MIPS_PB1100
49e8c7c482SRalf Baechle	bool "Alchemy PB1100 board"
5037663860SManuel Lauss	select ALCHEMY_GPIOINT_AU1000
51e8c7c482SRalf Baechle	select DMA_NONCOHERENT
52e8c7c482SRalf Baechle	select HW_HAS_PCI
53e8c7c482SRalf Baechle	select SWAP_IO_SPACE
54e8c7c482SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
558402a158SManuel Lauss	select SYS_HAS_EARLY_PRINTK
56e8c7c482SRalf Baechle
57e8c7c482SRalf Baechleconfig MIPS_PB1500
58e8c7c482SRalf Baechle	bool "Alchemy PB1500 board"
5937663860SManuel Lauss	select ALCHEMY_GPIOINT_AU1000
60e8c7c482SRalf Baechle	select DMA_NONCOHERENT
61e8c7c482SRalf Baechle	select HW_HAS_PCI
62e8c7c482SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
638402a158SManuel Lauss	select SYS_HAS_EARLY_PRINTK
64e8c7c482SRalf Baechle
65e8c7c482SRalf Baechleconfig MIPS_PB1550
66e8c7c482SRalf Baechle	bool "Alchemy PB1550 board"
6737663860SManuel Lauss	select ALCHEMY_GPIOINT_AU1000
68e8c7c482SRalf Baechle	select DMA_NONCOHERENT
69e8c7c482SRalf Baechle	select HW_HAS_PCI
70e8c7c482SRalf Baechle	select MIPS_DISABLE_OBSOLETE_IDE
71e8c7c482SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
728402a158SManuel Lauss	select SYS_HAS_EARLY_PRINTK
73e8c7c482SRalf Baechle
74e8c7c482SRalf Baechleconfig MIPS_XXS1500
75e8c7c482SRalf Baechle	bool "MyCable XXS1500 board"
76e8c7c482SRalf Baechle	select DMA_NONCOHERENT
7737663860SManuel Lauss	select ALCHEMY_GPIOINT_AU1000
78e8c7c482SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
798402a158SManuel Lauss	select SYS_HAS_EARLY_PRINTK
80e8c7c482SRalf Baechle
81cb8f55b9SWolfgang Grandeggerconfig MIPS_GPR
82cb8f55b9SWolfgang Grandegger	bool "Trapeze ITS GPR board"
8337663860SManuel Lauss	select ALCHEMY_GPIOINT_AU1000
84cb8f55b9SWolfgang Grandegger	select HW_HAS_PCI
85cb8f55b9SWolfgang Grandegger	select DMA_NONCOHERENT
86cb8f55b9SWolfgang Grandegger	select MIPS_DISABLE_OBSOLETE_IDE
87cb8f55b9SWolfgang Grandegger	select SYS_SUPPORTS_LITTLE_ENDIAN
88cb8f55b9SWolfgang Grandegger	select SYS_HAS_EARLY_PRINTK
89cb8f55b9SWolfgang Grandegger
90e8c7c482SRalf Baechleendchoice
91