xref: /openbmc/qemu/hw/arm/Kconfig (revision e50a24ea)
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 NAND
154    select PFLASH_CFI01
155    select SD
156    select SERIAL_MM
157
158config REALVIEW
159    bool
160    default y
161    depends on TCG && ARM
162    imply PCI_DEVICES
163    imply PCI_TESTDEV
164    imply I2C_DEVICES
165    select SMC91C111
166    select LAN9118
167    select A9MPCORE
168    select A15MPCORE
169    select ARM11MPCORE
170    select ARM_TIMER
171    select VERSATILE_PCI
172    select WM8750 # audio codec
173    select LSI_SCSI_PCI
174    select PCI
175    select PL011 if !HAVE_RUST # UART
176    select X_PL011_RUST if HAVE_RUST # UART
177    select PL031  # RTC
178    select PL041  # audio codec
179    select PL050  # keyboard/mouse
180    select PL061  # GPIO
181    select PL080  # DMA controller
182    select PL110
183    select PL181  # display
184    select PL310  # cache controller
185    select ARM_SBCON_I2C
186    select DS1338 # I2C RTC+NVRAM
187    select USB_OHCI_SYSBUS
188
189config SBSA_REF
190    bool
191    default y
192    depends on TCG && AARCH64
193    imply PCI_DEVICES
194    select DEVICE_TREE
195    select AHCI
196    select ARM_SMMUV3
197    select GPIO_KEY
198    select PCI_EXPRESS
199    select PCI_EXPRESS_GENERIC_BRIDGE
200    select PFLASH_CFI01
201    select PL011 if !HAVE_RUST # UART
202    select X_PL011_RUST if HAVE_RUST # UART
203    select PL031 # RTC
204    select PL061 # GPIO
205    select USB_XHCI_SYSBUS
206    select WDT_SBSA
207    select BOCHS_DISPLAY
208    select IDE_BUS
209    select IDE_DEV
210
211config SABRELITE
212    bool
213    default y
214    depends on TCG && ARM
215    select FSL_IMX6
216    select SSI_M25P80
217
218config STELLARIS
219    bool
220    default y
221    depends on TCG && ARM
222    imply I2C_DEVICES
223    select ARM_V7M
224    select CMSDK_APB_WATCHDOG
225    select I2C
226    select PL011 if !HAVE_RUST # UART
227    select X_PL011_RUST if HAVE_RUST # UART
228    select PL022 # SPI
229    select PL061 # GPIO
230    select SSD0303 # OLED display
231    select SSD0323 # OLED display
232    select SSI_SD
233    select STELLARIS_GAMEPAD
234    select STELLARIS_ENET # ethernet
235    select STELLARIS_GPTM # general purpose timer module
236    select UNIMP
237
238config STM32VLDISCOVERY
239    bool
240    default y
241    depends on TCG && ARM
242    select STM32F100_SOC
243
244config STRONGARM
245    bool
246    select PXA2XX_TIMER
247    select SSI
248
249config COLLIE
250    bool
251    default y
252    depends on TCG && ARM
253    select PFLASH_CFI01
254    select ZAURUS_SCOOP
255    select STRONGARM
256
257config SX1
258    bool
259    default y
260    depends on TCG && ARM
261    select OMAP
262
263config VERSATILE
264    bool
265    default y
266    depends on TCG && ARM
267    select ARM_TIMER # sp804
268    select PFLASH_CFI01
269    select LSI_SCSI_PCI
270    select PL050  # keyboard/mouse
271    select PL080  # DMA controller
272    select PL190  # Vector PIC
273    select REALVIEW
274    select USB_OHCI_SYSBUS
275
276config VEXPRESS
277    bool
278    default y
279    depends on TCG && ARM
280    select DEVICE_TREE
281    select A9MPCORE
282    select A15MPCORE
283    select ARM_MPTIMER
284    select ARM_TIMER # sp804
285    select LAN9118
286    select PFLASH_CFI01
287    select PL011 if !HAVE_RUST # UART
288    select X_PL011_RUST if HAVE_RUST # UART
289    select PL041 # audio codec
290    select PL181  # display
291    select REALVIEW
292    select SII9022
293    select VIRTIO_MMIO
294
295config ZYNQ
296    bool
297    default y
298    depends on TCG && ARM
299    select A9MPCORE
300    select CADENCE # UART
301    select PFLASH_CFI02
302    select PL310 # cache controller
303    select PL330
304    select SDHCI
305    select SSI_M25P80
306    select USB_EHCI_SYSBUS
307    select XILINX # UART
308    select XILINX_AXI
309    select XILINX_SPI
310    select XILINX_SPIPS
311    select ZYNQ_DEVCFG
312
313config ARM_V7M
314    bool
315    # currently v7M must be included in a TCG build due to translate.c
316    default y
317    depends on TCG && ARM
318    select PTIMER
319
320config ALLWINNER_A10
321    bool
322    select AHCI
323    select ALLWINNER_A10_PIT
324    select ALLWINNER_A10_PIC
325    select ALLWINNER_A10_CCM
326    select ALLWINNER_A10_DRAMC
327    select ALLWINNER_WDT
328    select ALLWINNER_EMAC
329    select ALLWINNER_I2C
330    select ALLWINNER_A10_SPI
331    select AXP2XX_PMU
332    select SERIAL_MM
333    select UNIMP
334    select USB_OHCI_SYSBUS
335
336config ALLWINNER_H3
337    bool
338    default y
339    depends on TCG && ARM
340    select ALLWINNER_A10_PIT
341    select ALLWINNER_SUN8I_EMAC
342    select ALLWINNER_I2C
343    select ALLWINNER_WDT
344    select SERIAL_MM
345    select ARM_TIMER
346    select ARM_GIC
347    select UNIMP
348    select USB_OHCI_SYSBUS
349    select USB_EHCI_SYSBUS
350    select SD
351
352config ALLWINNER_R40
353    bool
354    default y if TCG && ARM
355    select AHCI
356    select ALLWINNER_SRAMC
357    select ALLWINNER_A10_PIT
358    select ALLWINNER_WDT
359    select AXP2XX_PMU
360    select SERIAL_MM
361    select ARM_TIMER
362    select ARM_GIC
363    select UNIMP
364    select USB_OHCI_SYSBUS
365    select USB_EHCI_SYSBUS
366    select SD
367
368config RASPI
369    bool
370    default y
371    depends on TCG && ARM
372    select FRAMEBUFFER
373    select PL011 if !HAVE_RUST # UART
374    select X_PL011_RUST if HAVE_RUST # UART
375    select SDHCI
376    select USB_DWC2
377    select BCM2835_SPI
378    select BCM2835_I2C
379
380config STM32F100_SOC
381    bool
382    select ARM_V7M
383    select STM32F2XX_USART
384    select STM32F2XX_SPI
385
386config STM32F205_SOC
387    bool
388    select ARM_V7M
389    select OR_IRQ
390    select STM32F2XX_TIMER
391    select STM32F2XX_USART
392    select STM32F2XX_SYSCFG
393    select STM32F2XX_ADC
394    select STM32F2XX_SPI
395
396config STM32F405_SOC
397    bool
398    select ARM_V7M
399    select OR_IRQ
400    select STM32_RCC
401    select STM32F4XX_SYSCFG
402    select STM32F4XX_EXTI
403
404config B_L475E_IOT01A
405    bool
406    default y
407    depends on TCG && ARM
408    select STM32L4X5_SOC
409    imply DM163
410
411config STM32L4X5_SOC
412    bool
413    select ARM_V7M
414    select OR_IRQ
415    select STM32L4X5_EXTI
416    select STM32L4X5_SYSCFG
417    select STM32L4X5_RCC
418    select STM32L4X5_GPIO
419    select STM32L4X5_USART
420
421config XLNX_ZYNQMP_ARM
422    bool
423    default y if PIXMAN
424    depends on TCG && AARCH64
425    select AHCI
426    select ARM_GIC
427    select CADENCE
428    select CPU_CLUSTER
429    select DDC
430    select DPCD
431    select DEVICE_TREE
432    select SDHCI
433    select SSI
434    select SSI_M25P80
435    select XILINX_AXI
436    select XILINX_SPIPS
437    select XLNX_CSU_DMA
438    select XLNX_DISPLAYPORT
439    select XLNX_ZYNQMP
440    select XLNX_ZDMA
441    select USB_DWC3
442
443config XLNX_VERSAL
444    bool
445    default y
446    depends on TCG && AARCH64
447    select ARM_GIC
448    select CPU_CLUSTER
449    select DEVICE_TREE
450    select PL011 if !HAVE_RUST # UART
451    select X_PL011_RUST if HAVE_RUST # UART
452    select CADENCE
453    select VIRTIO_MMIO
454    select UNIMP
455    select XLNX_ZDMA
456    select XLNX_ZYNQMP
457    select OR_IRQ
458    select XLNX_BBRAM
459    select XLNX_EFUSE_VERSAL
460    select XLNX_USB_SUBSYS
461    select XLNX_VERSAL_TRNG
462    select XLNX_CSU_DMA
463
464config NPCM7XX
465    bool
466    default y
467    depends on TCG && ARM
468    select A9MPCORE
469    select ADM1266
470    select ADM1272
471    select ARM_GIC
472    select SMBUS
473    select AT24C  # EEPROM
474    select MAX34451
475    select ISL_PMBUS_VR
476    select PL310  # cache controller
477    select PMBUS
478    select SERIAL_MM
479    select SSI
480    select UNIMP
481    select PCA954X
482    select USB_OHCI_SYSBUS
483
484config FSL_IMX25
485    bool
486    default y
487    depends on TCG && ARM
488    imply I2C_DEVICES
489    select IMX
490    select IMX_FEC
491    select IMX_I2C
492    select WDT_IMX2
493    select SDHCI
494
495config FSL_IMX31
496    bool
497    default y
498    depends on TCG && ARM
499    imply I2C_DEVICES
500    select SERIAL_MM
501    select IMX
502    select IMX_I2C
503    select WDT_IMX2
504    select LAN9118
505
506config FSL_IMX6
507    bool
508    imply PCIE_DEVICES
509    imply I2C_DEVICES
510    select A9MPCORE
511    select IMX
512    select IMX_FEC
513    select IMX_I2C
514    select IMX_USBPHY
515    select WDT_IMX2
516    select PL310  # cache controller
517    select PCI_EXPRESS_DESIGNWARE
518    select SDHCI
519
520config ASPEED_SOC
521    bool
522    default y
523    depends on TCG && ARM
524    select DS1338
525    select FTGMAC100
526    select I2C
527    select DPS310
528    select PCA9552
529    select SERIAL_MM
530    select SMBUS_EEPROM
531    select PCA954X
532    select SSI
533    select SSI_M25P80
534    select TMP105
535    select TMP421
536    select EMC141X
537    select UNIMP
538    select LED
539    select PMBUS
540    select MAX31785
541    select FSI_APB2OPB_ASPEED
542    select AT24C
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