xref: /openbmc/qemu/hw/arm/Kconfig (revision 069852d159a18219eb19281b146d612849a84e03)
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    select MAX78000_GCR
372    select MAX78000_TRNG
373
374config RASPI
375    bool
376    default y
377    depends on TCG && ARM
378    select FRAMEBUFFER
379    select PL011 # UART
380    select SDHCI
381    select USB_DWC2
382    select BCM2835_SPI
383    select BCM2835_I2C
384
385config STM32F100_SOC
386    bool
387    select ARM_V7M
388    select STM32F2XX_USART
389    select STM32F2XX_SPI
390
391config STM32F205_SOC
392    bool
393    select ARM_V7M
394    select OR_IRQ
395    select STM32F2XX_TIMER
396    select STM32F2XX_USART
397    select STM32F2XX_SYSCFG
398    select STM32F2XX_ADC
399    select STM32F2XX_SPI
400
401config STM32F405_SOC
402    bool
403    select ARM_V7M
404    select OR_IRQ
405    select STM32_RCC
406    select STM32F4XX_SYSCFG
407    select STM32F4XX_EXTI
408
409config B_L475E_IOT01A
410    bool
411    default y
412    depends on TCG && ARM
413    select STM32L4X5_SOC
414    imply DM163
415
416config STM32L4X5_SOC
417    bool
418    select ARM_V7M
419    select OR_IRQ
420    select STM32L4X5_EXTI
421    select STM32L4X5_SYSCFG
422    select STM32L4X5_RCC
423    select STM32L4X5_GPIO
424    select STM32L4X5_USART
425
426config XLNX_ZYNQMP_ARM
427    bool
428    default y if PIXMAN
429    depends on TCG && AARCH64
430    select AHCI_SYSBUS
431    select ARM_GIC
432    select CADENCE
433    select CPU_CLUSTER
434    select DDC
435    select DPCD
436    select DEVICE_TREE
437    select SDHCI
438    select SSI
439    select SSI_M25P80
440    select XILINX_AXI
441    select XILINX_SPIPS
442    select XLNX_CSU_DMA
443    select XLNX_DISPLAYPORT
444    select XLNX_ZYNQMP
445    select XLNX_ZDMA
446    select USB_DWC3
447
448config XLNX_VERSAL
449    bool
450    default y
451    depends on TCG && AARCH64
452    select ARM_GIC
453    select CPU_CLUSTER
454    select DEVICE_TREE
455    select PL011 # UART
456    select CADENCE
457    select VIRTIO_MMIO
458    select UNIMP
459    select XLNX_ZDMA
460    select XLNX_ZYNQMP
461    select OR_IRQ
462    select XLNX_BBRAM
463    select XLNX_EFUSE_VERSAL
464    select XLNX_USB_SUBSYS
465    select XLNX_VERSAL_TRNG
466    select XLNX_CSU_DMA
467
468config NPCM7XX
469    bool
470    default y
471    depends on TCG && ARM
472    select A9MPCORE
473    select ADM1266
474    select ADM1272
475    select ARM_GIC
476    select SMBUS
477    select AT24C  # EEPROM
478    select MAX34451
479    select ISL_PMBUS_VR
480    select PL310  # cache controller
481    select PMBUS
482    select SERIAL_MM
483    select SSI
484    select UNIMP
485    select PCA954X
486    select USB_OHCI_SYSBUS
487
488config NPCM8XX
489    bool
490    default y
491    depends on TCG && AARCH64
492    select ARM_GIC
493    select SMBUS
494    select PL310  # cache controller
495    select NPCM7XX
496    select SERIAL
497    select SSI
498    select UNIMP
499
500
501config FSL_IMX25
502    bool
503    default y
504    depends on TCG && ARM
505    imply I2C_DEVICES
506    select IMX
507    select IMX_FEC
508    select IMX_I2C
509    select USB_CHIPIDEA
510    select WDT_IMX2
511    select SDHCI
512
513config FSL_IMX31
514    bool
515    default y
516    depends on TCG && ARM
517    imply I2C_DEVICES
518    select SERIAL_MM
519    select IMX
520    select IMX_I2C
521    select WDT_IMX2
522    select LAN9118
523
524config FSL_IMX6
525    bool
526    imply PCIE_DEVICES
527    imply I2C_DEVICES
528    select A9MPCORE
529    select IMX
530    select IMX_FEC
531    select IMX_I2C
532    select IMX_USBPHY
533    select WDT_IMX2
534    select PL310  # cache controller
535    select PCI_EXPRESS_DESIGNWARE
536    select SDHCI
537    select USB_CHIPIDEA
538    select OR_IRQ
539
540config ASPEED_SOC
541    bool
542    default y
543    depends on TCG && ARM
544    select DS1338
545    select FTGMAC100
546    select I2C
547    select DPS310
548    select PCA9552
549    select PCA9554
550    select SERIAL_MM
551    select SMBUS_EEPROM
552    select PCA954X
553    select SSI
554    select SSI_M25P80
555    select TMP105
556    select TMP421
557    select EMC141X
558    select UNIMP
559    select LED
560    select PMBUS
561    select MAX31785
562    select FSI_APB2OPB_ASPEED
563    select AT24C
564
565config MPS2
566    bool
567    default y
568    depends on TCG && ARM
569    imply I2C_DEVICES
570    select ARMSSE
571    select LAN9118
572    select MPS2_FPGAIO
573    select MPS2_SCC
574    select OR_IRQ
575    select PL022    # SPI
576    select PL080    # DMA controller
577    select SPLIT_IRQ
578    select UNIMP
579    select CMSDK_APB_WATCHDOG
580    select ARM_SBCON_I2C
581
582config FSL_IMX7
583    bool
584    default y
585    depends on TCG && ARM
586    imply PCI_DEVICES
587    imply TEST_DEVICES
588    imply I2C_DEVICES
589    select A15MPCORE
590    select PCI
591    select IMX
592    select IMX_FEC
593    select IMX_I2C
594    select WDT_IMX2
595    select PCI_EXPRESS_DESIGNWARE
596    select SDHCI
597    select OR_IRQ
598    select UNIMP
599    select USB_CHIPIDEA
600
601config FSL_IMX8MP
602    bool
603    imply I2C_DEVICES
604    imply PCI_DEVICES
605    select ARM_GIC
606    select FSL_IMX8MP_ANALOG
607    select FSL_IMX8MP_CCM
608    select IMX
609    select IMX_FEC
610    select IMX_I2C
611    select OR_IRQ
612    select PCI_EXPRESS_DESIGNWARE
613    select PCI_EXPRESS_FSL_IMX8M_PHY
614    select SDHCI
615    select UNIMP
616    select USB_DWC3
617    select WDT_IMX2
618
619config FSL_IMX8MP_EVK
620    bool
621    default y
622    depends on TCG && AARCH64
623    select FSL_IMX8MP
624
625config ARM_SMMUV3
626    bool
627
628config FSL_IMX6UL
629    bool
630    default y
631    depends on TCG && ARM
632    imply I2C_DEVICES
633    select A15MPCORE
634    select IMX
635    select IMX_FEC
636    select IMX_I2C
637    select WDT_IMX2
638    select SDHCI
639    select USB_CHIPIDEA
640    select UNIMP
641
642config MICROBIT
643    bool
644    default y
645    depends on TCG && ARM
646    select NRF51_SOC
647
648config NRF51_SOC
649    bool
650    imply I2C_DEVICES
651    select I2C
652    select ARM_V7M
653    select UNIMP
654
655config EMCRAFT_SF2
656    bool
657    default y
658    depends on TCG && ARM
659    select MSF2
660    select SSI_M25P80
661
662config MSF2
663    bool
664    select ARM_V7M
665    select PTIMER
666    select SERIAL_MM
667    select SSI
668    select UNIMP
669
670config ARMSSE
671    bool
672    select ARM_V7M
673    select ARMSSE_CPU_PWRCTRL
674    select ARMSSE_CPUID
675    select ARMSSE_MHU
676    select CMSDK_APB_TIMER
677    select CMSDK_APB_DUALTIMER
678    select CMSDK_APB_UART
679    select CMSDK_APB_WATCHDOG
680    select CPU_CLUSTER
681    select IOTKIT_SECCTL
682    select IOTKIT_SYSCTL
683    select IOTKIT_SYSINFO
684    select OR_IRQ
685    select SPLIT_IRQ
686    select TZ_MPC
687    select TZ_MSC
688    select TZ_PPC
689    select UNIMP
690    select SSE_COUNTER
691    select SSE_TIMER
692