Kconfig 3.5 KB
Newer Older
1 2
# au1000-style gpio and interrupt controllers
config ALCHEMY_GPIOINT_AU1000
3 4 5 6 7 8 9 10 11
	bool

# select this in your board config if you don't want to use the gpio
# namespace as documented in the manuals.  In this case however you need
# to create the necessary gpio_* functions in your board code/headers!
# see arch/mips/include/asm/mach-au1x00/gpio.h   for more information.
config ALCHEMY_GPIO_INDIRECT
	def_bool n

12 13
choice
	prompt "Machine type"
14
	depends on MIPS_ALCHEMY
15 16 17 18 19 20 21 22
	default MIPS_DB1000

config MIPS_MTX1
	bool "4G Systems MTX-1 board"
	select DMA_NONCOHERENT
	select HW_HAS_PCI
	select SOC_AU1500
	select SYS_SUPPORTS_LITTLE_ENDIAN
23
	select SYS_HAS_EARLY_PRINTK
24 25 26 27 28 29

config MIPS_BOSPORUS
	bool "Alchemy Bosporus board"
	select SOC_AU1500
	select DMA_NONCOHERENT
	select SYS_SUPPORTS_LITTLE_ENDIAN
30
	select SYS_HAS_EARLY_PRINTK
31 32 33 34 35 36 37

config MIPS_DB1000
	bool "Alchemy DB1000 board"
	select SOC_AU1000
	select DMA_NONCOHERENT
	select HW_HAS_PCI
	select SYS_SUPPORTS_LITTLE_ENDIAN
38
	select SYS_HAS_EARLY_PRINTK
39 40 41 42 43 44

config MIPS_DB1100
	bool "Alchemy DB1100 board"
	select SOC_AU1100
	select DMA_NONCOHERENT
	select SYS_SUPPORTS_LITTLE_ENDIAN
45
	select SYS_HAS_EARLY_PRINTK
46 47 48 49 50 51 52

config MIPS_DB1200
	bool "Alchemy DB1200 board"
	select SOC_AU1200
	select DMA_COHERENT
	select MIPS_DISABLE_OBSOLETE_IDE
	select SYS_SUPPORTS_LITTLE_ENDIAN
53
	select SYS_HAS_EARLY_PRINTK
54 55 56 57 58 59 60 61 62

config MIPS_DB1500
	bool "Alchemy DB1500 board"
	select SOC_AU1500
	select DMA_NONCOHERENT
	select HW_HAS_PCI
	select MIPS_DISABLE_OBSOLETE_IDE
	select SYS_SUPPORTS_BIG_ENDIAN
	select SYS_SUPPORTS_LITTLE_ENDIAN
63
	select SYS_HAS_EARLY_PRINTK
64 65 66 67 68 69 70 71

config MIPS_DB1550
	bool "Alchemy DB1550 board"
	select SOC_AU1550
	select HW_HAS_PCI
	select DMA_NONCOHERENT
	select MIPS_DISABLE_OBSOLETE_IDE
	select SYS_SUPPORTS_LITTLE_ENDIAN
72
	select SYS_HAS_EARLY_PRINTK
73 74 75 76 77 78

config MIPS_MIRAGE
	bool "Alchemy Mirage board"
	select DMA_NONCOHERENT
	select SOC_AU1500
	select SYS_SUPPORTS_LITTLE_ENDIAN
79
	select SYS_HAS_EARLY_PRINTK
80 81 82 83 84 85 86 87

config MIPS_PB1000
	bool "Alchemy PB1000 board"
	select SOC_AU1000
	select DMA_NONCOHERENT
	select HW_HAS_PCI
	select SWAP_IO_SPACE
	select SYS_SUPPORTS_LITTLE_ENDIAN
88
	select SYS_HAS_EARLY_PRINTK
89 90 91 92 93 94 95 96

config MIPS_PB1100
	bool "Alchemy PB1100 board"
	select SOC_AU1100
	select DMA_NONCOHERENT
	select HW_HAS_PCI
	select SWAP_IO_SPACE
	select SYS_SUPPORTS_LITTLE_ENDIAN
97
	select SYS_HAS_EARLY_PRINTK
98 99 100 101 102 103 104

config MIPS_PB1200
	bool "Alchemy PB1200 board"
	select SOC_AU1200
	select DMA_NONCOHERENT
	select MIPS_DISABLE_OBSOLETE_IDE
	select SYS_SUPPORTS_LITTLE_ENDIAN
105
	select SYS_HAS_EARLY_PRINTK
106 107 108 109 110 111 112

config MIPS_PB1500
	bool "Alchemy PB1500 board"
	select SOC_AU1500
	select DMA_NONCOHERENT
	select HW_HAS_PCI
	select SYS_SUPPORTS_LITTLE_ENDIAN
113
	select SYS_HAS_EARLY_PRINTK
114 115 116 117 118 119 120 121

config MIPS_PB1550
	bool "Alchemy PB1550 board"
	select SOC_AU1550
	select DMA_NONCOHERENT
	select HW_HAS_PCI
	select MIPS_DISABLE_OBSOLETE_IDE
	select SYS_SUPPORTS_LITTLE_ENDIAN
122
	select SYS_HAS_EARLY_PRINTK
123 124 125 126 127 128

config MIPS_XXS1500
	bool "MyCable XXS1500 board"
	select DMA_NONCOHERENT
	select SOC_AU1500
	select SYS_SUPPORTS_LITTLE_ENDIAN
129
	select SYS_HAS_EARLY_PRINTK
130

131 132 133 134 135 136 137 138 139
config MIPS_GPR
	bool "Trapeze ITS GPR board"
	select SOC_AU1550
	select HW_HAS_PCI
	select DMA_NONCOHERENT
	select MIPS_DISABLE_OBSOLETE_IDE
	select SYS_SUPPORTS_LITTLE_ENDIAN
	select SYS_HAS_EARLY_PRINTK

140 141 142 143
endchoice

config SOC_AU1000
	bool
144
	select ALCHEMY_GPIOINT_AU1000
145 146 147

config SOC_AU1100
	bool
148
	select ALCHEMY_GPIOINT_AU1000
149 150 151

config SOC_AU1500
	bool
152
	select ALCHEMY_GPIOINT_AU1000
153 154 155

config SOC_AU1550
	bool
156
	select ALCHEMY_GPIOINT_AU1000
157 158 159

config SOC_AU1200
	bool
160
	select ALCHEMY_GPIOINT_AU1000