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