1# au1000-style gpio and interrupt controllers
2config ALCHEMY_GPIOINT_AU1000
3	bool
4
5# select this in your board config if you don't want to use the gpio
6# namespace as documented in the manuals.  In this case however you need
7# to create the necessary gpio_* functions in your board code/headers!
8# see arch/mips/include/asm/mach-au1x00/gpio.h   for more information.
9config ALCHEMY_GPIO_INDIRECT
10	def_bool n
11
12choice
13	prompt "Machine type"
14	depends on MIPS_ALCHEMY
15	default MIPS_DB1000
16
17config MIPS_MTX1
18	bool "4G Systems MTX-1 board"
19	select DMA_NONCOHERENT
20	select HW_HAS_PCI
21	select SOC_AU1500
22	select SYS_SUPPORTS_LITTLE_ENDIAN
23	select SYS_HAS_EARLY_PRINTK
24
25config MIPS_BOSPORUS
26	bool "Alchemy Bosporus board"
27	select SOC_AU1500
28	select DMA_NONCOHERENT
29	select SYS_SUPPORTS_LITTLE_ENDIAN
30	select SYS_HAS_EARLY_PRINTK
31
32config MIPS_DB1000
33	bool "Alchemy DB1000 board"
34	select SOC_AU1000
35	select DMA_NONCOHERENT
36	select HW_HAS_PCI
37	select SYS_SUPPORTS_LITTLE_ENDIAN
38	select SYS_HAS_EARLY_PRINTK
39
40config MIPS_DB1100
41	bool "Alchemy DB1100 board"
42	select SOC_AU1100
43	select DMA_NONCOHERENT
44	select SYS_SUPPORTS_LITTLE_ENDIAN
45	select SYS_HAS_EARLY_PRINTK
46
47config MIPS_DB1200
48	bool "Alchemy DB1200 board"
49	select SOC_AU1200
50	select DMA_COHERENT
51	select MIPS_DISABLE_OBSOLETE_IDE
52	select SYS_SUPPORTS_LITTLE_ENDIAN
53	select SYS_HAS_EARLY_PRINTK
54
55config MIPS_DB1500
56	bool "Alchemy DB1500 board"
57	select SOC_AU1500
58	select DMA_NONCOHERENT
59	select HW_HAS_PCI
60	select MIPS_DISABLE_OBSOLETE_IDE
61	select SYS_SUPPORTS_BIG_ENDIAN
62	select SYS_SUPPORTS_LITTLE_ENDIAN
63	select SYS_HAS_EARLY_PRINTK
64
65config MIPS_DB1550
66	bool "Alchemy DB1550 board"
67	select SOC_AU1550
68	select HW_HAS_PCI
69	select DMA_NONCOHERENT
70	select MIPS_DISABLE_OBSOLETE_IDE
71	select SYS_SUPPORTS_LITTLE_ENDIAN
72	select SYS_HAS_EARLY_PRINTK
73
74config MIPS_MIRAGE
75	bool "Alchemy Mirage board"
76	select DMA_NONCOHERENT
77	select SOC_AU1500
78	select SYS_SUPPORTS_LITTLE_ENDIAN
79	select SYS_HAS_EARLY_PRINTK
80
81config MIPS_PB1000
82	bool "Alchemy PB1000 board"
83	select SOC_AU1000
84	select DMA_NONCOHERENT
85	select HW_HAS_PCI
86	select SWAP_IO_SPACE
87	select SYS_SUPPORTS_LITTLE_ENDIAN
88	select SYS_HAS_EARLY_PRINTK
89
90config MIPS_PB1100
91	bool "Alchemy PB1100 board"
92	select SOC_AU1100
93	select DMA_NONCOHERENT
94	select HW_HAS_PCI
95	select SWAP_IO_SPACE
96	select SYS_SUPPORTS_LITTLE_ENDIAN
97	select SYS_HAS_EARLY_PRINTK
98
99config MIPS_PB1200
100	bool "Alchemy PB1200 board"
101	select SOC_AU1200
102	select DMA_NONCOHERENT
103	select MIPS_DISABLE_OBSOLETE_IDE
104	select SYS_SUPPORTS_LITTLE_ENDIAN
105	select SYS_HAS_EARLY_PRINTK
106
107config MIPS_PB1500
108	bool "Alchemy PB1500 board"
109	select SOC_AU1500
110	select DMA_NONCOHERENT
111	select HW_HAS_PCI
112	select SYS_SUPPORTS_LITTLE_ENDIAN
113	select SYS_HAS_EARLY_PRINTK
114
115config MIPS_PB1550
116	bool "Alchemy PB1550 board"
117	select SOC_AU1550
118	select DMA_NONCOHERENT
119	select HW_HAS_PCI
120	select MIPS_DISABLE_OBSOLETE_IDE
121	select SYS_SUPPORTS_LITTLE_ENDIAN
122	select SYS_HAS_EARLY_PRINTK
123
124config MIPS_XXS1500
125	bool "MyCable XXS1500 board"
126	select DMA_NONCOHERENT
127	select SOC_AU1500
128	select SYS_SUPPORTS_LITTLE_ENDIAN
129	select SYS_HAS_EARLY_PRINTK
130
131config MIPS_GPR
132	bool "Trapeze ITS GPR board"
133	select SOC_AU1550
134	select HW_HAS_PCI
135	select DMA_NONCOHERENT
136	select MIPS_DISABLE_OBSOLETE_IDE
137	select SYS_SUPPORTS_LITTLE_ENDIAN
138	select SYS_HAS_EARLY_PRINTK
139
140endchoice
141
142config SOC_AU1000
143	bool
144	select ALCHEMY_GPIOINT_AU1000
145
146config SOC_AU1100
147	bool
148	select ALCHEMY_GPIOINT_AU1000
149
150config SOC_AU1500
151	bool
152	select ALCHEMY_GPIOINT_AU1000
153
154config SOC_AU1550
155	bool
156	select ALCHEMY_GPIOINT_AU1000
157
158config SOC_AU1200
159	bool
160	select ALCHEMY_GPIOINT_AU1000
161