blob: df3b1a7eb15d98b7d5643ee940aef5a90d04bd9a [file] [log] [blame]
Manuel Lauss5d400f52009-11-23 20:40:01 +01001# au1000-style gpio and interrupt controllers
2config ALCHEMY_GPIOINT_AU1000
Manuel Lauss51e02b02009-06-06 14:09:55 +02003 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
Yoichi Yuasac3543e22007-05-11 20:44:30 +090012choice
13 prompt "Machine type"
14 depends on MACH_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
Yoichi Yuasac3543e22007-05-11 20:44:30 +090021 select SOC_AU1500
22 select SYS_SUPPORTS_LITTLE_ENDIAN
Manuel Lauss8402a152009-10-15 18:49:27 +020023 select SYS_HAS_EARLY_PRINTK
Yoichi Yuasac3543e22007-05-11 20:44:30 +090024
25config MIPS_BOSPORUS
26 bool "Alchemy Bosporus board"
27 select SOC_AU1500
28 select DMA_NONCOHERENT
29 select SYS_SUPPORTS_LITTLE_ENDIAN
Manuel Lauss8402a152009-10-15 18:49:27 +020030 select SYS_HAS_EARLY_PRINTK
Yoichi Yuasac3543e22007-05-11 20:44:30 +090031
32config MIPS_DB1000
33 bool "Alchemy DB1000 board"
34 select SOC_AU1000
35 select DMA_NONCOHERENT
36 select HW_HAS_PCI
Yoichi Yuasac3543e22007-05-11 20:44:30 +090037 select SYS_SUPPORTS_LITTLE_ENDIAN
Manuel Lauss8402a152009-10-15 18:49:27 +020038 select SYS_HAS_EARLY_PRINTK
Yoichi Yuasac3543e22007-05-11 20:44:30 +090039
40config MIPS_DB1100
41 bool "Alchemy DB1100 board"
42 select SOC_AU1100
43 select DMA_NONCOHERENT
44 select SYS_SUPPORTS_LITTLE_ENDIAN
Manuel Lauss8402a152009-10-15 18:49:27 +020045 select SYS_HAS_EARLY_PRINTK
Yoichi Yuasac3543e22007-05-11 20:44:30 +090046
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
Manuel Lauss8402a152009-10-15 18:49:27 +020053 select SYS_HAS_EARLY_PRINTK
Yoichi Yuasac3543e22007-05-11 20:44:30 +090054
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
Yoichi Yuasac3543e22007-05-11 20:44:30 +090061 select SYS_SUPPORTS_BIG_ENDIAN
62 select SYS_SUPPORTS_LITTLE_ENDIAN
Manuel Lauss8402a152009-10-15 18:49:27 +020063 select SYS_HAS_EARLY_PRINTK
Yoichi Yuasac3543e22007-05-11 20:44:30 +090064
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
Yoichi Yuasac3543e22007-05-11 20:44:30 +090071 select SYS_SUPPORTS_LITTLE_ENDIAN
Manuel Lauss8402a152009-10-15 18:49:27 +020072 select SYS_HAS_EARLY_PRINTK
Yoichi Yuasac3543e22007-05-11 20:44:30 +090073
74config MIPS_MIRAGE
75 bool "Alchemy Mirage board"
76 select DMA_NONCOHERENT
77 select SOC_AU1500
78 select SYS_SUPPORTS_LITTLE_ENDIAN
Manuel Lauss8402a152009-10-15 18:49:27 +020079 select SYS_HAS_EARLY_PRINTK
Yoichi Yuasac3543e22007-05-11 20:44:30 +090080
81config MIPS_PB1000
82 bool "Alchemy PB1000 board"
83 select SOC_AU1000
84 select DMA_NONCOHERENT
85 select HW_HAS_PCI
Yoichi Yuasac3543e22007-05-11 20:44:30 +090086 select SWAP_IO_SPACE
87 select SYS_SUPPORTS_LITTLE_ENDIAN
Manuel Lauss8402a152009-10-15 18:49:27 +020088 select SYS_HAS_EARLY_PRINTK
Yoichi Yuasac3543e22007-05-11 20:44:30 +090089
90config MIPS_PB1100
91 bool "Alchemy PB1100 board"
92 select SOC_AU1100
93 select DMA_NONCOHERENT
94 select HW_HAS_PCI
Yoichi Yuasac3543e22007-05-11 20:44:30 +090095 select SWAP_IO_SPACE
96 select SYS_SUPPORTS_LITTLE_ENDIAN
Manuel Lauss8402a152009-10-15 18:49:27 +020097 select SYS_HAS_EARLY_PRINTK
Yoichi Yuasac3543e22007-05-11 20:44:30 +090098
99config MIPS_PB1200
100 bool "Alchemy PB1200 board"
101 select SOC_AU1200
102 select DMA_NONCOHERENT
103 select MIPS_DISABLE_OBSOLETE_IDE
Yoichi Yuasac3543e22007-05-11 20:44:30 +0900104 select SYS_SUPPORTS_LITTLE_ENDIAN
Manuel Lauss8402a152009-10-15 18:49:27 +0200105 select SYS_HAS_EARLY_PRINTK
Yoichi Yuasac3543e22007-05-11 20:44:30 +0900106
107config MIPS_PB1500
108 bool "Alchemy PB1500 board"
109 select SOC_AU1500
110 select DMA_NONCOHERENT
111 select HW_HAS_PCI
Yoichi Yuasac3543e22007-05-11 20:44:30 +0900112 select SYS_SUPPORTS_LITTLE_ENDIAN
Manuel Lauss8402a152009-10-15 18:49:27 +0200113 select SYS_HAS_EARLY_PRINTK
Yoichi Yuasac3543e22007-05-11 20:44:30 +0900114
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
Yoichi Yuasac3543e22007-05-11 20:44:30 +0900121 select SYS_SUPPORTS_LITTLE_ENDIAN
Manuel Lauss8402a152009-10-15 18:49:27 +0200122 select SYS_HAS_EARLY_PRINTK
Yoichi Yuasac3543e22007-05-11 20:44:30 +0900123
124config MIPS_XXS1500
125 bool "MyCable XXS1500 board"
126 select DMA_NONCOHERENT
127 select SOC_AU1500
128 select SYS_SUPPORTS_LITTLE_ENDIAN
Manuel Lauss8402a152009-10-15 18:49:27 +0200129 select SYS_HAS_EARLY_PRINTK
Yoichi Yuasac3543e22007-05-11 20:44:30 +0900130
131endchoice
132
133config SOC_AU1000
134 bool
135 select SOC_AU1X00
Manuel Lauss5d400f52009-11-23 20:40:01 +0100136 select ALCHEMY_GPIOINT_AU1000
Yoichi Yuasac3543e22007-05-11 20:44:30 +0900137
138config SOC_AU1100
139 bool
140 select SOC_AU1X00
Manuel Lauss5d400f52009-11-23 20:40:01 +0100141 select ALCHEMY_GPIOINT_AU1000
Yoichi Yuasac3543e22007-05-11 20:44:30 +0900142
143config SOC_AU1500
144 bool
145 select SOC_AU1X00
Manuel Lauss5d400f52009-11-23 20:40:01 +0100146 select ALCHEMY_GPIOINT_AU1000
Yoichi Yuasac3543e22007-05-11 20:44:30 +0900147
148config SOC_AU1550
149 bool
150 select SOC_AU1X00
Manuel Lauss5d400f52009-11-23 20:40:01 +0100151 select ALCHEMY_GPIOINT_AU1000
Yoichi Yuasac3543e22007-05-11 20:44:30 +0900152
153config SOC_AU1200
154 bool
155 select SOC_AU1X00
Manuel Lauss5d400f52009-11-23 20:40:01 +0100156 select ALCHEMY_GPIOINT_AU1000
Yoichi Yuasac3543e22007-05-11 20:44:30 +0900157
158config SOC_AU1X00
159 bool
Ralf Baechled806cb22007-08-02 00:36:08 +0100160 select 64BIT_PHYS_ADDR
Manuel Lauss0c694de2008-12-21 09:26:23 +0100161 select CEVT_R4K_LIB
162 select CSRC_R4K_LIB
Ralf Baechlef3e8d1d2007-10-17 10:58:43 +0100163 select IRQ_CPU
Yoichi Yuasac3543e22007-05-11 20:44:30 +0900164 select SYS_HAS_CPU_MIPS32_R1
165 select SYS_SUPPORTS_32BIT_KERNEL
166 select SYS_SUPPORTS_APM_EMULATION
Manuel Lauss51e02b02009-06-06 14:09:55 +0200167 select GENERIC_GPIO
168 select ARCH_WANT_OPTIONAL_GPIOLIB