xref: /openbmc/qemu/hw/arm/Kconfig (revision 95e82f9b)
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 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 STM32F4XX_SYSCFG
401    select STM32F4XX_EXTI
402
403config B_L475E_IOT01A
404    bool
405    default y
406    depends on TCG && ARM
407    select STM32L4X5_SOC
408    imply DM163
409
410config STM32L4X5_SOC
411    bool
412    select ARM_V7M
413    select OR_IRQ
414    select STM32L4X5_EXTI
415    select STM32L4X5_SYSCFG
416    select STM32L4X5_RCC
417    select STM32L4X5_GPIO
418    select STM32L4X5_USART
419
420config XLNX_ZYNQMP_ARM
421    bool
422    default y if PIXMAN
423    depends on TCG && AARCH64
424    select AHCI
425    select ARM_GIC
426    select CADENCE
427    select CPU_CLUSTER
428    select DDC
429    select DPCD
430    select DEVICE_TREE
431    select SDHCI
432    select SSI
433    select SSI_M25P80
434    select XILINX_AXI
435    select XILINX_SPIPS
436    select XLNX_CSU_DMA
437    select XLNX_DISPLAYPORT
438    select XLNX_ZYNQMP
439    select XLNX_ZDMA
440    select USB_DWC3
441
442config XLNX_VERSAL
443    bool
444    default y
445    depends on TCG && AARCH64
446    select ARM_GIC
447    select CPU_CLUSTER
448    select DEVICE_TREE
449    select PL011 if !HAVE_RUST # UART
450    select X_PL011_RUST if HAVE_RUST # UART
451    select CADENCE
452    select VIRTIO_MMIO
453    select UNIMP
454    select XLNX_ZDMA
455    select XLNX_ZYNQMP
456    select OR_IRQ
457    select XLNX_BBRAM
458    select XLNX_EFUSE_VERSAL
459    select XLNX_USB_SUBSYS
460    select XLNX_VERSAL_TRNG
461    select XLNX_CSU_DMA
462
463config NPCM7XX
464    bool
465    default y
466    depends on TCG && ARM
467    select A9MPCORE
468    select ADM1266
469    select ADM1272
470    select ARM_GIC
471    select SMBUS
472    select AT24C  # EEPROM
473    select MAX34451
474    select ISL_PMBUS_VR
475    select PL310  # cache controller
476    select PMBUS
477    select SERIAL_MM
478    select SSI
479    select UNIMP
480    select PCA954X
481    select USB_OHCI_SYSBUS
482
483config FSL_IMX25
484    bool
485    default y
486    depends on TCG && ARM
487    imply I2C_DEVICES
488    select IMX
489    select IMX_FEC
490    select IMX_I2C
491    select WDT_IMX2
492    select SDHCI
493
494config FSL_IMX31
495    bool
496    default y
497    depends on TCG && ARM
498    imply I2C_DEVICES
499    select SERIAL_MM
500    select IMX
501    select IMX_I2C
502    select WDT_IMX2
503    select LAN9118
504
505config FSL_IMX6
506    bool
507    imply PCIE_DEVICES
508    imply I2C_DEVICES
509    select A9MPCORE
510    select IMX
511    select IMX_FEC
512    select IMX_I2C
513    select IMX_USBPHY
514    select WDT_IMX2
515    select PL310  # cache controller
516    select PCI_EXPRESS_DESIGNWARE
517    select SDHCI
518
519config ASPEED_SOC
520    bool
521    default y
522    depends on TCG && ARM
523    select DS1338
524    select FTGMAC100
525    select I2C
526    select DPS310
527    select PCA9552
528    select SERIAL_MM
529    select SMBUS_EEPROM
530    select PCA954X
531    select SSI
532    select SSI_M25P80
533    select TMP105
534    select TMP421
535    select EMC141X
536    select UNIMP
537    select LED
538    select PMBUS
539    select MAX31785
540    select FSI_APB2OPB_ASPEED
541
542config MPS2
543    bool
544    default y
545    depends on TCG && ARM
546    imply I2C_DEVICES
547    select ARMSSE
548    select LAN9118
549    select MPS2_FPGAIO
550    select MPS2_SCC
551    select OR_IRQ
552    select PL022    # SPI
553    select PL080    # DMA controller
554    select SPLIT_IRQ
555    select UNIMP
556    select CMSDK_APB_WATCHDOG
557    select ARM_SBCON_I2C
558
559config FSL_IMX7
560    bool
561    default y
562    depends on TCG && ARM
563    imply PCI_DEVICES
564    imply TEST_DEVICES
565    imply I2C_DEVICES
566    select A15MPCORE
567    select PCI
568    select IMX
569    select IMX_FEC
570    select IMX_I2C
571    select WDT_IMX2
572    select PCI_EXPRESS_DESIGNWARE
573    select SDHCI
574    select UNIMP
575
576config ARM_SMMUV3
577    bool
578
579config FSL_IMX6UL
580    bool
581    default y
582    depends on TCG && ARM
583    imply I2C_DEVICES
584    select A15MPCORE
585    select IMX
586    select IMX_FEC
587    select IMX_I2C
588    select WDT_IMX2
589    select SDHCI
590    select UNIMP
591
592config MICROBIT
593    bool
594    default y
595    depends on TCG && ARM
596    select NRF51_SOC
597
598config NRF51_SOC
599    bool
600    imply I2C_DEVICES
601    select I2C
602    select ARM_V7M
603    select UNIMP
604
605config EMCRAFT_SF2
606    bool
607    default y
608    depends on TCG && ARM
609    select MSF2
610    select SSI_M25P80
611
612config MSF2
613    bool
614    select ARM_V7M
615    select PTIMER
616    select SERIAL_MM
617    select SSI
618    select UNIMP
619
620config ARMSSE
621    bool
622    select ARM_V7M
623    select ARMSSE_CPU_PWRCTRL
624    select ARMSSE_CPUID
625    select ARMSSE_MHU
626    select CMSDK_APB_TIMER
627    select CMSDK_APB_DUALTIMER
628    select CMSDK_APB_UART
629    select CMSDK_APB_WATCHDOG
630    select CPU_CLUSTER
631    select IOTKIT_SECCTL
632    select IOTKIT_SYSCTL
633    select IOTKIT_SYSINFO
634    select OR_IRQ
635    select SPLIT_IRQ
636    select TZ_MPC
637    select TZ_MSC
638    select TZ_PPC
639    select UNIMP
640    select SSE_COUNTER
641    select SSE_TIMER
642