1# 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 12choice 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 21 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 35 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 56 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 65 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 78 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 86 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 94 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 101 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 109 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 122 select ALCHEMY_GPIO_AU1000 123 124config SOC_AU1100 125 bool 126 select SOC_AU1X00 127 select ALCHEMY_GPIO_AU1000 128 129config SOC_AU1500 130 bool 131 select SOC_AU1X00 132 select ALCHEMY_GPIO_AU1000 133 134config SOC_AU1550 135 bool 136 select SOC_AU1X00 137 select ALCHEMY_GPIO_AU1000 138 139config SOC_AU1200 140 bool 141 select SOC_AU1X00 142 select ALCHEMY_GPIO_AU1000 143 144config SOC_AU1X00 145 bool 146 select 64BIT_PHYS_ADDR 147 select CEVT_R4K_LIB 148 select CSRC_R4K_LIB 149 select IRQ_CPU 150 select SYS_HAS_CPU_MIPS32_R1 151 select SYS_SUPPORTS_32BIT_KERNEL 152 select SYS_SUPPORTS_APM_EMULATION 153 select GENERIC_GPIO 154 select ARCH_WANT_OPTIONAL_GPIOLIB 155