blob: b4929b94cd7cae65c4da64cee7097fa90c3d1138 [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
Manuel Lauss809f36c2011-11-01 20:03:30 +01005# au1300-style GPIO/INT controller
6config ALCHEMY_GPIOINT_AU1300
7 bool
8
Manuel Lauss51e02b02009-06-06 14:09:55 +02009# select this in your board config if you don't want to use the gpio
10# namespace as documented in the manuals. In this case however you need
11# to create the necessary gpio_* functions in your board code/headers!
12# see arch/mips/include/asm/mach-au1x00/gpio.h for more information.
13config ALCHEMY_GPIO_INDIRECT
14 def_bool n
15
Yoichi Yuasac3543e22007-05-11 20:44:30 +090016choice
17 prompt "Machine type"
Manuel Lauss42a4f172010-07-15 21:45:04 +020018 depends on MIPS_ALCHEMY
Yoichi Yuasac3543e22007-05-11 20:44:30 +090019 default MIPS_DB1000
20
21config MIPS_MTX1
22 bool "4G Systems MTX-1 board"
23 select DMA_NONCOHERENT
24 select HW_HAS_PCI
Manuel Lauss3766386032011-08-12 11:39:45 +020025 select ALCHEMY_GPIOINT_AU1000
Yoichi Yuasac3543e22007-05-11 20:44:30 +090026 select SYS_SUPPORTS_LITTLE_ENDIAN
Manuel Lauss8402a152009-10-15 18:49:27 +020027 select SYS_HAS_EARLY_PRINTK
Yoichi Yuasac3543e22007-05-11 20:44:30 +090028
Yoichi Yuasac3543e22007-05-11 20:44:30 +090029config MIPS_DB1000
Manuel Laussf59c8112011-11-10 12:06:22 +000030 bool "Alchemy DB1000/DB1500/DB1100 boards"
Manuel Lauss3766386032011-08-12 11:39:45 +020031 select ALCHEMY_GPIOINT_AU1000
Yoichi Yuasac3543e22007-05-11 20:44:30 +090032 select DMA_NONCOHERENT
33 select HW_HAS_PCI
Manuel Laussf59c8112011-11-10 12:06:22 +000034 select MIPS_DISABLE_OBSOLETE_IDE
35 select SYS_SUPPORTS_BIG_ENDIAN
Yoichi Yuasac3543e22007-05-11 20:44:30 +090036 select SYS_SUPPORTS_LITTLE_ENDIAN
Manuel Lauss8402a152009-10-15 18:49:27 +020037 select SYS_HAS_EARLY_PRINTK
Yoichi Yuasac3543e22007-05-11 20:44:30 +090038
Manuel Laussbd8510d2012-09-13 17:44:39 +020039config MIPS_DB1235
40 bool "Alchemy DB1200/PB1200/DB1300/DB1550 boards"
41 select ARCH_REQUIRE_GPIOLIB
Yoichi Yuasac3543e22007-05-11 20:44:30 +090042 select HW_HAS_PCI
Manuel Laussf869d422011-11-10 12:06:16 +000043 select DMA_COHERENT
Yoichi Yuasac3543e22007-05-11 20:44:30 +090044 select MIPS_DISABLE_OBSOLETE_IDE
Yoichi Yuasac3543e22007-05-11 20:44:30 +090045 select SYS_SUPPORTS_LITTLE_ENDIAN
Manuel Lauss8402a152009-10-15 18:49:27 +020046 select SYS_HAS_EARLY_PRINTK
Yoichi Yuasac3543e22007-05-11 20:44:30 +090047
Yoichi Yuasac3543e22007-05-11 20:44:30 +090048config MIPS_PB1100
49 bool "Alchemy PB1100 board"
Manuel Lauss3766386032011-08-12 11:39:45 +020050 select ALCHEMY_GPIOINT_AU1000
Yoichi Yuasac3543e22007-05-11 20:44:30 +090051 select DMA_NONCOHERENT
52 select HW_HAS_PCI
Yoichi Yuasac3543e22007-05-11 20:44:30 +090053 select SWAP_IO_SPACE
54 select SYS_SUPPORTS_LITTLE_ENDIAN
Manuel Lauss8402a152009-10-15 18:49:27 +020055 select SYS_HAS_EARLY_PRINTK
Yoichi Yuasac3543e22007-05-11 20:44:30 +090056
Yoichi Yuasac3543e22007-05-11 20:44:30 +090057config MIPS_PB1500
58 bool "Alchemy PB1500 board"
Manuel Lauss3766386032011-08-12 11:39:45 +020059 select ALCHEMY_GPIOINT_AU1000
Yoichi Yuasac3543e22007-05-11 20:44:30 +090060 select DMA_NONCOHERENT
61 select HW_HAS_PCI
Yoichi Yuasac3543e22007-05-11 20:44:30 +090062 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_PB1550
66 bool "Alchemy PB1550 board"
Manuel Lauss3766386032011-08-12 11:39:45 +020067 select ALCHEMY_GPIOINT_AU1000
Yoichi Yuasac3543e22007-05-11 20:44:30 +090068 select DMA_NONCOHERENT
69 select HW_HAS_PCI
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_XXS1500
75 bool "MyCable XXS1500 board"
76 select DMA_NONCOHERENT
Manuel Lauss3766386032011-08-12 11:39:45 +020077 select ALCHEMY_GPIOINT_AU1000
Yoichi Yuasac3543e22007-05-11 20:44:30 +090078 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
Wolfgang Grandeggercb8f55b2010-07-15 11:21:23 +020081config MIPS_GPR
82 bool "Trapeze ITS GPR board"
Manuel Lauss3766386032011-08-12 11:39:45 +020083 select ALCHEMY_GPIOINT_AU1000
Wolfgang Grandeggercb8f55b2010-07-15 11:21:23 +020084 select HW_HAS_PCI
85 select DMA_NONCOHERENT
86 select MIPS_DISABLE_OBSOLETE_IDE
87 select SYS_SUPPORTS_LITTLE_ENDIAN
88 select SYS_HAS_EARLY_PRINTK
89
Yoichi Yuasac3543e22007-05-11 20:44:30 +090090endchoice