blob: 00b498e97c831b193c60f02ef5865ebe9e12ee82 [file] [log] [blame]
Manuel Lauss51e02b02009-06-06 14:09:55 +02001# au1000-style gpio
2config ALCHEMY_GPIO_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
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
23
24config MIPS_BOSPORUS
25 bool "Alchemy Bosporus board"
26 select SOC_AU1500
27 select DMA_NONCOHERENT
28 select SYS_SUPPORTS_LITTLE_ENDIAN
29
30config MIPS_DB1000
31 bool "Alchemy DB1000 board"
32 select SOC_AU1000
33 select DMA_NONCOHERENT
34 select HW_HAS_PCI
Yoichi Yuasac3543e22007-05-11 20:44:30 +090035 select SYS_SUPPORTS_LITTLE_ENDIAN
36
37config MIPS_DB1100
38 bool "Alchemy DB1100 board"
39 select SOC_AU1100
40 select DMA_NONCOHERENT
41 select SYS_SUPPORTS_LITTLE_ENDIAN
42
43config MIPS_DB1200
44 bool "Alchemy DB1200 board"
45 select SOC_AU1200
46 select DMA_COHERENT
47 select MIPS_DISABLE_OBSOLETE_IDE
48 select SYS_SUPPORTS_LITTLE_ENDIAN
49
50config MIPS_DB1500
51 bool "Alchemy DB1500 board"
52 select SOC_AU1500
53 select DMA_NONCOHERENT
54 select HW_HAS_PCI
55 select MIPS_DISABLE_OBSOLETE_IDE
Yoichi Yuasac3543e22007-05-11 20:44:30 +090056 select SYS_SUPPORTS_BIG_ENDIAN
57 select SYS_SUPPORTS_LITTLE_ENDIAN
58
59config MIPS_DB1550
60 bool "Alchemy DB1550 board"
61 select SOC_AU1550
62 select HW_HAS_PCI
63 select DMA_NONCOHERENT
64 select MIPS_DISABLE_OBSOLETE_IDE
Yoichi Yuasac3543e22007-05-11 20:44:30 +090065 select SYS_SUPPORTS_LITTLE_ENDIAN
66
67config MIPS_MIRAGE
68 bool "Alchemy Mirage board"
69 select DMA_NONCOHERENT
70 select SOC_AU1500
71 select SYS_SUPPORTS_LITTLE_ENDIAN
72
73config MIPS_PB1000
74 bool "Alchemy PB1000 board"
75 select SOC_AU1000
76 select DMA_NONCOHERENT
77 select HW_HAS_PCI
Yoichi Yuasac3543e22007-05-11 20:44:30 +090078 select SWAP_IO_SPACE
79 select SYS_SUPPORTS_LITTLE_ENDIAN
80
81config MIPS_PB1100
82 bool "Alchemy PB1100 board"
83 select SOC_AU1100
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
88
89config MIPS_PB1200
90 bool "Alchemy PB1200 board"
91 select SOC_AU1200
92 select DMA_NONCOHERENT
93 select MIPS_DISABLE_OBSOLETE_IDE
Yoichi Yuasac3543e22007-05-11 20:44:30 +090094 select SYS_SUPPORTS_LITTLE_ENDIAN
95
96config MIPS_PB1500
97 bool "Alchemy PB1500 board"
98 select SOC_AU1500
99 select DMA_NONCOHERENT
100 select HW_HAS_PCI
Yoichi Yuasac3543e22007-05-11 20:44:30 +0900101 select SYS_SUPPORTS_LITTLE_ENDIAN
102
103config MIPS_PB1550
104 bool "Alchemy PB1550 board"
105 select SOC_AU1550
106 select DMA_NONCOHERENT
107 select HW_HAS_PCI
108 select MIPS_DISABLE_OBSOLETE_IDE
Yoichi Yuasac3543e22007-05-11 20:44:30 +0900109 select SYS_SUPPORTS_LITTLE_ENDIAN
110
111config MIPS_XXS1500
112 bool "MyCable XXS1500 board"
113 select DMA_NONCOHERENT
114 select SOC_AU1500
115 select SYS_SUPPORTS_LITTLE_ENDIAN
116
117endchoice
118
119config SOC_AU1000
120 bool
121 select SOC_AU1X00
Manuel Lauss51e02b02009-06-06 14:09:55 +0200122 select ALCHEMY_GPIO_AU1000
Yoichi Yuasac3543e22007-05-11 20:44:30 +0900123
124config SOC_AU1100
125 bool
126 select SOC_AU1X00
Manuel Lauss51e02b02009-06-06 14:09:55 +0200127 select ALCHEMY_GPIO_AU1000
Yoichi Yuasac3543e22007-05-11 20:44:30 +0900128
129config SOC_AU1500
130 bool
131 select SOC_AU1X00
Manuel Lauss51e02b02009-06-06 14:09:55 +0200132 select ALCHEMY_GPIO_AU1000
Yoichi Yuasac3543e22007-05-11 20:44:30 +0900133
134config SOC_AU1550
135 bool
136 select SOC_AU1X00
Manuel Lauss51e02b02009-06-06 14:09:55 +0200137 select ALCHEMY_GPIO_AU1000
Yoichi Yuasac3543e22007-05-11 20:44:30 +0900138
139config SOC_AU1200
140 bool
141 select SOC_AU1X00
Manuel Lauss51e02b02009-06-06 14:09:55 +0200142 select ALCHEMY_GPIO_AU1000
Yoichi Yuasac3543e22007-05-11 20:44:30 +0900143
144config SOC_AU1X00
145 bool
Ralf Baechled806cb22007-08-02 00:36:08 +0100146 select 64BIT_PHYS_ADDR
Manuel Lauss0c694de2008-12-21 09:26:23 +0100147 select CEVT_R4K_LIB
148 select CSRC_R4K_LIB
Ralf Baechlef3e8d1d2007-10-17 10:58:43 +0100149 select IRQ_CPU
Yoichi Yuasac3543e22007-05-11 20:44:30 +0900150 select SYS_HAS_CPU_MIPS32_R1
151 select SYS_SUPPORTS_32BIT_KERNEL
152 select SYS_SUPPORTS_APM_EMULATION
Manuel Lauss51e02b02009-06-06 14:09:55 +0200153 select GENERIC_GPIO
154 select ARCH_WANT_OPTIONAL_GPIOLIB