xref: /openbmc/qemu/hw/arm/Kconfig (revision ca5aa28e)
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 # UART
24    select PL031 # RTC
25    select PL061 # GPIO
26    select GPIO_PWR
27    select PLATFORM_BUS
28    select SMBIOS
29    select VIRTIO_MMIO
30    select ACPI_PCI
31    select MEM_DEVICE
32    select DIMM
33    select ACPI_HW_REDUCED
34    select ACPI_APEI
35    select ACPI_VIOT
36    select VIRTIO_MEM_SUPPORTED
37    select ACPI_CXL
38    select ACPI_HMAT
39
40config CUBIEBOARD
41    bool
42    default y
43    depends on TCG && ARM
44    select ALLWINNER_A10
45
46config DIGIC
47    bool
48    default y
49    depends on TCG && ARM
50    select PTIMER
51    select PFLASH_CFI02
52
53config EXYNOS4
54    bool
55    default y
56    depends on TCG && ARM
57    imply I2C_DEVICES
58    select A9MPCORE
59    select I2C
60    select LAN9118
61    select PL310 # cache controller
62    select PTIMER
63    select SDHCI
64    select USB_EHCI_SYSBUS
65    select OR_IRQ
66
67config HIGHBANK
68    bool
69    default y
70    depends on TCG && ARM
71    select A9MPCORE
72    select A15MPCORE
73    select AHCI
74    select ARM_TIMER # sp804
75    select ARM_V7M
76    select PL011 # UART
77    select PL022 # SPI
78    select PL031 # RTC
79    select PL061 # GPIO
80    select PL310 # cache controller
81    select XGMAC # ethernet
82
83config INTEGRATOR
84    bool
85    default y
86    depends on TCG && ARM
87    select ARM_TIMER
88    select INTEGRATOR_DEBUG
89    select PL011 # UART
90    select PL031 # RTC
91    select PL041 # audio
92    select PL050 # keyboard/mouse
93    select PL110 # pl111 LCD controller
94    select PL181 # display
95    select SMC91C111
96
97config MPS3R
98    bool
99    default y
100    depends on TCG && ARM
101
102config MUSCA
103    bool
104    default y
105    depends on TCG && ARM
106    select ARMSSE
107    select PL011
108    select PL031
109    select SPLIT_IRQ
110    select UNIMP
111
112config MARVELL_88W8618
113    bool
114
115config MUSICPAL
116    bool
117    default y
118    depends on TCG && ARM
119    select OR_IRQ
120    select BITBANG_I2C
121    select MARVELL_88W8618
122    select PTIMER
123    select PFLASH_CFI02
124    select SERIAL_MM
125    select WM8750
126
127config NETDUINO2
128    bool
129    default y
130    depends on TCG && ARM
131    select STM32F205_SOC
132
133config NETDUINOPLUS2
134    bool
135    default y
136    depends on TCG && ARM
137    select STM32F405_SOC
138
139config OLIMEX_STM32_H405
140    bool
141    default y
142    depends on TCG && ARM
143    select STM32F405_SOC
144
145config OMAP
146    bool
147    select FRAMEBUFFER
148    select I2C
149    select NAND
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
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_EHCI_SYSBUS
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
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
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
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
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 FSL_IMX25
475    bool
476    default y
477    depends on TCG && ARM
478    imply I2C_DEVICES
479    select IMX
480    select IMX_FEC
481    select IMX_I2C
482    select WDT_IMX2
483    select SDHCI
484
485config FSL_IMX31
486    bool
487    default y
488    depends on TCG && ARM
489    imply I2C_DEVICES
490    select SERIAL_MM
491    select IMX
492    select IMX_I2C
493    select WDT_IMX2
494    select LAN9118
495
496config FSL_IMX6
497    bool
498    imply PCIE_DEVICES
499    imply I2C_DEVICES
500    select A9MPCORE
501    select IMX
502    select IMX_FEC
503    select IMX_I2C
504    select IMX_USBPHY
505    select WDT_IMX2
506    select PL310  # cache controller
507    select PCI_EXPRESS_DESIGNWARE
508    select SDHCI
509
510config ASPEED_SOC
511    bool
512    default y
513    depends on TCG && ARM
514    select DS1338
515    select FTGMAC100
516    select I2C
517    select DPS310
518    select PCA9552
519    select SERIAL_MM
520    select SMBUS_EEPROM
521    select PCA954X
522    select SSI
523    select SSI_M25P80
524    select TMP105
525    select TMP421
526    select EMC141X
527    select UNIMP
528    select LED
529    select PMBUS
530    select MAX31785
531    select FSI_APB2OPB_ASPEED
532
533config MPS2
534    bool
535    default y
536    depends on TCG && ARM
537    imply I2C_DEVICES
538    select ARMSSE
539    select LAN9118
540    select MPS2_FPGAIO
541    select MPS2_SCC
542    select OR_IRQ
543    select PL022    # SPI
544    select PL080    # DMA controller
545    select SPLIT_IRQ
546    select UNIMP
547    select CMSDK_APB_WATCHDOG
548    select ARM_SBCON_I2C
549
550config FSL_IMX7
551    bool
552    default y
553    depends on TCG && ARM
554    imply PCI_DEVICES
555    imply TEST_DEVICES
556    imply I2C_DEVICES
557    select A15MPCORE
558    select PCI
559    select IMX
560    select IMX_FEC
561    select IMX_I2C
562    select WDT_IMX2
563    select PCI_EXPRESS_DESIGNWARE
564    select SDHCI
565    select UNIMP
566
567config ARM_SMMUV3
568    bool
569
570config FSL_IMX6UL
571    bool
572    default y
573    depends on TCG && ARM
574    imply I2C_DEVICES
575    select A15MPCORE
576    select IMX
577    select IMX_FEC
578    select IMX_I2C
579    select WDT_IMX2
580    select SDHCI
581    select UNIMP
582
583config MICROBIT
584    bool
585    default y
586    depends on TCG && ARM
587    select NRF51_SOC
588
589config NRF51_SOC
590    bool
591    imply I2C_DEVICES
592    select I2C
593    select ARM_V7M
594    select UNIMP
595
596config EMCRAFT_SF2
597    bool
598    default y
599    depends on TCG && ARM
600    select MSF2
601    select SSI_M25P80
602
603config MSF2
604    bool
605    select ARM_V7M
606    select PTIMER
607    select SERIAL_MM
608    select SSI
609    select UNIMP
610
611config ARMSSE
612    bool
613    select ARM_V7M
614    select ARMSSE_CPU_PWRCTRL
615    select ARMSSE_CPUID
616    select ARMSSE_MHU
617    select CMSDK_APB_TIMER
618    select CMSDK_APB_DUALTIMER
619    select CMSDK_APB_UART
620    select CMSDK_APB_WATCHDOG
621    select CPU_CLUSTER
622    select IOTKIT_SECCTL
623    select IOTKIT_SYSCTL
624    select IOTKIT_SYSINFO
625    select OR_IRQ
626    select SPLIT_IRQ
627    select TZ_MPC
628    select TZ_MSC
629    select TZ_PPC
630    select UNIMP
631    select SSE_COUNTER
632    select SSE_TIMER
633