xref: /openbmc/linux/arch/mips/alchemy/Kconfig (revision 64cd04d0)
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
5264cd04d0SManuel Laussconfig MIPS_DB1300
5364cd04d0SManuel Lauss	bool "NetLogic DB1300 board"
5464cd04d0SManuel Lauss	select ALCHEMY_GPIOINT_AU1300
5564cd04d0SManuel Lauss	select DMA_COHERENT
5664cd04d0SManuel Lauss	select MIPS_DISABLE_OBSOLETE_IDE
5764cd04d0SManuel Lauss	select SYS_SUPPORTS_LITTLE_ENDIAN
5864cd04d0SManuel Lauss	select SYS_HAS_EARLY_PRINTK
5964cd04d0SManuel Lauss
60e8c7c482SRalf Baechleconfig MIPS_DB1500
61e8c7c482SRalf Baechle	bool "Alchemy DB1500 board"
6237663860SManuel Lauss	select ALCHEMY_GPIOINT_AU1000
63e8c7c482SRalf Baechle	select DMA_NONCOHERENT
64e8c7c482SRalf Baechle	select HW_HAS_PCI
65e8c7c482SRalf Baechle	select MIPS_DISABLE_OBSOLETE_IDE
66e8c7c482SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
67e8c7c482SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
688402a158SManuel Lauss	select SYS_HAS_EARLY_PRINTK
69e8c7c482SRalf Baechle
70e8c7c482SRalf Baechleconfig MIPS_DB1550
71e8c7c482SRalf Baechle	bool "Alchemy DB1550 board"
7237663860SManuel Lauss	select ALCHEMY_GPIOINT_AU1000
73e8c7c482SRalf Baechle	select HW_HAS_PCI
74e8c7c482SRalf Baechle	select DMA_NONCOHERENT
75e8c7c482SRalf Baechle	select MIPS_DISABLE_OBSOLETE_IDE
76e8c7c482SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
778402a158SManuel Lauss	select SYS_HAS_EARLY_PRINTK
78e8c7c482SRalf Baechle
79e8c7c482SRalf Baechleconfig MIPS_PB1100
80e8c7c482SRalf Baechle	bool "Alchemy PB1100 board"
8137663860SManuel Lauss	select ALCHEMY_GPIOINT_AU1000
82e8c7c482SRalf Baechle	select DMA_NONCOHERENT
83e8c7c482SRalf Baechle	select HW_HAS_PCI
84e8c7c482SRalf Baechle	select SWAP_IO_SPACE
85e8c7c482SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
868402a158SManuel Lauss	select SYS_HAS_EARLY_PRINTK
87e8c7c482SRalf Baechle
88e8c7c482SRalf Baechleconfig MIPS_PB1200
89e8c7c482SRalf Baechle	bool "Alchemy PB1200 board"
9037663860SManuel Lauss	select ALCHEMY_GPIOINT_AU1000
91e8c7c482SRalf Baechle	select DMA_NONCOHERENT
92e8c7c482SRalf Baechle	select MIPS_DISABLE_OBSOLETE_IDE
93e8c7c482SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
948402a158SManuel Lauss	select SYS_HAS_EARLY_PRINTK
95e8c7c482SRalf Baechle
96e8c7c482SRalf Baechleconfig MIPS_PB1500
97e8c7c482SRalf Baechle	bool "Alchemy PB1500 board"
9837663860SManuel Lauss	select ALCHEMY_GPIOINT_AU1000
99e8c7c482SRalf Baechle	select DMA_NONCOHERENT
100e8c7c482SRalf Baechle	select HW_HAS_PCI
101e8c7c482SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
1028402a158SManuel Lauss	select SYS_HAS_EARLY_PRINTK
103e8c7c482SRalf Baechle
104e8c7c482SRalf Baechleconfig MIPS_PB1550
105e8c7c482SRalf Baechle	bool "Alchemy PB1550 board"
10637663860SManuel Lauss	select ALCHEMY_GPIOINT_AU1000
107e8c7c482SRalf Baechle	select DMA_NONCOHERENT
108e8c7c482SRalf Baechle	select HW_HAS_PCI
109e8c7c482SRalf Baechle	select MIPS_DISABLE_OBSOLETE_IDE
110e8c7c482SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
1118402a158SManuel Lauss	select SYS_HAS_EARLY_PRINTK
112e8c7c482SRalf Baechle
113e8c7c482SRalf Baechleconfig MIPS_XXS1500
114e8c7c482SRalf Baechle	bool "MyCable XXS1500 board"
115e8c7c482SRalf Baechle	select DMA_NONCOHERENT
11637663860SManuel Lauss	select ALCHEMY_GPIOINT_AU1000
117e8c7c482SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
1188402a158SManuel Lauss	select SYS_HAS_EARLY_PRINTK
119e8c7c482SRalf Baechle
120cb8f55b9SWolfgang Grandeggerconfig MIPS_GPR
121cb8f55b9SWolfgang Grandegger	bool "Trapeze ITS GPR board"
12237663860SManuel Lauss	select ALCHEMY_GPIOINT_AU1000
123cb8f55b9SWolfgang Grandegger	select HW_HAS_PCI
124cb8f55b9SWolfgang Grandegger	select DMA_NONCOHERENT
125cb8f55b9SWolfgang Grandegger	select MIPS_DISABLE_OBSOLETE_IDE
126cb8f55b9SWolfgang Grandegger	select SYS_SUPPORTS_LITTLE_ENDIAN
127cb8f55b9SWolfgang Grandegger	select SYS_HAS_EARLY_PRINTK
128cb8f55b9SWolfgang Grandegger
129e8c7c482SRalf Baechleendchoice
130