xref: /openbmc/qemu/hw/arm/Kconfig (revision 3c1b1fe7a8d2203473d9dd1268849bad736253d2)
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 ACPI_PCIHP
38    select ACPI_PCI_BRIDGE
39    select VIRTIO_MEM_SUPPORTED
40    select ACPI_CXL
41    select ACPI_HMAT
42
43config CUBIEBOARD
44    bool
45    default y
46    depends on TCG && ARM
47    select ALLWINNER_A10
48
49config DIGIC
50    bool
51    default y
52    depends on TCG && ARM
53    select PTIMER
54    select PFLASH_CFI02
55
56config EXYNOS4
57    bool
58    default y
59    depends on TCG && ARM
60    imply I2C_DEVICES
61    select A9MPCORE
62    select I2C
63    select LAN9118
64    select PL310 # cache controller
65    select PTIMER
66    select SDHCI
67    select USB_EHCI_SYSBUS
68    select OR_IRQ
69
70config HIGHBANK
71    bool
72    default y
73    depends on TCG && ARM
74    select A9MPCORE
75    select A15MPCORE
76    select AHCI_SYSBUS
77    select ARM_TIMER # sp804
78    select ARM_V7M
79    select PL011 # UART
80    select PL022 # SPI
81    select PL031 # RTC
82    select PL061 # GPIO
83    select PL310 # cache controller
84    select XGMAC # ethernet
85
86config INTEGRATOR
87    bool
88    default y
89    depends on TCG && ARM
90    select ARM_TIMER
91    select INTEGRATOR_DEBUG
92    select PL011 # 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 MAX78000FTHR
101    bool
102    default y
103    depends on TCG && ARM
104    select MAX78000_SOC
105
106config MPS3R
107    bool
108    default y
109    depends on TCG && ARM
110
111config MUSCA
112    bool
113    default y
114    depends on TCG && ARM
115    select ARMSSE
116    select PL011 # UART
117    select PL031
118    select SPLIT_IRQ
119    select UNIMP
120
121config MARVELL_88W8618
122    bool
123
124config MUSICPAL
125    bool
126    default y
127    depends on TCG && ARM
128    select OR_IRQ
129    select BITBANG_I2C
130    select MARVELL_88W8618
131    select PTIMER
132    select PFLASH_CFI02
133    select SERIAL_MM
134    select WM8750
135
136config NETDUINO2
137    bool
138    default y
139    depends on TCG && ARM
140    select STM32F205_SOC
141
142config NETDUINOPLUS2
143    bool
144    default y
145    depends on TCG && ARM
146    select STM32F405_SOC
147
148config OLIMEX_STM32_H405
149    bool
150    default y
151    depends on TCG && ARM
152    select STM32F405_SOC
153
154config OMAP
155    bool
156    select FRAMEBUFFER
157    select I2C
158    select PFLASH_CFI01
159    select SD
160    select SERIAL_MM
161
162config REALVIEW
163    bool
164    default y
165    depends on TCG && ARM
166    imply PCI_DEVICES
167    imply PCI_TESTDEV
168    imply I2C_DEVICES
169    select SMC91C111
170    select LAN9118
171    select A9MPCORE
172    select A15MPCORE
173    select ARM11MPCORE
174    select ARM_TIMER
175    select VERSATILE_PCI
176    select WM8750 # audio codec
177    select LSI_SCSI_PCI
178    select PCI
179    select PL011 # UART
180    select PL031  # RTC
181    select PL041  # audio codec
182    select PL050  # keyboard/mouse
183    select PL061  # GPIO
184    select PL080  # DMA controller
185    select PL110
186    select PL181  # display
187    select PL310  # cache controller
188    select ARM_SBCON_I2C
189    select DS1338 # I2C RTC+NVRAM
190    select USB_OHCI_SYSBUS
191
192config SBSA_REF
193    bool
194    default y
195    depends on TCG && AARCH64
196    imply PCI_DEVICES
197    select DEVICE_TREE
198    select AHCI_SYSBUS
199    select ARM_SMMUV3
200    select GPIO_KEY
201    select PCI_EXPRESS
202    select PCI_EXPRESS_GENERIC_BRIDGE
203    select PFLASH_CFI01
204    select PL011 # UART
205    select PL031 # RTC
206    select PL061 # GPIO
207    select USB_XHCI_SYSBUS
208    select WDT_SBSA
209    select BOCHS_DISPLAY
210    select IDE_BUS
211    select IDE_DEV
212
213config SABRELITE
214    bool
215    default y
216    depends on TCG && ARM
217    select FSL_IMX6
218    select SSI_M25P80
219
220config STELLARIS
221    bool
222    default y
223    depends on TCG && ARM
224    imply I2C_DEVICES
225    select ARM_V7M
226    select CMSDK_APB_WATCHDOG
227    select I2C
228    select PL011 # 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 # 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_CHIPIDEA
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_SYSBUS
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_SYSBUS
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 MAX78000_SOC
369    bool
370    select ARM_V7M
371    select MAX78000_ICC
372    select MAX78000_UART
373    select MAX78000_GCR
374    select MAX78000_TRNG
375    select MAX78000_AES
376
377config RASPI
378    bool
379    default y
380    depends on TCG && ARM
381    select FRAMEBUFFER
382    select PL011 # UART
383    select SDHCI
384    select USB_DWC2
385    select BCM2835_SPI
386    select BCM2835_I2C
387
388config STM32F100_SOC
389    bool
390    select ARM_V7M
391    select STM32F2XX_USART
392    select STM32F2XX_SPI
393
394config STM32F205_SOC
395    bool
396    select ARM_V7M
397    select OR_IRQ
398    select STM32F2XX_TIMER
399    select STM32F2XX_USART
400    select STM32F2XX_SYSCFG
401    select STM32F2XX_ADC
402    select STM32F2XX_SPI
403
404config STM32F405_SOC
405    bool
406    select ARM_V7M
407    select OR_IRQ
408    select STM32_RCC
409    select STM32F4XX_SYSCFG
410    select STM32F4XX_EXTI
411
412config B_L475E_IOT01A
413    bool
414    default y
415    depends on TCG && ARM
416    select STM32L4X5_SOC
417    imply DM163
418
419config STM32L4X5_SOC
420    bool
421    select ARM_V7M
422    select OR_IRQ
423    select STM32L4X5_EXTI
424    select STM32L4X5_SYSCFG
425    select STM32L4X5_RCC
426    select STM32L4X5_GPIO
427    select STM32L4X5_USART
428
429config XLNX_ZYNQMP_ARM
430    bool
431    default y if PIXMAN
432    depends on TCG && AARCH64
433    select AHCI_SYSBUS
434    select ARM_GIC
435    select CADENCE
436    select CPU_CLUSTER
437    select DDC
438    select DPCD
439    select DEVICE_TREE
440    select SDHCI
441    select SSI
442    select SSI_M25P80
443    select XILINX_AXI
444    select XILINX_SPIPS
445    select XLNX_CSU_DMA
446    select XLNX_DISPLAYPORT
447    select XLNX_ZYNQMP
448    select XLNX_ZDMA
449    select USB_DWC3
450
451config XLNX_VERSAL
452    bool
453    default y
454    depends on TCG && AARCH64
455    select ARM_GIC
456    select CPU_CLUSTER
457    select DEVICE_TREE
458    select PL011 # UART
459    select CADENCE
460    select VIRTIO_MMIO
461    select UNIMP
462    select XLNX_ZDMA
463    select XLNX_ZYNQMP
464    select OR_IRQ
465    select XLNX_BBRAM
466    select XLNX_EFUSE_VERSAL
467    select XLNX_USB_SUBSYS
468    select XLNX_VERSAL_TRNG
469    select XLNX_CSU_DMA
470
471config NPCM7XX
472    bool
473    default y
474    depends on TCG && ARM
475    select A9MPCORE
476    select ADM1266
477    select ADM1272
478    select ARM_GIC
479    select SMBUS
480    select AT24C  # EEPROM
481    select MAX34451
482    select ISL_PMBUS_VR
483    select PL310  # cache controller
484    select PMBUS
485    select SERIAL_MM
486    select SSI
487    select UNIMP
488    select PCA954X
489    select USB_OHCI_SYSBUS
490
491config NPCM8XX
492    bool
493    default y
494    depends on TCG && AARCH64
495    select ARM_GIC
496    select SMBUS
497    select PL310  # cache controller
498    select NPCM7XX
499    select SERIAL
500    select SSI
501    select UNIMP
502
503
504config FSL_IMX25
505    bool
506    default y
507    depends on TCG && ARM
508    imply I2C_DEVICES
509    select IMX
510    select IMX_FEC
511    select IMX_I2C
512    select USB_CHIPIDEA
513    select WDT_IMX2
514    select SDHCI
515
516config FSL_IMX31
517    bool
518    default y
519    depends on TCG && ARM
520    imply I2C_DEVICES
521    select SERIAL_MM
522    select IMX
523    select IMX_I2C
524    select WDT_IMX2
525    select LAN9118
526
527config FSL_IMX6
528    bool
529    imply PCIE_DEVICES
530    imply I2C_DEVICES
531    select A9MPCORE
532    select IMX
533    select IMX_FEC
534    select IMX_I2C
535    select IMX_USBPHY
536    select WDT_IMX2
537    select PL310  # cache controller
538    select PCI_EXPRESS_DESIGNWARE
539    select SDHCI
540    select USB_CHIPIDEA
541    select OR_IRQ
542
543config ASPEED_SOC
544    bool
545    default y
546    depends on TCG && ARM
547    imply PCI_DEVICES
548    select DS1338
549    select FTGMAC100
550    select I2C
551    select I3C
552    select DW_I3C
553    select I3C_DEVICES
554    select DPS310
555    select PCA9552
556    select PCA9554
557    select SERIAL_MM
558    select SMBUS_EEPROM
559    select PCA954X
560    select SSI
561    select SSI_M25P80
562    select TMP105
563    select TMP421
564    select EMC141X
565    select UNIMP
566    select LED
567    select PMBUS
568    select MAX31785
569    select FSI_APB2OPB_ASPEED
570    select AT24C
571    select PCI_EXPRESS
572    select PCI_EXPRESS_ASPEED
573
574config MPS2
575    bool
576    default y
577    depends on TCG && ARM
578    imply I2C_DEVICES
579    select ARMSSE
580    select LAN9118
581    select MPS2_FPGAIO
582    select MPS2_SCC
583    select OR_IRQ
584    select PL022    # SPI
585    select PL080    # DMA controller
586    select SPLIT_IRQ
587    select UNIMP
588    select CMSDK_APB_WATCHDOG
589    select ARM_SBCON_I2C
590
591config FSL_IMX7
592    bool
593    default y
594    depends on TCG && ARM
595    imply PCI_DEVICES
596    imply TEST_DEVICES
597    imply I2C_DEVICES
598    select A15MPCORE
599    select PCI
600    select IMX
601    select IMX_FEC
602    select IMX_I2C
603    select WDT_IMX2
604    select PCI_EXPRESS_DESIGNWARE
605    select SDHCI
606    select OR_IRQ
607    select UNIMP
608    select USB_CHIPIDEA
609
610config FSL_IMX8MP
611    bool
612    imply I2C_DEVICES
613    imply PCI_DEVICES
614    select ARM_GIC
615    select FSL_IMX8MP_ANALOG
616    select FSL_IMX8MP_CCM
617    select IMX
618    select IMX_FEC
619    select IMX_I2C
620    select OR_IRQ
621    select PCI_EXPRESS_DESIGNWARE
622    select PCI_EXPRESS_FSL_IMX8M_PHY
623    select SDHCI
624    select UNIMP
625    select USB_DWC3
626    select WDT_IMX2
627
628config FSL_IMX8MP_EVK
629    bool
630    default y
631    depends on TCG && AARCH64
632    select FSL_IMX8MP
633
634config ARM_SMMUV3
635    bool
636
637config FSL_IMX6UL
638    bool
639    default y
640    depends on TCG && ARM
641    imply I2C_DEVICES
642    select A15MPCORE
643    select IMX
644    select IMX_FEC
645    select IMX_I2C
646    select WDT_IMX2
647    select SDHCI
648    select USB_CHIPIDEA
649    select UNIMP
650
651config MICROBIT
652    bool
653    default y
654    depends on TCG && ARM
655    select NRF51_SOC
656
657config NRF51_SOC
658    bool
659    imply I2C_DEVICES
660    select I2C
661    select ARM_V7M
662    select UNIMP
663
664config EMCRAFT_SF2
665    bool
666    default y
667    depends on TCG && ARM
668    select MSF2
669    select SSI_M25P80
670
671config MSF2
672    bool
673    select ARM_V7M
674    select PTIMER
675    select SERIAL_MM
676    select SSI
677    select UNIMP
678    select IBM_CFFPS
679    select IR35221
680
681config ARMSSE
682    bool
683    select ARM_V7M
684    select ARMSSE_CPU_PWRCTRL
685    select ARMSSE_CPUID
686    select ARMSSE_MHU
687    select CMSDK_APB_TIMER
688    select CMSDK_APB_DUALTIMER
689    select CMSDK_APB_UART
690    select CMSDK_APB_WATCHDOG
691    select CPU_CLUSTER
692    select IOTKIT_SECCTL
693    select IOTKIT_SYSCTL
694    select IOTKIT_SYSINFO
695    select OR_IRQ
696    select SPLIT_IRQ
697    select TZ_MPC
698    select TZ_MSC
699    select TZ_PPC
700    select UNIMP
701    select SSE_COUNTER
702    select SSE_TIMER
703