xref: /openbmc/qemu/hw/arm/Kconfig (revision 51483f6c)
1config ARM_VIRT
2    bool
3    default y
4    depends on ARM
5    imply PCI_DEVICES
6    imply TEST_DEVICES
7    imply VFIO_AMD_XGBE
8    imply VFIO_PLATFORM
9    imply VFIO_XGMAC
10    imply TPM_TIS_SYSBUS
11    imply TPM_TIS_I2C
12    imply NVDIMM
13    imply IOMMUFD
14    select ARM_GIC
15    select ACPI
16    select ARM_SMMUV3
17    select GPIO_KEY
18    select DEVICE_TREE
19    select FW_CFG_DMA
20    select PCI_EXPRESS
21    select PCI_EXPRESS_GENERIC_BRIDGE
22    select PFLASH_CFI01
23    select PL011 if !HAVE_RUST # UART
24    select X_PL011_RUST if HAVE_RUST # UART
25    select PL031 # RTC
26    select PL061 # GPIO
27    select GPIO_PWR
28    select PLATFORM_BUS
29    select SMBIOS
30    select VIRTIO_MMIO
31    select ACPI_PCI
32    select MEM_DEVICE
33    select DIMM
34    select ACPI_HW_REDUCED
35    select ACPI_APEI
36    select ACPI_VIOT
37    select VIRTIO_MEM_SUPPORTED
38    select ACPI_CXL
39    select ACPI_HMAT
40
41config CUBIEBOARD
42    bool
43    default y
44    depends on TCG && ARM
45    select ALLWINNER_A10
46
47config DIGIC
48    bool
49    default y
50    depends on TCG && ARM
51    select PTIMER
52    select PFLASH_CFI02
53
54config EXYNOS4
55    bool
56    default y
57    depends on TCG && ARM
58    imply I2C_DEVICES
59    select A9MPCORE
60    select I2C
61    select LAN9118
62    select PL310 # cache controller
63    select PTIMER
64    select SDHCI
65    select USB_EHCI_SYSBUS
66    select OR_IRQ
67
68config HIGHBANK
69    bool
70    default y
71    depends on TCG && ARM
72    select A9MPCORE
73    select A15MPCORE
74    select AHCI
75    select ARM_TIMER # sp804
76    select ARM_V7M
77    select PL011 if !HAVE_RUST # UART
78    select X_PL011_RUST if HAVE_RUST # UART
79    select PL022 # SPI
80    select PL031 # RTC
81    select PL061 # GPIO
82    select PL310 # cache controller
83    select XGMAC # ethernet
84
85config INTEGRATOR
86    bool
87    default y
88    depends on TCG && ARM
89    select ARM_TIMER
90    select INTEGRATOR_DEBUG
91    select PL011 if !HAVE_RUST # UART
92    select X_PL011_RUST if HAVE_RUST # UART
93    select PL031 # RTC
94    select PL041 # audio
95    select PL050 # keyboard/mouse
96    select PL110 # pl111 LCD controller
97    select PL181 # display
98    select SMC91C111
99
100config MPS3R
101    bool
102    default y
103    depends on TCG && ARM
104
105config MUSCA
106    bool
107    default y
108    depends on TCG && ARM
109    select ARMSSE
110    select PL011 if !HAVE_RUST # UART
111    select X_PL011_RUST if HAVE_RUST # UART
112    select PL031
113    select SPLIT_IRQ
114    select UNIMP
115
116config MARVELL_88W8618
117    bool
118
119config MUSICPAL
120    bool
121    default y
122    depends on TCG && ARM
123    select OR_IRQ
124    select BITBANG_I2C
125    select MARVELL_88W8618
126    select PTIMER
127    select PFLASH_CFI02
128    select SERIAL_MM
129    select WM8750
130
131config NETDUINO2
132    bool
133    default y
134    depends on TCG && ARM
135    select STM32F205_SOC
136
137config NETDUINOPLUS2
138    bool
139    default y
140    depends on TCG && ARM
141    select STM32F405_SOC
142
143config OLIMEX_STM32_H405
144    bool
145    default y
146    depends on TCG && ARM
147    select STM32F405_SOC
148
149config OMAP
150    bool
151    select FRAMEBUFFER
152    select I2C
153    select ECC
154    select NAND
155    select PFLASH_CFI01
156    select SD
157    select SERIAL_MM
158
159config REALVIEW
160    bool
161    default y
162    depends on TCG && ARM
163    imply PCI_DEVICES
164    imply PCI_TESTDEV
165    imply I2C_DEVICES
166    select SMC91C111
167    select LAN9118
168    select A9MPCORE
169    select A15MPCORE
170    select ARM11MPCORE
171    select ARM_TIMER
172    select VERSATILE_PCI
173    select WM8750 # audio codec
174    select LSI_SCSI_PCI
175    select PCI
176    select PL011 if !HAVE_RUST # UART
177    select X_PL011_RUST if HAVE_RUST # UART
178    select PL031  # RTC
179    select PL041  # audio codec
180    select PL050  # keyboard/mouse
181    select PL061  # GPIO
182    select PL080  # DMA controller
183    select PL110
184    select PL181  # display
185    select PL310  # cache controller
186    select ARM_SBCON_I2C
187    select DS1338 # I2C RTC+NVRAM
188    select USB_OHCI_SYSBUS
189
190config SBSA_REF
191    bool
192    default y
193    depends on TCG && AARCH64
194    imply PCI_DEVICES
195    select DEVICE_TREE
196    select AHCI
197    select ARM_SMMUV3
198    select GPIO_KEY
199    select PCI_EXPRESS
200    select PCI_EXPRESS_GENERIC_BRIDGE
201    select PFLASH_CFI01
202    select PL011 if !HAVE_RUST # UART
203    select X_PL011_RUST if HAVE_RUST # UART
204    select PL031 # RTC
205    select PL061 # GPIO
206    select USB_XHCI_SYSBUS
207    select WDT_SBSA
208    select BOCHS_DISPLAY
209    select IDE_BUS
210    select IDE_DEV
211
212config SABRELITE
213    bool
214    default y
215    depends on TCG && ARM
216    select FSL_IMX6
217    select SSI_M25P80
218
219config STELLARIS
220    bool
221    default y
222    depends on TCG && ARM
223    imply I2C_DEVICES
224    select ARM_V7M
225    select CMSDK_APB_WATCHDOG
226    select I2C
227    select PL011 if !HAVE_RUST # UART
228    select X_PL011_RUST if HAVE_RUST # UART
229    select PL022 # SPI
230    select PL061 # GPIO
231    select SSD0303 # OLED display
232    select SSD0323 # OLED display
233    select SSI_SD
234    select STELLARIS_GAMEPAD
235    select STELLARIS_ENET # ethernet
236    select STELLARIS_GPTM # general purpose timer module
237    select UNIMP
238
239config STM32VLDISCOVERY
240    bool
241    default y
242    depends on TCG && ARM
243    select STM32F100_SOC
244
245config STRONGARM
246    bool
247    select PXA2XX_TIMER
248    select SSI
249
250config COLLIE
251    bool
252    default y
253    depends on TCG && ARM
254    select PFLASH_CFI01
255    select ZAURUS_SCOOP
256    select STRONGARM
257
258config SX1
259    bool
260    default y
261    depends on TCG && ARM
262    select OMAP
263
264config VERSATILE
265    bool
266    default y
267    depends on TCG && ARM
268    select ARM_TIMER # sp804
269    select PFLASH_CFI01
270    select LSI_SCSI_PCI
271    select PL050  # keyboard/mouse
272    select PL080  # DMA controller
273    select PL190  # Vector PIC
274    select REALVIEW
275    select USB_OHCI_SYSBUS
276
277config VEXPRESS
278    bool
279    default y
280    depends on TCG && ARM
281    select DEVICE_TREE
282    select A9MPCORE
283    select A15MPCORE
284    select ARM_MPTIMER
285    select ARM_TIMER # sp804
286    select LAN9118
287    select PFLASH_CFI01
288    select PL011 if !HAVE_RUST # UART
289    select X_PL011_RUST if HAVE_RUST # UART
290    select PL041 # audio codec
291    select PL181  # display
292    select REALVIEW
293    select SII9022
294    select VIRTIO_MMIO
295
296config ZYNQ
297    bool
298    default y
299    depends on TCG && ARM
300    select A9MPCORE
301    select CADENCE # UART
302    select PFLASH_CFI02
303    select PL310 # cache controller
304    select PL330
305    select SDHCI
306    select SSI_M25P80
307    select USB_EHCI_SYSBUS
308    select XILINX # UART
309    select XILINX_AXI
310    select XILINX_SPI
311    select XILINX_SPIPS
312    select ZYNQ_DEVCFG
313
314config ARM_V7M
315    bool
316    # currently v7M must be included in a TCG build due to translate.c
317    default y
318    depends on TCG && ARM
319    select PTIMER
320
321config ALLWINNER_A10
322    bool
323    select AHCI
324    select ALLWINNER_A10_PIT
325    select ALLWINNER_A10_PIC
326    select ALLWINNER_A10_CCM
327    select ALLWINNER_A10_DRAMC
328    select ALLWINNER_WDT
329    select ALLWINNER_EMAC
330    select ALLWINNER_I2C
331    select ALLWINNER_A10_SPI
332    select AXP2XX_PMU
333    select SERIAL_MM
334    select UNIMP
335    select USB_OHCI_SYSBUS
336
337config ALLWINNER_H3
338    bool
339    default y
340    depends on TCG && ARM
341    select ALLWINNER_A10_PIT
342    select ALLWINNER_SUN8I_EMAC
343    select ALLWINNER_I2C
344    select ALLWINNER_WDT
345    select SERIAL_MM
346    select ARM_TIMER
347    select ARM_GIC
348    select UNIMP
349    select USB_OHCI_SYSBUS
350    select USB_EHCI_SYSBUS
351    select SD
352
353config ALLWINNER_R40
354    bool
355    default y if TCG && ARM
356    select AHCI
357    select ALLWINNER_SRAMC
358    select ALLWINNER_A10_PIT
359    select ALLWINNER_WDT
360    select AXP2XX_PMU
361    select SERIAL_MM
362    select ARM_TIMER
363    select ARM_GIC
364    select UNIMP
365    select USB_OHCI_SYSBUS
366    select USB_EHCI_SYSBUS
367    select SD
368
369config RASPI
370    bool
371    default y
372    depends on TCG && ARM
373    select FRAMEBUFFER
374    select PL011 if !HAVE_RUST # UART
375    select X_PL011_RUST if HAVE_RUST # UART
376    select SDHCI
377    select USB_DWC2
378    select BCM2835_SPI
379    select BCM2835_I2C
380
381config STM32F100_SOC
382    bool
383    select ARM_V7M
384    select STM32F2XX_USART
385    select STM32F2XX_SPI
386
387config STM32F205_SOC
388    bool
389    select ARM_V7M
390    select OR_IRQ
391    select STM32F2XX_TIMER
392    select STM32F2XX_USART
393    select STM32F2XX_SYSCFG
394    select STM32F2XX_ADC
395    select STM32F2XX_SPI
396
397config STM32F405_SOC
398    bool
399    select ARM_V7M
400    select OR_IRQ
401    select STM32_RCC
402    select STM32F4XX_SYSCFG
403    select STM32F4XX_EXTI
404
405config B_L475E_IOT01A
406    bool
407    default y
408    depends on TCG && ARM
409    select STM32L4X5_SOC
410    imply DM163
411
412config STM32L4X5_SOC
413    bool
414    select ARM_V7M
415    select OR_IRQ
416    select STM32L4X5_EXTI
417    select STM32L4X5_SYSCFG
418    select STM32L4X5_RCC
419    select STM32L4X5_GPIO
420    select STM32L4X5_USART
421
422config XLNX_ZYNQMP_ARM
423    bool
424    default y if PIXMAN
425    depends on TCG && AARCH64
426    select AHCI
427    select ARM_GIC
428    select CADENCE
429    select CPU_CLUSTER
430    select DDC
431    select DPCD
432    select DEVICE_TREE
433    select SDHCI
434    select SSI
435    select SSI_M25P80
436    select XILINX_AXI
437    select XILINX_SPIPS
438    select XLNX_CSU_DMA
439    select XLNX_DISPLAYPORT
440    select XLNX_ZYNQMP
441    select XLNX_ZDMA
442    select USB_DWC3
443
444config XLNX_VERSAL
445    bool
446    default y
447    depends on TCG && AARCH64
448    select ARM_GIC
449    select CPU_CLUSTER
450    select DEVICE_TREE
451    select PL011 if !HAVE_RUST # UART
452    select X_PL011_RUST if HAVE_RUST # UART
453    select CADENCE
454    select VIRTIO_MMIO
455    select UNIMP
456    select XLNX_ZDMA
457    select XLNX_ZYNQMP
458    select OR_IRQ
459    select XLNX_BBRAM
460    select XLNX_EFUSE_VERSAL
461    select XLNX_USB_SUBSYS
462    select XLNX_VERSAL_TRNG
463    select XLNX_CSU_DMA
464
465config NPCM7XX
466    bool
467    default y
468    depends on TCG && ARM
469    select A9MPCORE
470    select ADM1266
471    select ADM1272
472    select ARM_GIC
473    select SMBUS
474    select AT24C  # EEPROM
475    select MAX34451
476    select ISL_PMBUS_VR
477    select PL310  # cache controller
478    select PMBUS
479    select SERIAL_MM
480    select SSI
481    select UNIMP
482    select PCA954X
483    select USB_OHCI_SYSBUS
484
485config FSL_IMX25
486    bool
487    default y
488    depends on TCG && ARM
489    imply I2C_DEVICES
490    select IMX
491    select IMX_FEC
492    select IMX_I2C
493    select WDT_IMX2
494    select SDHCI
495
496config FSL_IMX31
497    bool
498    default y
499    depends on TCG && ARM
500    imply I2C_DEVICES
501    select SERIAL_MM
502    select IMX
503    select IMX_I2C
504    select WDT_IMX2
505    select LAN9118
506
507config FSL_IMX6
508    bool
509    imply PCIE_DEVICES
510    imply I2C_DEVICES
511    select A9MPCORE
512    select IMX
513    select IMX_FEC
514    select IMX_I2C
515    select IMX_USBPHY
516    select WDT_IMX2
517    select PL310  # cache controller
518    select PCI_EXPRESS_DESIGNWARE
519    select SDHCI
520
521config ASPEED_SOC
522    bool
523    default y
524    depends on TCG && ARM
525    select DS1338
526    select FTGMAC100
527    select I2C
528    select DPS310
529    select PCA9552
530    select SERIAL_MM
531    select SMBUS_EEPROM
532    select PCA954X
533    select SSI
534    select SSI_M25P80
535    select TMP105
536    select TMP421
537    select EMC141X
538    select UNIMP
539    select LED
540    select PMBUS
541    select MAX31785
542    select FSI_APB2OPB_ASPEED
543
544config MPS2
545    bool
546    default y
547    depends on TCG && ARM
548    imply I2C_DEVICES
549    select ARMSSE
550    select LAN9118
551    select MPS2_FPGAIO
552    select MPS2_SCC
553    select OR_IRQ
554    select PL022    # SPI
555    select PL080    # DMA controller
556    select SPLIT_IRQ
557    select UNIMP
558    select CMSDK_APB_WATCHDOG
559    select ARM_SBCON_I2C
560
561config FSL_IMX7
562    bool
563    default y
564    depends on TCG && ARM
565    imply PCI_DEVICES
566    imply TEST_DEVICES
567    imply I2C_DEVICES
568    select A15MPCORE
569    select PCI
570    select IMX
571    select IMX_FEC
572    select IMX_I2C
573    select WDT_IMX2
574    select PCI_EXPRESS_DESIGNWARE
575    select SDHCI
576    select UNIMP
577
578config ARM_SMMUV3
579    bool
580
581config FSL_IMX6UL
582    bool
583    default y
584    depends on TCG && ARM
585    imply I2C_DEVICES
586    select A15MPCORE
587    select IMX
588    select IMX_FEC
589    select IMX_I2C
590    select WDT_IMX2
591    select SDHCI
592    select UNIMP
593
594config MICROBIT
595    bool
596    default y
597    depends on TCG && ARM
598    select NRF51_SOC
599
600config NRF51_SOC
601    bool
602    imply I2C_DEVICES
603    select I2C
604    select ARM_V7M
605    select UNIMP
606
607config EMCRAFT_SF2
608    bool
609    default y
610    depends on TCG && ARM
611    select MSF2
612    select SSI_M25P80
613
614config MSF2
615    bool
616    select ARM_V7M
617    select PTIMER
618    select SERIAL_MM
619    select SSI
620    select UNIMP
621
622config ARMSSE
623    bool
624    select ARM_V7M
625    select ARMSSE_CPU_PWRCTRL
626    select ARMSSE_CPUID
627    select ARMSSE_MHU
628    select CMSDK_APB_TIMER
629    select CMSDK_APB_DUALTIMER
630    select CMSDK_APB_UART
631    select CMSDK_APB_WATCHDOG
632    select CPU_CLUSTER
633    select IOTKIT_SECCTL
634    select IOTKIT_SYSCTL
635    select IOTKIT_SYSINFO
636    select OR_IRQ
637    select SPLIT_IRQ
638    select TZ_MPC
639    select TZ_MSC
640    select TZ_PPC
641    select UNIMP
642    select SSE_COUNTER
643    select SSE_TIMER
644