xref: /openbmc/qemu/hw/arm/Kconfig (revision 950dff9aa4dc1f287ea001e7d2689dcc76a7f1c4)
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 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
543config MPS2
544    bool
545    default y
546    depends on TCG && ARM
547    imply I2C_DEVICES
548    select ARMSSE
549    select LAN9118
550    select MPS2_FPGAIO
551    select MPS2_SCC
552    select OR_IRQ
553    select PL022    # SPI
554    select PL080    # DMA controller
555    select SPLIT_IRQ
556    select UNIMP
557    select CMSDK_APB_WATCHDOG
558    select ARM_SBCON_I2C
559
560config FSL_IMX7
561    bool
562    default y
563    depends on TCG && ARM
564    imply PCI_DEVICES
565    imply TEST_DEVICES
566    imply I2C_DEVICES
567    select A15MPCORE
568    select PCI
569    select IMX
570    select IMX_FEC
571    select IMX_I2C
572    select WDT_IMX2
573    select PCI_EXPRESS_DESIGNWARE
574    select SDHCI
575    select UNIMP
576
577config ARM_SMMUV3
578    bool
579
580config FSL_IMX6UL
581    bool
582    default y
583    depends on TCG && ARM
584    imply I2C_DEVICES
585    select A15MPCORE
586    select IMX
587    select IMX_FEC
588    select IMX_I2C
589    select WDT_IMX2
590    select SDHCI
591    select UNIMP
592
593config MICROBIT
594    bool
595    default y
596    depends on TCG && ARM
597    select NRF51_SOC
598
599config NRF51_SOC
600    bool
601    imply I2C_DEVICES
602    select I2C
603    select ARM_V7M
604    select UNIMP
605
606config EMCRAFT_SF2
607    bool
608    default y
609    depends on TCG && ARM
610    select MSF2
611    select SSI_M25P80
612
613config MSF2
614    bool
615    select ARM_V7M
616    select PTIMER
617    select SERIAL_MM
618    select SSI
619    select UNIMP
620
621config ARMSSE
622    bool
623    select ARM_V7M
624    select ARMSSE_CPU_PWRCTRL
625    select ARMSSE_CPUID
626    select ARMSSE_MHU
627    select CMSDK_APB_TIMER
628    select CMSDK_APB_DUALTIMER
629    select CMSDK_APB_UART
630    select CMSDK_APB_WATCHDOG
631    select CPU_CLUSTER
632    select IOTKIT_SECCTL
633    select IOTKIT_SYSCTL
634    select IOTKIT_SYSINFO
635    select OR_IRQ
636    select SPLIT_IRQ
637    select TZ_MPC
638    select TZ_MSC
639    select TZ_PPC
640    select UNIMP
641    select SSE_COUNTER
642    select SSE_TIMER
643