1# SPDX-License-Identifier: GPL-2.0 2config PPC_47x 3 bool "Support for 47x variant" 4 depends on 44x 5 select MPIC 6 help 7 This option enables support for the 47x family of processors and is 8 not currently compatible with other 44x or 46x variants 9 10config BAMBOO 11 bool "Bamboo" 12 depends on 44x 13 select PPC44x_SIMPLE 14 select 440EP 15 select FORCE_PCI 16 help 17 This option enables support for the IBM PPC440EP evaluation board. 18 19config BLUESTONE 20 bool "Bluestone" 21 depends on 44x 22 select PPC44x_SIMPLE 23 select APM821xx 24 select FORCE_PCI 25 select PCI_MSI 26 select PPC4xx_PCI_EXPRESS 27 select IBM_EMAC_RGMII if IBM_EMAC 28 help 29 This option enables support for the APM APM821xx Evaluation board. 30 31config EBONY 32 bool "Ebony" 33 depends on 44x 34 default y 35 select 440GP 36 select FORCE_PCI 37 select OF_RTC 38 help 39 This option enables support for the IBM PPC440GP evaluation board. 40 41config SAM440EP 42 bool "Sam440ep" 43 depends on 44x 44 select 440EP 45 select FORCE_PCI 46 help 47 This option enables support for the ACube Sam440ep board. 48 49config SEQUOIA 50 bool "Sequoia" 51 depends on 44x 52 select PPC44x_SIMPLE 53 select 440EPX 54 help 55 This option enables support for the AMCC PPC440EPX evaluation board. 56 57config TAISHAN 58 bool "Taishan" 59 depends on 44x 60 select PPC44x_SIMPLE 61 select 440GX 62 select FORCE_PCI 63 help 64 This option enables support for the AMCC PPC440GX "Taishan" 65 evaluation board. 66 67config KATMAI 68 bool "Katmai" 69 depends on 44x 70 select PPC44x_SIMPLE 71 select 440SPe 72 select FORCE_PCI 73 select PPC4xx_PCI_EXPRESS 74 select PCI_MSI 75 help 76 This option enables support for the AMCC PPC440SPe evaluation board. 77 78config RAINIER 79 bool "Rainier" 80 depends on 44x 81 select PPC44x_SIMPLE 82 select 440GRX 83 select FORCE_PCI 84 help 85 This option enables support for the AMCC PPC440GRX evaluation board. 86 87config WARP 88 bool "PIKA Warp" 89 depends on 44x 90 select 440EP 91 help 92 This option enables support for the PIKA Warp(tm) Appliance. The Warp 93 is a small computer replacement with up to 9 ports of FXO/FXS plus VOIP 94 stations and trunks. 95 96 See http://www.pikatechnologies.com/ and follow the "PIKA for Computer 97 Telephony Developers" link for more information. 98 99config ARCHES 100 bool "Arches" 101 depends on 44x 102 select PPC44x_SIMPLE 103 select 460EX # Odd since it uses 460GT but the effects are the same 104 select FORCE_PCI 105 select PPC4xx_PCI_EXPRESS 106 help 107 This option enables support for the AMCC Dual PPC460GT evaluation board. 108 109config CANYONLANDS 110 bool "Canyonlands" 111 depends on 44x 112 select 460EX 113 select FORCE_PCI 114 select PPC4xx_PCI_EXPRESS 115 select PCI_MSI 116 select IBM_EMAC_RGMII if IBM_EMAC 117 select IBM_EMAC_ZMII if IBM_EMAC 118 help 119 This option enables support for the AMCC PPC460EX evaluation board. 120 121config GLACIER 122 bool "Glacier" 123 depends on 44x 124 select PPC44x_SIMPLE 125 select 460EX # Odd since it uses 460GT but the effects are the same 126 select FORCE_PCI 127 select PPC4xx_PCI_EXPRESS 128 select IBM_EMAC_RGMII if IBM_EMAC 129 select IBM_EMAC_ZMII if IBM_EMAC 130 help 131 This option enables support for the AMCC PPC460GT evaluation board. 132 133config REDWOOD 134 bool "Redwood" 135 depends on 44x 136 select PPC44x_SIMPLE 137 select 460SX 138 select FORCE_PCI 139 select PPC4xx_PCI_EXPRESS 140 select PCI_MSI 141 help 142 This option enables support for the AMCC PPC460SX Redwood board. 143 144config EIGER 145 bool "Eiger" 146 depends on 44x 147 select PPC44x_SIMPLE 148 select 460SX 149 select FORCE_PCI 150 select PPC4xx_PCI_EXPRESS 151 select IBM_EMAC_RGMII if IBM_EMAC 152 help 153 This option enables support for the AMCC PPC460SX evaluation board. 154 155config YOSEMITE 156 bool "Yosemite" 157 depends on 44x 158 select PPC44x_SIMPLE 159 select 440EP 160 select FORCE_PCI 161 help 162 This option enables support for the AMCC PPC440EP evaluation board. 163 164config ISS4xx 165 bool "ISS 4xx Simulator" 166 depends on 44x 167 select 440GP if 44x && !PPC_47x 168 select PPC_FPU 169 select OF_RTC 170 help 171 This option enables support for the IBM ISS simulation environment 172 173config CURRITUCK 174 bool "IBM Currituck (476fpe) Support" 175 depends on PPC_47x 176 select I2C 177 select SWIOTLB 178 select 476FPE 179 select FORCE_PCI 180 select PPC4xx_PCI_EXPRESS 181 help 182 This option enables support for the IBM Currituck (476fpe) evaluation board 183 184config FSP2 185 bool "IBM FSP2 (476fpe) Support" 186 depends on PPC_47x 187 select 476FPE 188 select IBM_EMAC_EMAC4 if IBM_EMAC 189 select IBM_EMAC_RGMII if IBM_EMAC 190 select COMMON_CLK 191 select DEFAULT_UIMAGE 192 help 193 This option enables support for the IBM FSP2 (476fpe) board 194 195config AKEBONO 196 bool "IBM Akebono (476gtr) Support" 197 depends on PPC_47x 198 select SWIOTLB 199 select 476FPE 200 select PPC4xx_PCI_EXPRESS 201 select FORCE_PCI 202 select PCI_MSI 203 select PPC4xx_HSTA_MSI 204 select I2C 205 select I2C_IBM_IIC 206 select IBM_EMAC_EMAC4 if IBM_EMAC 207 select USB if USB_SUPPORT 208 select USB_OHCI_HCD_PLATFORM if USB_OHCI_HCD 209 select USB_EHCI_HCD_PLATFORM if USB_EHCI_HCD 210 help 211 This option enables support for the IBM Akebono (476gtr) evaluation board 212 213 214config ICON 215 bool "Icon" 216 depends on 44x 217 select PPC44x_SIMPLE 218 select 440SPe 219 select FORCE_PCI 220 select PPC4xx_PCI_EXPRESS 221 help 222 This option enables support for the AMCC PPC440SPe evaluation board. 223 224config PPC44x_SIMPLE 225 bool "Simple PowerPC 44x board support" 226 depends on 44x 227 help 228 This option enables the simple PowerPC 44x platform support. 229 230config PPC4xx_GPIO 231 bool "PPC4xx GPIO support" 232 depends on 44x 233 select GPIOLIB 234 help 235 Enable gpiolib support for ppc440 based boards 236 237# 44x specific CPU modules, selected based on the board above. 238config 440EP 239 bool 240 select PPC_FPU 241 select IBM440EP_ERR42 242 select IBM_EMAC_ZMII if IBM_EMAC 243 244config 440EPX 245 bool 246 select PPC_FPU 247 select IBM_EMAC_EMAC4 if IBM_EMAC 248 select IBM_EMAC_RGMII if IBM_EMAC 249 select IBM_EMAC_ZMII if IBM_EMAC 250 select USB_EHCI_BIG_ENDIAN_MMIO 251 select USB_EHCI_BIG_ENDIAN_DESC 252 253config 440GRX 254 bool 255 select IBM_EMAC_EMAC4 if IBM_EMAC 256 select IBM_EMAC_RGMII if IBM_EMAC 257 select IBM_EMAC_ZMII if IBM_EMAC 258 259config 440GP 260 bool 261 select IBM_EMAC_ZMII if IBM_EMAC 262 263config 440GX 264 bool 265 select IBM_EMAC_EMAC4 if IBM_EMAC 266 select IBM_EMAC_RGMII if IBM_EMAC 267 select IBM_EMAC_ZMII if IBM_EMAC #test only 268 select IBM_EMAC_TAH if IBM_EMAC #test only 269 270config 440SP 271 bool 272 273config 440SPe 274 bool 275 select IBM_EMAC_EMAC4 if IBM_EMAC 276 277config 460EX 278 bool 279 select PPC_FPU 280 select IBM_EMAC_EMAC4 if IBM_EMAC 281 select IBM_EMAC_TAH if IBM_EMAC 282 283config 460SX 284 bool 285 select PPC_FPU 286 select IBM_EMAC_EMAC4 if IBM_EMAC 287 select IBM_EMAC_RGMII if IBM_EMAC 288 select IBM_EMAC_ZMII if IBM_EMAC 289 select IBM_EMAC_TAH if IBM_EMAC 290 291config 476FPE 292 bool 293 select PPC_FPU 294 295config APM821xx 296 bool 297 select PPC_FPU 298 select IBM_EMAC_EMAC4 if IBM_EMAC 299 select IBM_EMAC_TAH if IBM_EMAC 300 301config 476FPE_ERR46 302 depends on 476FPE 303 bool "Enable linker work around for PPC476FPE errata #46" 304 help 305 This option enables a work around for an icache bug on 476 306 that can cause execution of stale instructions when falling 307 through pages (IBM errata #46). It requires a recent version 308 of binutils which supports the --ppc476-workaround option. 309 310 The work around enables the appropriate linker options and 311 ensures that all module output sections are aligned to 4K 312 page boundaries. The work around is only required when 313 building modules. 314 315# 44x errata/workaround config symbols, selected by the CPU models above 316config IBM440EP_ERR42 317 bool 318 319