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