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 varients 9 10config BAMBOO 11 bool "Bamboo" 12 depends on 44x 13 select PPC44x_SIMPLE 14 select 440EP 15 select 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 PCI_MSI 25 select PPC4xx_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 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 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 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 PCI 73 select PPC4xx_PCI_EXPRESS 74 select PCI_MSI 75 select PPC4xx_MSI 76 help 77 This option enables support for the AMCC PPC440SPe evaluation board. 78 79config RAINIER 80 bool "Rainier" 81 depends on 44x 82 select PPC44x_SIMPLE 83 select 440GRX 84 select PCI 85 help 86 This option enables support for the AMCC PPC440GRX evaluation board. 87 88config WARP 89 bool "PIKA Warp" 90 depends on 44x 91 select 440EP 92 help 93 This option enables support for the PIKA Warp(tm) Appliance. The Warp 94 is a small computer replacement with up to 9 ports of FXO/FXS plus VOIP 95 stations and trunks. 96 97 See http://www.pikatechnologies.com/ and follow the "PIKA for Computer 98 Telephony Developers" link for more information. 99 100config ARCHES 101 bool "Arches" 102 depends on 44x 103 select PPC44x_SIMPLE 104 select 460EX # Odd since it uses 460GT but the effects are the same 105 select PCI 106 select PPC4xx_PCI_EXPRESS 107 help 108 This option enables support for the AMCC Dual PPC460GT evaluation board. 109 110config CANYONLANDS 111 bool "Canyonlands" 112 depends on 44x 113 select 460EX 114 select PCI 115 select PPC4xx_PCI_EXPRESS 116 select PCI_MSI 117 select PPC4xx_MSI 118 select IBM_EMAC_RGMII if IBM_EMAC 119 select IBM_EMAC_ZMII if IBM_EMAC 120 help 121 This option enables support for the AMCC PPC460EX evaluation board. 122 123config GLACIER 124 bool "Glacier" 125 depends on 44x 126 select PPC44x_SIMPLE 127 select 460EX # Odd since it uses 460GT but the effects are the same 128 select PCI 129 select PPC4xx_PCI_EXPRESS 130 select IBM_EMAC_RGMII if IBM_EMAC 131 select IBM_EMAC_ZMII if IBM_EMAC 132 help 133 This option enables support for the AMCC PPC460GT evaluation board. 134 135config REDWOOD 136 bool "Redwood" 137 depends on 44x 138 select PPC44x_SIMPLE 139 select 460SX 140 select PCI 141 select PPC4xx_PCI_EXPRESS 142 select PCI_MSI 143 select PPC4xx_MSI 144 help 145 This option enables support for the AMCC PPC460SX Redwood board. 146 147config EIGER 148 bool "Eiger" 149 depends on 44x 150 select PPC44x_SIMPLE 151 select 460SX 152 select PCI 153 select PPC4xx_PCI_EXPRESS 154 select IBM_EMAC_RGMII if IBM_EMAC 155 help 156 This option enables support for the AMCC PPC460SX evaluation board. 157 158config YOSEMITE 159 bool "Yosemite" 160 depends on 44x 161 select PPC44x_SIMPLE 162 select 440EP 163 select PCI 164 help 165 This option enables support for the AMCC PPC440EP evaluation board. 166 167config ISS4xx 168 bool "ISS 4xx Simulator" 169 depends on (44x || 40x) 170 select 405GP if 40x 171 select 440GP if 44x && !PPC_47x 172 select PPC_FPU 173 select OF_RTC 174 help 175 This option enables support for the IBM ISS simulation environment 176 177config CURRITUCK 178 bool "IBM Currituck (476fpe) Support" 179 depends on PPC_47x 180 select SWIOTLB 181 select 476FPE 182 select PPC4xx_PCI_EXPRESS 183 help 184 This option enables support for the IBM Currituck (476fpe) evaluation board 185 186config FSP2 187 bool "IBM FSP2 (476fpe) Support" 188 depends on PPC_47x 189 select 476FPE 190 select IBM_EMAC_EMAC4 if IBM_EMAC 191 select IBM_EMAC_RGMII if IBM_EMAC 192 select COMMON_CLK 193 select DEFAULT_UIMAGE 194 help 195 This option enables support for the IBM FSP2 (476fpe) board 196 197config AKEBONO 198 bool "IBM Akebono (476gtr) Support" 199 depends on PPC_47x 200 select SWIOTLB 201 select 476FPE 202 select PPC4xx_PCI_EXPRESS 203 select PCI_MSI 204 select PPC4xx_HSTA_MSI 205 select I2C 206 select I2C_IBM_IIC 207 select NETDEVICES 208 select ETHERNET 209 select NET_VENDOR_IBM 210 select IBM_EMAC_EMAC4 if IBM_EMAC 211 select USB if USB_SUPPORT 212 select USB_OHCI_HCD_PLATFORM if USB_OHCI_HCD 213 select USB_EHCI_HCD_PLATFORM if USB_EHCI_HCD 214 select MMC_SDHCI 215 select MMC_SDHCI_PLTFM 216 select ATA 217 select SATA_AHCI_PLATFORM 218 help 219 This option enables support for the IBM Akebono (476gtr) evaluation board 220 221 222config ICON 223 bool "Icon" 224 depends on 44x 225 select PPC44x_SIMPLE 226 select 440SPe 227 select PCI 228 select PPC4xx_PCI_EXPRESS 229 help 230 This option enables support for the AMCC PPC440SPe evaluation board. 231 232config XILINX_VIRTEX440_GENERIC_BOARD 233 bool "Generic Xilinx Virtex 5 FXT board support" 234 depends on 44x 235 select XILINX_VIRTEX_5_FXT 236 select XILINX_INTC 237 help 238 This option enables generic support for Xilinx Virtex based boards 239 that use a 440 based processor in the Virtex 5 FXT FPGA architecture. 240 241 The generic virtex board support matches any device tree which 242 specifies 'xlnx,virtex440' in its compatible field. This includes 243 the Xilinx ML5xx reference designs using the powerpc core. 244 245 Most Virtex 5 designs should use this unless it needs to do some 246 special configuration at board probe time. 247 248config XILINX_ML510 249 bool "Xilinx ML510 extra support" 250 depends on XILINX_VIRTEX440_GENERIC_BOARD 251 select PPC_PCI_CHOICE 252 select XILINX_PCI if PCI 253 select PPC_INDIRECT_PCI if PCI 254 select PPC_I8259 if PCI 255 help 256 This option enables extra support for features on the Xilinx ML510 257 board. The ML510 has a PCI bus with ALI south bridge. 258 259config PPC44x_SIMPLE 260 bool "Simple PowerPC 44x board support" 261 depends on 44x 262 help 263 This option enables the simple PowerPC 44x platform support. 264 265config PPC4xx_GPIO 266 bool "PPC4xx GPIO support" 267 depends on 44x 268 select GPIOLIB 269 help 270 Enable gpiolib support for ppc440 based boards 271 272config PPC4xx_OCM 273 bool "PPC4xx On Chip Memory (OCM) support" 274 depends on 4xx 275 select PPC_LIB_RHEAP 276 help 277 Enable OCM support for PowerPC 4xx platforms with on chip memory, 278 OCM provides the fast place for memory access to improve performance. 279 280# 44x specific CPU modules, selected based on the board above. 281config 440EP 282 bool 283 select PPC_FPU 284 select IBM440EP_ERR42 285 select IBM_EMAC_ZMII if IBM_EMAC 286 287config 440EPX 288 bool 289 select PPC_FPU 290 select IBM_EMAC_EMAC4 if IBM_EMAC 291 select IBM_EMAC_RGMII if IBM_EMAC 292 select IBM_EMAC_ZMII if IBM_EMAC 293 select USB_EHCI_BIG_ENDIAN_MMIO 294 select USB_EHCI_BIG_ENDIAN_DESC 295 296config 440GRX 297 bool 298 select IBM_EMAC_EMAC4 if IBM_EMAC 299 select IBM_EMAC_RGMII if IBM_EMAC 300 select IBM_EMAC_ZMII if IBM_EMAC 301 302config 440GP 303 bool 304 select IBM_EMAC_ZMII if IBM_EMAC 305 306config 440GX 307 bool 308 select IBM_EMAC_EMAC4 if IBM_EMAC 309 select IBM_EMAC_RGMII if IBM_EMAC 310 select IBM_EMAC_ZMII if IBM_EMAC #test only 311 select IBM_EMAC_TAH if IBM_EMAC #test only 312 313config 440SP 314 bool 315 316config 440SPe 317 bool 318 select IBM_EMAC_EMAC4 if IBM_EMAC 319 320config 460EX 321 bool 322 select PPC_FPU 323 select IBM_EMAC_EMAC4 if IBM_EMAC 324 select IBM_EMAC_TAH if IBM_EMAC 325 326config 460SX 327 bool 328 select PPC_FPU 329 select IBM_EMAC_EMAC4 if IBM_EMAC 330 select IBM_EMAC_RGMII if IBM_EMAC 331 select IBM_EMAC_ZMII if IBM_EMAC 332 select IBM_EMAC_TAH if IBM_EMAC 333 334config 476FPE 335 bool 336 select PPC_FPU 337 338config APM821xx 339 bool 340 select PPC_FPU 341 select IBM_EMAC_EMAC4 if IBM_EMAC 342 select IBM_EMAC_TAH if IBM_EMAC 343 344config 476FPE_ERR46 345 depends on 476FPE 346 bool "Enable linker work around for PPC476FPE errata #46" 347 help 348 This option enables a work around for an icache bug on 476 349 that can cause execution of stale instructions when falling 350 through pages (IBM errata #46). It requires a recent version 351 of binutils which supports the --ppc476-workaround option. 352 353 The work around enables the appropriate linker options and 354 ensures that all module output sections are aligned to 4K 355 page boundaries. The work around is only required when 356 building modules. 357 358# 44x errata/workaround config symbols, selected by the CPU models above 359config IBM440EP_ERR42 360 bool 361 362# Xilinx specific config options. 363config XILINX_VIRTEX 364 bool 365 select DEFAULT_UIMAGE 366 367# Xilinx Virtex 5 FXT FPGA architecture, selected by a Xilinx board above 368config XILINX_VIRTEX_5_FXT 369 bool 370 select XILINX_VIRTEX 371 372