airoha: Add new target platform
[openwrt/staging/aparcar.git] / target / linux / airoha / patches-5.15 / 0001-add-airoha-platform.patch
1 diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
2 index 66f5d6c3..05cd3385 100644
3 --- a/arch/arm/Kconfig
4 +++ b/arch/arm/Kconfig
5 @@ -571,6 +571,18 @@ config ARCH_VIRT
6 select HAVE_ARM_ARCH_TIMER
7 select ARCH_SUPPORTS_BIG_ENDIAN
8
9 +config ARCH_AIROHA
10 + bool "Airoha SoC Support"
11 + depends on ARCH_MULTI_V7
12 + select ARM_AMBA
13 + select ARM_GIC
14 + select ARM_GIC_V3
15 + select ARM_PSCI
16 + select HAVE_ARM_ARCH_TIMER
17 + select COMMON_CLK
18 + help
19 + Support for Airoha EN7523 SoCs
20 +
21 #
22 # This is sorted alphabetically by mach-* pathname. However, plat-*
23 # Kconfigs may be included either alphabetically (according to the
24 diff --git a/arch/arm/Makefile b/arch/arm/Makefile
25 index fa45837b..c34f7463 100644
26 --- a/arch/arm/Makefile
27 +++ b/arch/arm/Makefile
28 @@ -156,6 +156,7 @@ textofs-$(CONFIG_ARCH_AXXIA) := 0x00308000
29 # Machine directory name. This list is sorted alphanumerically
30 # by CONFIG_* macro name.
31 machine-$(CONFIG_ARCH_ACTIONS) += actions
32 +machine-$(CONFIG_ARCH_AIROHA) += airoha
33 machine-$(CONFIG_ARCH_ALPINE) += alpine
34 machine-$(CONFIG_ARCH_ARTPEC) += artpec
35 machine-$(CONFIG_ARCH_ASPEED) += aspeed