mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-23 20:53:53 +08:00
9aa30f1c13
This commit adds the basic support for the Armada 380 and Armada 385 SOCs. These SoCs share most of their IP with the Armada 370/XP SoCs. The main difference is the use of a Cortex A9 CPU instead of the PJ4B CPU. The Armada 380 is a single core Cortex-A9, while the Armada 385 is a dual-core Cortex-A9. The support is introduced in board-v7.c, together with Armada 370/XP, but a separate DT structure is added, because Armada 38x will need a different set of SMP operations when the SMP support is introduced. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Jason Cooper <jason@lakedaemon.net>
81 lines
1.8 KiB
Plaintext
81 lines
1.8 KiB
Plaintext
config ARCH_MVEBU
|
|
bool "Marvell SOCs with Device Tree support" if ARCH_MULTI_V7
|
|
select ARCH_SUPPORTS_BIG_ENDIAN
|
|
select CLKSRC_MMIO
|
|
select COMMON_CLK
|
|
select GENERIC_CLOCKEVENTS
|
|
select GENERIC_IRQ_CHIP
|
|
select IRQ_DOMAIN
|
|
select MULTI_IRQ_HANDLER
|
|
select PINCTRL
|
|
select PLAT_ORION
|
|
select SPARSE_IRQ
|
|
select CLKDEV_LOOKUP
|
|
select MVEBU_MBUS
|
|
select ZONE_DMA if ARM_LPAE
|
|
select ARCH_REQUIRE_GPIOLIB
|
|
select MIGHT_HAVE_PCI
|
|
select PCI_QUIRKS if PCI
|
|
|
|
if ARCH_MVEBU
|
|
|
|
menu "Marvell SOC with device tree"
|
|
|
|
config MACH_MVEBU_V7
|
|
bool
|
|
select ARMADA_370_XP_TIMER
|
|
select HAVE_SMP
|
|
select CACHE_L2X0
|
|
|
|
config MACH_ARMADA_370
|
|
bool "Marvell Armada 370 boards"
|
|
select ARMADA_370_CLK
|
|
select CPU_PJ4B
|
|
select MACH_MVEBU_V7
|
|
select PINCTRL_ARMADA_370
|
|
help
|
|
Say 'Y' here if you want your kernel to support boards based
|
|
on the Marvell Armada 370 SoC with device tree.
|
|
|
|
config MACH_ARMADA_375
|
|
bool "Marvell Armada 375 boards"
|
|
select ARM_ERRATA_720789
|
|
select ARM_ERRATA_753970
|
|
select ARM_GIC
|
|
select ARMADA_375_CLK
|
|
select CPU_V7
|
|
select MACH_MVEBU_V7
|
|
select NEON
|
|
select PINCTRL_ARMADA_375
|
|
help
|
|
Say 'Y' here if you want your kernel to support boards based
|
|
on the Marvell Armada 375 SoC with device tree.
|
|
|
|
config MACH_ARMADA_38X
|
|
bool "Marvell Armada 380/385 boards"
|
|
select ARM_ERRATA_720789
|
|
select ARM_ERRATA_753970
|
|
select ARM_GIC
|
|
select ARMADA_38X_CLK
|
|
select CPU_V7
|
|
select MACH_MVEBU_V7
|
|
select NEON
|
|
select PINCTRL_ARMADA_38X
|
|
help
|
|
Say 'Y' here if you want your kernel to support boards based
|
|
on the Marvell Armada 380/385 SoC with device tree.
|
|
|
|
config MACH_ARMADA_XP
|
|
bool "Marvell Armada XP boards"
|
|
select ARMADA_XP_CLK
|
|
select CPU_PJ4B
|
|
select MACH_MVEBU_V7
|
|
select PINCTRL_ARMADA_XP
|
|
help
|
|
Say 'Y' here if you want your kernel to support boards based
|
|
on the Marvell Armada XP SoC with device tree.
|
|
|
|
endmenu
|
|
|
|
endif
|