xref: /openbmc/linux/arch/mips/alchemy/Kconfig (revision 5d400f5c)
15d400f5cSManuel Lauss# au1000-style gpio and interrupt controllers
25d400f5cSManuel Laussconfig ALCHEMY_GPIOINT_AU1000
351e02b02SManuel Lauss	bool
451e02b02SManuel Lauss
551e02b02SManuel Lauss# select this in your board config if you don't want to use the gpio
651e02b02SManuel Lauss# namespace as documented in the manuals.  In this case however you need
751e02b02SManuel Lauss# to create the necessary gpio_* functions in your board code/headers!
851e02b02SManuel Lauss# see arch/mips/include/asm/mach-au1x00/gpio.h   for more information.
951e02b02SManuel Laussconfig ALCHEMY_GPIO_INDIRECT
1051e02b02SManuel Lauss	def_bool n
1151e02b02SManuel Lauss
12e8c7c482SRalf Baechlechoice
13e8c7c482SRalf Baechle	prompt "Machine type"
14e8c7c482SRalf Baechle	depends on MACH_ALCHEMY
15e8c7c482SRalf Baechle	default MIPS_DB1000
16e8c7c482SRalf Baechle
17e8c7c482SRalf Baechleconfig MIPS_MTX1
18e8c7c482SRalf Baechle	bool "4G Systems MTX-1 board"
19e8c7c482SRalf Baechle	select DMA_NONCOHERENT
20e8c7c482SRalf Baechle	select HW_HAS_PCI
21e8c7c482SRalf Baechle	select SOC_AU1500
22e8c7c482SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
238402a158SManuel Lauss	select SYS_HAS_EARLY_PRINTK
24e8c7c482SRalf Baechle
25e8c7c482SRalf Baechleconfig MIPS_BOSPORUS
26e8c7c482SRalf Baechle	bool "Alchemy Bosporus board"
27e8c7c482SRalf Baechle	select SOC_AU1500
28e8c7c482SRalf Baechle	select DMA_NONCOHERENT
29e8c7c482SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
308402a158SManuel Lauss	select SYS_HAS_EARLY_PRINTK
31e8c7c482SRalf Baechle
32e8c7c482SRalf Baechleconfig MIPS_DB1000
33e8c7c482SRalf Baechle	bool "Alchemy DB1000 board"
34e8c7c482SRalf Baechle	select SOC_AU1000
35e8c7c482SRalf Baechle	select DMA_NONCOHERENT
36e8c7c482SRalf Baechle	select HW_HAS_PCI
37e8c7c482SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
388402a158SManuel Lauss	select SYS_HAS_EARLY_PRINTK
39e8c7c482SRalf Baechle
40e8c7c482SRalf Baechleconfig MIPS_DB1100
41e8c7c482SRalf Baechle	bool "Alchemy DB1100 board"
42e8c7c482SRalf Baechle	select SOC_AU1100
43e8c7c482SRalf Baechle	select DMA_NONCOHERENT
44e8c7c482SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
458402a158SManuel Lauss	select SYS_HAS_EARLY_PRINTK
46e8c7c482SRalf Baechle
47e8c7c482SRalf Baechleconfig MIPS_DB1200
48e8c7c482SRalf Baechle	bool "Alchemy DB1200 board"
49e8c7c482SRalf Baechle	select SOC_AU1200
50e8c7c482SRalf Baechle	select DMA_COHERENT
51e8c7c482SRalf Baechle	select MIPS_DISABLE_OBSOLETE_IDE
52e8c7c482SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
538402a158SManuel Lauss	select SYS_HAS_EARLY_PRINTK
54e8c7c482SRalf Baechle
55e8c7c482SRalf Baechleconfig MIPS_DB1500
56e8c7c482SRalf Baechle	bool "Alchemy DB1500 board"
57e8c7c482SRalf Baechle	select SOC_AU1500
58e8c7c482SRalf Baechle	select DMA_NONCOHERENT
59e8c7c482SRalf Baechle	select HW_HAS_PCI
60e8c7c482SRalf Baechle	select MIPS_DISABLE_OBSOLETE_IDE
61e8c7c482SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
62e8c7c482SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
638402a158SManuel Lauss	select SYS_HAS_EARLY_PRINTK
64e8c7c482SRalf Baechle
65e8c7c482SRalf Baechleconfig MIPS_DB1550
66e8c7c482SRalf Baechle	bool "Alchemy DB1550 board"
67e8c7c482SRalf Baechle	select SOC_AU1550
68e8c7c482SRalf Baechle	select HW_HAS_PCI
69e8c7c482SRalf Baechle	select DMA_NONCOHERENT
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_MIRAGE
75e8c7c482SRalf Baechle	bool "Alchemy Mirage board"
76e8c7c482SRalf Baechle	select DMA_NONCOHERENT
77e8c7c482SRalf Baechle	select SOC_AU1500
78e8c7c482SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
798402a158SManuel Lauss	select SYS_HAS_EARLY_PRINTK
80e8c7c482SRalf Baechle
81e8c7c482SRalf Baechleconfig MIPS_PB1000
82e8c7c482SRalf Baechle	bool "Alchemy PB1000 board"
83e8c7c482SRalf Baechle	select SOC_AU1000
84e8c7c482SRalf Baechle	select DMA_NONCOHERENT
85e8c7c482SRalf Baechle	select HW_HAS_PCI
86e8c7c482SRalf Baechle	select SWAP_IO_SPACE
87e8c7c482SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
888402a158SManuel Lauss	select SYS_HAS_EARLY_PRINTK
89e8c7c482SRalf Baechle
90e8c7c482SRalf Baechleconfig MIPS_PB1100
91e8c7c482SRalf Baechle	bool "Alchemy PB1100 board"
92e8c7c482SRalf Baechle	select SOC_AU1100
93e8c7c482SRalf Baechle	select DMA_NONCOHERENT
94e8c7c482SRalf Baechle	select HW_HAS_PCI
95e8c7c482SRalf Baechle	select SWAP_IO_SPACE
96e8c7c482SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
978402a158SManuel Lauss	select SYS_HAS_EARLY_PRINTK
98e8c7c482SRalf Baechle
99e8c7c482SRalf Baechleconfig MIPS_PB1200
100e8c7c482SRalf Baechle	bool "Alchemy PB1200 board"
101e8c7c482SRalf Baechle	select SOC_AU1200
102e8c7c482SRalf Baechle	select DMA_NONCOHERENT
103e8c7c482SRalf Baechle	select MIPS_DISABLE_OBSOLETE_IDE
104e8c7c482SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
1058402a158SManuel Lauss	select SYS_HAS_EARLY_PRINTK
106e8c7c482SRalf Baechle
107e8c7c482SRalf Baechleconfig MIPS_PB1500
108e8c7c482SRalf Baechle	bool "Alchemy PB1500 board"
109e8c7c482SRalf Baechle	select SOC_AU1500
110e8c7c482SRalf Baechle	select DMA_NONCOHERENT
111e8c7c482SRalf Baechle	select HW_HAS_PCI
112e8c7c482SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
1138402a158SManuel Lauss	select SYS_HAS_EARLY_PRINTK
114e8c7c482SRalf Baechle
115e8c7c482SRalf Baechleconfig MIPS_PB1550
116e8c7c482SRalf Baechle	bool "Alchemy PB1550 board"
117e8c7c482SRalf Baechle	select SOC_AU1550
118e8c7c482SRalf Baechle	select DMA_NONCOHERENT
119e8c7c482SRalf Baechle	select HW_HAS_PCI
120e8c7c482SRalf Baechle	select MIPS_DISABLE_OBSOLETE_IDE
121e8c7c482SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
1228402a158SManuel Lauss	select SYS_HAS_EARLY_PRINTK
123e8c7c482SRalf Baechle
124e8c7c482SRalf Baechleconfig MIPS_XXS1500
125e8c7c482SRalf Baechle	bool "MyCable XXS1500 board"
126e8c7c482SRalf Baechle	select DMA_NONCOHERENT
127e8c7c482SRalf Baechle	select SOC_AU1500
128e8c7c482SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
1298402a158SManuel Lauss	select SYS_HAS_EARLY_PRINTK
130e8c7c482SRalf Baechle
131e8c7c482SRalf Baechleendchoice
132e8c7c482SRalf Baechle
133e8c7c482SRalf Baechleconfig SOC_AU1000
134e8c7c482SRalf Baechle	bool
135e8c7c482SRalf Baechle	select SOC_AU1X00
1365d400f5cSManuel Lauss	select ALCHEMY_GPIOINT_AU1000
137e8c7c482SRalf Baechle
138e8c7c482SRalf Baechleconfig SOC_AU1100
139e8c7c482SRalf Baechle	bool
140e8c7c482SRalf Baechle	select SOC_AU1X00
1415d400f5cSManuel Lauss	select ALCHEMY_GPIOINT_AU1000
142e8c7c482SRalf Baechle
143e8c7c482SRalf Baechleconfig SOC_AU1500
144e8c7c482SRalf Baechle	bool
145e8c7c482SRalf Baechle	select SOC_AU1X00
1465d400f5cSManuel Lauss	select ALCHEMY_GPIOINT_AU1000
147e8c7c482SRalf Baechle
148e8c7c482SRalf Baechleconfig SOC_AU1550
149e8c7c482SRalf Baechle	bool
150e8c7c482SRalf Baechle	select SOC_AU1X00
1515d400f5cSManuel Lauss	select ALCHEMY_GPIOINT_AU1000
152e8c7c482SRalf Baechle
153e8c7c482SRalf Baechleconfig SOC_AU1200
154e8c7c482SRalf Baechle	bool
155e8c7c482SRalf Baechle	select SOC_AU1X00
1565d400f5cSManuel Lauss	select ALCHEMY_GPIOINT_AU1000
157e8c7c482SRalf Baechle
158e8c7c482SRalf Baechleconfig SOC_AU1X00
159e8c7c482SRalf Baechle	bool
160e8c7c482SRalf Baechle	select 64BIT_PHYS_ADDR
1610c694de1SManuel Lauss	select CEVT_R4K_LIB
1620c694de1SManuel Lauss	select CSRC_R4K_LIB
163e8c7c482SRalf Baechle	select IRQ_CPU
164e8c7c482SRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
165e8c7c482SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
166e8c7c482SRalf Baechle	select SYS_SUPPORTS_APM_EMULATION
16751e02b02SManuel Lauss	select GENERIC_GPIO
16851e02b02SManuel Lauss	select ARCH_WANT_OPTIONAL_GPIOLIB
169