xref: /openbmc/qemu/hw/arm/Kconfig (revision 6fdc5bc1)
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 ECC
150    select NAND
151    select PFLASH_CFI01
152    select SD
153    select SERIAL_MM
154
155config REALVIEW
156    bool
157    default y
158    depends on TCG && ARM
159    imply PCI_DEVICES
160    imply PCI_TESTDEV
161    imply I2C_DEVICES
162    select SMC91C111
163    select LAN9118
164    select A9MPCORE
165    select A15MPCORE
166    select ARM11MPCORE
167    select ARM_TIMER
168    select VERSATILE_PCI
169    select WM8750 # audio codec
170    select LSI_SCSI_PCI
171    select PCI
172    select PL011  # UART
173    select PL031  # RTC
174    select PL041  # audio codec
175    select PL050  # keyboard/mouse
176    select PL061  # GPIO
177    select PL080  # DMA controller
178    select PL110
179    select PL181  # display
180    select PL310  # cache controller
181    select ARM_SBCON_I2C
182    select DS1338 # I2C RTC+NVRAM
183    select USB_OHCI_SYSBUS
184
185config SBSA_REF
186    bool
187    default y
188    depends on TCG && AARCH64
189    imply PCI_DEVICES
190    select DEVICE_TREE
191    select AHCI
192    select ARM_SMMUV3
193    select GPIO_KEY
194    select PCI_EXPRESS
195    select PCI_EXPRESS_GENERIC_BRIDGE
196    select PFLASH_CFI01
197    select PL011 # UART
198    select PL031 # RTC
199    select PL061 # GPIO
200    select USB_XHCI_SYSBUS
201    select WDT_SBSA
202    select BOCHS_DISPLAY
203    select IDE_BUS
204    select IDE_DEV
205
206config SABRELITE
207    bool
208    default y
209    depends on TCG && ARM
210    select FSL_IMX6
211    select SSI_M25P80
212
213config STELLARIS
214    bool
215    default y
216    depends on TCG && ARM
217    imply I2C_DEVICES
218    select ARM_V7M
219    select CMSDK_APB_WATCHDOG
220    select I2C
221    select PL011 # UART
222    select PL022 # SPI
223    select PL061 # GPIO
224    select SSD0303 # OLED display
225    select SSD0323 # OLED display
226    select SSI_SD
227    select STELLARIS_GAMEPAD
228    select STELLARIS_ENET # ethernet
229    select STELLARIS_GPTM # general purpose timer module
230    select UNIMP
231
232config STM32VLDISCOVERY
233    bool
234    default y
235    depends on TCG && ARM
236    select STM32F100_SOC
237
238config STRONGARM
239    bool
240    select PXA2XX_TIMER
241    select SSI
242
243config COLLIE
244    bool
245    default y
246    depends on TCG && ARM
247    select PFLASH_CFI01
248    select ZAURUS_SCOOP
249    select STRONGARM
250
251config SX1
252    bool
253    default y
254    depends on TCG && ARM
255    select OMAP
256
257config VERSATILE
258    bool
259    default y
260    depends on TCG && ARM
261    select ARM_TIMER # sp804
262    select PFLASH_CFI01
263    select LSI_SCSI_PCI
264    select PL050  # keyboard/mouse
265    select PL080  # DMA controller
266    select PL190  # Vector PIC
267    select REALVIEW
268    select USB_OHCI_SYSBUS
269
270config VEXPRESS
271    bool
272    default y
273    depends on TCG && ARM
274    select DEVICE_TREE
275    select A9MPCORE
276    select A15MPCORE
277    select ARM_MPTIMER
278    select ARM_TIMER # sp804
279    select LAN9118
280    select PFLASH_CFI01
281    select PL011 # UART
282    select PL041 # audio codec
283    select PL181  # display
284    select REALVIEW
285    select SII9022
286    select VIRTIO_MMIO
287
288config ZYNQ
289    bool
290    default y
291    depends on TCG && ARM
292    select A9MPCORE
293    select CADENCE # UART
294    select PFLASH_CFI02
295    select PL310 # cache controller
296    select PL330
297    select SDHCI
298    select SSI_M25P80
299    select USB_EHCI_SYSBUS
300    select XILINX # UART
301    select XILINX_AXI
302    select XILINX_SPI
303    select XILINX_SPIPS
304    select ZYNQ_DEVCFG
305
306config ARM_V7M
307    bool
308    # currently v7M must be included in a TCG build due to translate.c
309    default y
310    depends on TCG && ARM
311    select PTIMER
312
313config ALLWINNER_A10
314    bool
315    select AHCI
316    select ALLWINNER_A10_PIT
317    select ALLWINNER_A10_PIC
318    select ALLWINNER_A10_CCM
319    select ALLWINNER_A10_DRAMC
320    select ALLWINNER_WDT
321    select ALLWINNER_EMAC
322    select ALLWINNER_I2C
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 STM32F4XX_SYSCFG
392    select STM32F4XX_EXTI
393
394config B_L475E_IOT01A
395    bool
396    default y
397    depends on TCG && ARM
398    select STM32L4X5_SOC
399    imply DM163
400
401config STM32L4X5_SOC
402    bool
403    select ARM_V7M
404    select OR_IRQ
405    select STM32L4X5_EXTI
406    select STM32L4X5_SYSCFG
407    select STM32L4X5_RCC
408    select STM32L4X5_GPIO
409    select STM32L4X5_USART
410
411config XLNX_ZYNQMP_ARM
412    bool
413    default y if PIXMAN
414    depends on TCG && AARCH64
415    select AHCI
416    select ARM_GIC
417    select CADENCE
418    select CPU_CLUSTER
419    select DDC
420    select DPCD
421    select DEVICE_TREE
422    select SDHCI
423    select SSI
424    select SSI_M25P80
425    select XILINX_AXI
426    select XILINX_SPIPS
427    select XLNX_CSU_DMA
428    select XLNX_DISPLAYPORT
429    select XLNX_ZYNQMP
430    select XLNX_ZDMA
431    select USB_DWC3
432
433config XLNX_VERSAL
434    bool
435    default y
436    depends on TCG && AARCH64
437    select ARM_GIC
438    select CPU_CLUSTER
439    select DEVICE_TREE
440    select PL011
441    select CADENCE
442    select VIRTIO_MMIO
443    select UNIMP
444    select XLNX_ZDMA
445    select XLNX_ZYNQMP
446    select OR_IRQ
447    select XLNX_BBRAM
448    select XLNX_EFUSE_VERSAL
449    select XLNX_USB_SUBSYS
450    select XLNX_VERSAL_TRNG
451    select XLNX_CSU_DMA
452
453config NPCM7XX
454    bool
455    default y
456    depends on TCG && ARM
457    select A9MPCORE
458    select ADM1266
459    select ADM1272
460    select ARM_GIC
461    select SMBUS
462    select AT24C  # EEPROM
463    select MAX34451
464    select ISL_PMBUS_VR
465    select PL310  # cache controller
466    select PMBUS
467    select SERIAL_MM
468    select SSI
469    select UNIMP
470    select PCA954X
471    select USB_OHCI_SYSBUS
472
473config FSL_IMX25
474    bool
475    default y
476    depends on TCG && ARM
477    imply I2C_DEVICES
478    select IMX
479    select IMX_FEC
480    select IMX_I2C
481    select WDT_IMX2
482    select SDHCI
483
484config FSL_IMX31
485    bool
486    default y
487    depends on TCG && ARM
488    imply I2C_DEVICES
489    select SERIAL_MM
490    select IMX
491    select IMX_I2C
492    select WDT_IMX2
493    select LAN9118
494
495config FSL_IMX6
496    bool
497    imply PCIE_DEVICES
498    imply I2C_DEVICES
499    select A9MPCORE
500    select IMX
501    select IMX_FEC
502    select IMX_I2C
503    select IMX_USBPHY
504    select WDT_IMX2
505    select PL310  # cache controller
506    select PCI_EXPRESS_DESIGNWARE
507    select SDHCI
508
509config ASPEED_SOC
510    bool
511    default y
512    depends on TCG && ARM
513    select DS1338
514    select FTGMAC100
515    select I2C
516    select DPS310
517    select PCA9552
518    select SERIAL_MM
519    select SMBUS_EEPROM
520    select PCA954X
521    select SSI
522    select SSI_M25P80
523    select TMP105
524    select TMP421
525    select EMC141X
526    select UNIMP
527    select LED
528    select PMBUS
529    select MAX31785
530    select FSI_APB2OPB_ASPEED
531
532config MPS2
533    bool
534    default y
535    depends on TCG && ARM
536    imply I2C_DEVICES
537    select ARMSSE
538    select LAN9118
539    select MPS2_FPGAIO
540    select MPS2_SCC
541    select OR_IRQ
542    select PL022    # SPI
543    select PL080    # DMA controller
544    select SPLIT_IRQ
545    select UNIMP
546    select CMSDK_APB_WATCHDOG
547    select ARM_SBCON_I2C
548
549config FSL_IMX7
550    bool
551    default y
552    depends on TCG && ARM
553    imply PCI_DEVICES
554    imply TEST_DEVICES
555    imply I2C_DEVICES
556    select A15MPCORE
557    select PCI
558    select IMX
559    select IMX_FEC
560    select IMX_I2C
561    select WDT_IMX2
562    select PCI_EXPRESS_DESIGNWARE
563    select SDHCI
564    select UNIMP
565
566config ARM_SMMUV3
567    bool
568
569config FSL_IMX6UL
570    bool
571    default y
572    depends on TCG && ARM
573    imply I2C_DEVICES
574    select A15MPCORE
575    select IMX
576    select IMX_FEC
577    select IMX_I2C
578    select WDT_IMX2
579    select SDHCI
580    select UNIMP
581
582config MICROBIT
583    bool
584    default y
585    depends on TCG && ARM
586    select NRF51_SOC
587
588config NRF51_SOC
589    bool
590    imply I2C_DEVICES
591    select I2C
592    select ARM_V7M
593    select UNIMP
594
595config EMCRAFT_SF2
596    bool
597    default y
598    depends on TCG && ARM
599    select MSF2
600    select SSI_M25P80
601
602config MSF2
603    bool
604    select ARM_V7M
605    select PTIMER
606    select SERIAL_MM
607    select SSI
608    select UNIMP
609
610config ARMSSE
611    bool
612    select ARM_V7M
613    select ARMSSE_CPU_PWRCTRL
614    select ARMSSE_CPUID
615    select ARMSSE_MHU
616    select CMSDK_APB_TIMER
617    select CMSDK_APB_DUALTIMER
618    select CMSDK_APB_UART
619    select CMSDK_APB_WATCHDOG
620    select CPU_CLUSTER
621    select IOTKIT_SECCTL
622    select IOTKIT_SYSCTL
623    select IOTKIT_SYSINFO
624    select OR_IRQ
625    select SPLIT_IRQ
626    select TZ_MPC
627    select TZ_MSC
628    select TZ_PPC
629    select UNIMP
630    select SSE_COUNTER
631    select SSE_TIMER
632