xref: /openbmc/linux/arch/mips/alchemy/Kconfig (revision 51e02b02)
151e02b02SManuel Lauss# au1000-style gpio
251e02b02SManuel Laussconfig ALCHEMY_GPIO_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
23e8c7c482SRalf Baechle
24e8c7c482SRalf Baechleconfig MIPS_BOSPORUS
25e8c7c482SRalf Baechle	bool "Alchemy Bosporus board"
26e8c7c482SRalf Baechle	select SOC_AU1500
27e8c7c482SRalf Baechle	select DMA_NONCOHERENT
28e8c7c482SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
29e8c7c482SRalf Baechle
30e8c7c482SRalf Baechleconfig MIPS_DB1000
31e8c7c482SRalf Baechle	bool "Alchemy DB1000 board"
32e8c7c482SRalf Baechle	select SOC_AU1000
33e8c7c482SRalf Baechle	select DMA_NONCOHERENT
34e8c7c482SRalf Baechle	select HW_HAS_PCI
35e8c7c482SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
36e8c7c482SRalf Baechle
37e8c7c482SRalf Baechleconfig MIPS_DB1100
38e8c7c482SRalf Baechle	bool "Alchemy DB1100 board"
39e8c7c482SRalf Baechle	select SOC_AU1100
40e8c7c482SRalf Baechle	select DMA_NONCOHERENT
41e8c7c482SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
42e8c7c482SRalf Baechle
43e8c7c482SRalf Baechleconfig MIPS_DB1200
44e8c7c482SRalf Baechle	bool "Alchemy DB1200 board"
45e8c7c482SRalf Baechle	select SOC_AU1200
46e8c7c482SRalf Baechle	select DMA_COHERENT
47e8c7c482SRalf Baechle	select MIPS_DISABLE_OBSOLETE_IDE
48e8c7c482SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
49e8c7c482SRalf Baechle
50e8c7c482SRalf Baechleconfig MIPS_DB1500
51e8c7c482SRalf Baechle	bool "Alchemy DB1500 board"
52e8c7c482SRalf Baechle	select SOC_AU1500
53e8c7c482SRalf Baechle	select DMA_NONCOHERENT
54e8c7c482SRalf Baechle	select HW_HAS_PCI
55e8c7c482SRalf Baechle	select MIPS_DISABLE_OBSOLETE_IDE
56e8c7c482SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
57e8c7c482SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
58e8c7c482SRalf Baechle
59e8c7c482SRalf Baechleconfig MIPS_DB1550
60e8c7c482SRalf Baechle	bool "Alchemy DB1550 board"
61e8c7c482SRalf Baechle	select SOC_AU1550
62e8c7c482SRalf Baechle	select HW_HAS_PCI
63e8c7c482SRalf Baechle	select DMA_NONCOHERENT
64e8c7c482SRalf Baechle	select MIPS_DISABLE_OBSOLETE_IDE
65e8c7c482SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
66e8c7c482SRalf Baechle
67e8c7c482SRalf Baechleconfig MIPS_MIRAGE
68e8c7c482SRalf Baechle	bool "Alchemy Mirage board"
69e8c7c482SRalf Baechle	select DMA_NONCOHERENT
70e8c7c482SRalf Baechle	select SOC_AU1500
71e8c7c482SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
72e8c7c482SRalf Baechle
73e8c7c482SRalf Baechleconfig MIPS_PB1000
74e8c7c482SRalf Baechle	bool "Alchemy PB1000 board"
75e8c7c482SRalf Baechle	select SOC_AU1000
76e8c7c482SRalf Baechle	select DMA_NONCOHERENT
77e8c7c482SRalf Baechle	select HW_HAS_PCI
78e8c7c482SRalf Baechle	select SWAP_IO_SPACE
79e8c7c482SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
80e8c7c482SRalf Baechle
81e8c7c482SRalf Baechleconfig MIPS_PB1100
82e8c7c482SRalf Baechle	bool "Alchemy PB1100 board"
83e8c7c482SRalf Baechle	select SOC_AU1100
84e8c7c482SRalf Baechle	select DMA_NONCOHERENT
85e8c7c482SRalf Baechle	select HW_HAS_PCI
86e8c7c482SRalf Baechle	select SWAP_IO_SPACE
87e8c7c482SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
88e8c7c482SRalf Baechle
89e8c7c482SRalf Baechleconfig MIPS_PB1200
90e8c7c482SRalf Baechle	bool "Alchemy PB1200 board"
91e8c7c482SRalf Baechle	select SOC_AU1200
92e8c7c482SRalf Baechle	select DMA_NONCOHERENT
93e8c7c482SRalf Baechle	select MIPS_DISABLE_OBSOLETE_IDE
94e8c7c482SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
95e8c7c482SRalf Baechle
96e8c7c482SRalf Baechleconfig MIPS_PB1500
97e8c7c482SRalf Baechle	bool "Alchemy PB1500 board"
98e8c7c482SRalf Baechle	select SOC_AU1500
99e8c7c482SRalf Baechle	select DMA_NONCOHERENT
100e8c7c482SRalf Baechle	select HW_HAS_PCI
101e8c7c482SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
102e8c7c482SRalf Baechle
103e8c7c482SRalf Baechleconfig MIPS_PB1550
104e8c7c482SRalf Baechle	bool "Alchemy PB1550 board"
105e8c7c482SRalf Baechle	select SOC_AU1550
106e8c7c482SRalf Baechle	select DMA_NONCOHERENT
107e8c7c482SRalf Baechle	select HW_HAS_PCI
108e8c7c482SRalf Baechle	select MIPS_DISABLE_OBSOLETE_IDE
109e8c7c482SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
110e8c7c482SRalf Baechle
111e8c7c482SRalf Baechleconfig MIPS_XXS1500
112e8c7c482SRalf Baechle	bool "MyCable XXS1500 board"
113e8c7c482SRalf Baechle	select DMA_NONCOHERENT
114e8c7c482SRalf Baechle	select SOC_AU1500
115e8c7c482SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
116e8c7c482SRalf Baechle
117e8c7c482SRalf Baechleendchoice
118e8c7c482SRalf Baechle
119e8c7c482SRalf Baechleconfig SOC_AU1000
120e8c7c482SRalf Baechle	bool
121e8c7c482SRalf Baechle	select SOC_AU1X00
12251e02b02SManuel Lauss	select ALCHEMY_GPIO_AU1000
123e8c7c482SRalf Baechle
124e8c7c482SRalf Baechleconfig SOC_AU1100
125e8c7c482SRalf Baechle	bool
126e8c7c482SRalf Baechle	select SOC_AU1X00
12751e02b02SManuel Lauss	select ALCHEMY_GPIO_AU1000
128e8c7c482SRalf Baechle
129e8c7c482SRalf Baechleconfig SOC_AU1500
130e8c7c482SRalf Baechle	bool
131e8c7c482SRalf Baechle	select SOC_AU1X00
13251e02b02SManuel Lauss	select ALCHEMY_GPIO_AU1000
133e8c7c482SRalf Baechle
134e8c7c482SRalf Baechleconfig SOC_AU1550
135e8c7c482SRalf Baechle	bool
136e8c7c482SRalf Baechle	select SOC_AU1X00
13751e02b02SManuel Lauss	select ALCHEMY_GPIO_AU1000
138e8c7c482SRalf Baechle
139e8c7c482SRalf Baechleconfig SOC_AU1200
140e8c7c482SRalf Baechle	bool
141e8c7c482SRalf Baechle	select SOC_AU1X00
14251e02b02SManuel Lauss	select ALCHEMY_GPIO_AU1000
143e8c7c482SRalf Baechle
144e8c7c482SRalf Baechleconfig SOC_AU1X00
145e8c7c482SRalf Baechle	bool
146e8c7c482SRalf Baechle	select 64BIT_PHYS_ADDR
1470c694de1SManuel Lauss	select CEVT_R4K_LIB
1480c694de1SManuel Lauss	select CSRC_R4K_LIB
149e8c7c482SRalf Baechle	select IRQ_CPU
150e8c7c482SRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
151e8c7c482SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
152e8c7c482SRalf Baechle	select SYS_SUPPORTS_APM_EMULATION
15351e02b02SManuel Lauss	select GENERIC_GPIO
15451e02b02SManuel Lauss	select ARCH_WANT_OPTIONAL_GPIOLIB
155