xref: /openbmc/linux/arch/mips/alchemy/Kconfig (revision 809f36c6)
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
30e8c7c482SRalf Baechle	bool "Alchemy DB1000 board"
3137663860SManuel Lauss	select ALCHEMY_GPIOINT_AU1000
32e8c7c482SRalf Baechle	select DMA_NONCOHERENT
33e8c7c482SRalf Baechle	select HW_HAS_PCI
34e8c7c482SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
358402a158SManuel Lauss	select SYS_HAS_EARLY_PRINTK
36e8c7c482SRalf Baechle
37e8c7c482SRalf Baechleconfig MIPS_DB1100
38e8c7c482SRalf Baechle	bool "Alchemy DB1100 board"
3937663860SManuel Lauss	select ALCHEMY_GPIOINT_AU1000
40e8c7c482SRalf Baechle	select DMA_NONCOHERENT
41e8c7c482SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
428402a158SManuel Lauss	select SYS_HAS_EARLY_PRINTK
43e8c7c482SRalf Baechle
44e8c7c482SRalf Baechleconfig MIPS_DB1200
45e8c7c482SRalf Baechle	bool "Alchemy DB1200 board"
4637663860SManuel Lauss	select ALCHEMY_GPIOINT_AU1000
47e8c7c482SRalf Baechle	select DMA_COHERENT
48e8c7c482SRalf Baechle	select MIPS_DISABLE_OBSOLETE_IDE
49e8c7c482SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
508402a158SManuel Lauss	select SYS_HAS_EARLY_PRINTK
51e8c7c482SRalf Baechle
52e8c7c482SRalf Baechleconfig MIPS_DB1500
53e8c7c482SRalf Baechle	bool "Alchemy DB1500 board"
5437663860SManuel Lauss	select ALCHEMY_GPIOINT_AU1000
55e8c7c482SRalf Baechle	select DMA_NONCOHERENT
56e8c7c482SRalf Baechle	select HW_HAS_PCI
57e8c7c482SRalf Baechle	select MIPS_DISABLE_OBSOLETE_IDE
58e8c7c482SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
59e8c7c482SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
608402a158SManuel Lauss	select SYS_HAS_EARLY_PRINTK
61e8c7c482SRalf Baechle
62e8c7c482SRalf Baechleconfig MIPS_DB1550
63e8c7c482SRalf Baechle	bool "Alchemy DB1550 board"
6437663860SManuel Lauss	select ALCHEMY_GPIOINT_AU1000
65e8c7c482SRalf Baechle	select HW_HAS_PCI
66e8c7c482SRalf Baechle	select DMA_NONCOHERENT
67e8c7c482SRalf Baechle	select MIPS_DISABLE_OBSOLETE_IDE
68e8c7c482SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
698402a158SManuel Lauss	select SYS_HAS_EARLY_PRINTK
70e8c7c482SRalf Baechle
71e8c7c482SRalf Baechleconfig MIPS_PB1100
72e8c7c482SRalf Baechle	bool "Alchemy PB1100 board"
7337663860SManuel Lauss	select ALCHEMY_GPIOINT_AU1000
74e8c7c482SRalf Baechle	select DMA_NONCOHERENT
75e8c7c482SRalf Baechle	select HW_HAS_PCI
76e8c7c482SRalf Baechle	select SWAP_IO_SPACE
77e8c7c482SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
788402a158SManuel Lauss	select SYS_HAS_EARLY_PRINTK
79e8c7c482SRalf Baechle
80e8c7c482SRalf Baechleconfig MIPS_PB1200
81e8c7c482SRalf Baechle	bool "Alchemy PB1200 board"
8237663860SManuel Lauss	select ALCHEMY_GPIOINT_AU1000
83e8c7c482SRalf Baechle	select DMA_NONCOHERENT
84e8c7c482SRalf Baechle	select MIPS_DISABLE_OBSOLETE_IDE
85e8c7c482SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
868402a158SManuel Lauss	select SYS_HAS_EARLY_PRINTK
87e8c7c482SRalf Baechle
88e8c7c482SRalf Baechleconfig MIPS_PB1500
89e8c7c482SRalf Baechle	bool "Alchemy PB1500 board"
9037663860SManuel Lauss	select ALCHEMY_GPIOINT_AU1000
91e8c7c482SRalf Baechle	select DMA_NONCOHERENT
92e8c7c482SRalf Baechle	select HW_HAS_PCI
93e8c7c482SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
948402a158SManuel Lauss	select SYS_HAS_EARLY_PRINTK
95e8c7c482SRalf Baechle
96e8c7c482SRalf Baechleconfig MIPS_PB1550
97e8c7c482SRalf Baechle	bool "Alchemy PB1550 board"
9837663860SManuel Lauss	select ALCHEMY_GPIOINT_AU1000
99e8c7c482SRalf Baechle	select DMA_NONCOHERENT
100e8c7c482SRalf Baechle	select HW_HAS_PCI
101e8c7c482SRalf Baechle	select MIPS_DISABLE_OBSOLETE_IDE
102e8c7c482SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
1038402a158SManuel Lauss	select SYS_HAS_EARLY_PRINTK
104e8c7c482SRalf Baechle
105e8c7c482SRalf Baechleconfig MIPS_XXS1500
106e8c7c482SRalf Baechle	bool "MyCable XXS1500 board"
107e8c7c482SRalf Baechle	select DMA_NONCOHERENT
10837663860SManuel Lauss	select ALCHEMY_GPIOINT_AU1000
109e8c7c482SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
1108402a158SManuel Lauss	select SYS_HAS_EARLY_PRINTK
111e8c7c482SRalf Baechle
112cb8f55b9SWolfgang Grandeggerconfig MIPS_GPR
113cb8f55b9SWolfgang Grandegger	bool "Trapeze ITS GPR board"
11437663860SManuel Lauss	select ALCHEMY_GPIOINT_AU1000
115cb8f55b9SWolfgang Grandegger	select HW_HAS_PCI
116cb8f55b9SWolfgang Grandegger	select DMA_NONCOHERENT
117cb8f55b9SWolfgang Grandegger	select MIPS_DISABLE_OBSOLETE_IDE
118cb8f55b9SWolfgang Grandegger	select SYS_SUPPORTS_LITTLE_ENDIAN
119cb8f55b9SWolfgang Grandegger	select SYS_HAS_EARLY_PRINTK
120cb8f55b9SWolfgang Grandegger
121e8c7c482SRalf Baechleendchoice
122