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