xref: /openbmc/linux/arch/mips/alchemy/Kconfig (revision f59c811f)
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
39e8c7c482SRalf Baechleconfig MIPS_DB1200
406f7c8623SManuel Lauss	bool "Alchemy DB1200/PB1200 board"
4137663860SManuel Lauss	select ALCHEMY_GPIOINT_AU1000
42e8c7c482SRalf Baechle	select DMA_COHERENT
43e8c7c482SRalf Baechle	select MIPS_DISABLE_OBSOLETE_IDE
44e8c7c482SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
458402a158SManuel Lauss	select SYS_HAS_EARLY_PRINTK
46e8c7c482SRalf Baechle
4764cd04d0SManuel Laussconfig MIPS_DB1300
4864cd04d0SManuel Lauss	bool "NetLogic DB1300 board"
4964cd04d0SManuel Lauss	select ALCHEMY_GPIOINT_AU1300
5064cd04d0SManuel Lauss	select DMA_COHERENT
5164cd04d0SManuel Lauss	select MIPS_DISABLE_OBSOLETE_IDE
5264cd04d0SManuel Lauss	select SYS_SUPPORTS_LITTLE_ENDIAN
5364cd04d0SManuel Lauss	select SYS_HAS_EARLY_PRINTK
5464cd04d0SManuel Lauss
55e8c7c482SRalf Baechleconfig MIPS_DB1550
56e8c7c482SRalf Baechle	bool "Alchemy DB1550 board"
5737663860SManuel Lauss	select ALCHEMY_GPIOINT_AU1000
58e8c7c482SRalf Baechle	select HW_HAS_PCI
59f869d42eSManuel Lauss	select DMA_COHERENT
60e8c7c482SRalf Baechle	select MIPS_DISABLE_OBSOLETE_IDE
61e8c7c482SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
628402a158SManuel Lauss	select SYS_HAS_EARLY_PRINTK
63e8c7c482SRalf Baechle
64e8c7c482SRalf Baechleconfig MIPS_PB1100
65e8c7c482SRalf Baechle	bool "Alchemy PB1100 board"
6637663860SManuel Lauss	select ALCHEMY_GPIOINT_AU1000
67e8c7c482SRalf Baechle	select DMA_NONCOHERENT
68e8c7c482SRalf Baechle	select HW_HAS_PCI
69e8c7c482SRalf Baechle	select SWAP_IO_SPACE
70e8c7c482SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
718402a158SManuel Lauss	select SYS_HAS_EARLY_PRINTK
72e8c7c482SRalf Baechle
73e8c7c482SRalf Baechleconfig MIPS_PB1500
74e8c7c482SRalf Baechle	bool "Alchemy PB1500 board"
7537663860SManuel Lauss	select ALCHEMY_GPIOINT_AU1000
76e8c7c482SRalf Baechle	select DMA_NONCOHERENT
77e8c7c482SRalf Baechle	select HW_HAS_PCI
78e8c7c482SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
798402a158SManuel Lauss	select SYS_HAS_EARLY_PRINTK
80e8c7c482SRalf Baechle
81e8c7c482SRalf Baechleconfig MIPS_PB1550
82e8c7c482SRalf Baechle	bool "Alchemy PB1550 board"
8337663860SManuel Lauss	select ALCHEMY_GPIOINT_AU1000
84e8c7c482SRalf Baechle	select DMA_NONCOHERENT
85e8c7c482SRalf Baechle	select HW_HAS_PCI
86e8c7c482SRalf Baechle	select MIPS_DISABLE_OBSOLETE_IDE
87e8c7c482SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
888402a158SManuel Lauss	select SYS_HAS_EARLY_PRINTK
89e8c7c482SRalf Baechle
90e8c7c482SRalf Baechleconfig MIPS_XXS1500
91e8c7c482SRalf Baechle	bool "MyCable XXS1500 board"
92e8c7c482SRalf Baechle	select DMA_NONCOHERENT
9337663860SManuel Lauss	select ALCHEMY_GPIOINT_AU1000
94e8c7c482SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
958402a158SManuel Lauss	select SYS_HAS_EARLY_PRINTK
96e8c7c482SRalf Baechle
97cb8f55b9SWolfgang Grandeggerconfig MIPS_GPR
98cb8f55b9SWolfgang Grandegger	bool "Trapeze ITS GPR board"
9937663860SManuel Lauss	select ALCHEMY_GPIOINT_AU1000
100cb8f55b9SWolfgang Grandegger	select HW_HAS_PCI
101cb8f55b9SWolfgang Grandegger	select DMA_NONCOHERENT
102cb8f55b9SWolfgang Grandegger	select MIPS_DISABLE_OBSOLETE_IDE
103cb8f55b9SWolfgang Grandegger	select SYS_SUPPORTS_LITTLE_ENDIAN
104cb8f55b9SWolfgang Grandegger	select SYS_HAS_EARLY_PRINTK
105cb8f55b9SWolfgang Grandegger
106e8c7c482SRalf Baechleendchoice
107