mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-04 04:02:26 +00:00
ARM: sunxi: add Allwinner ARMv5 SoCs
Add option for Allwinner ARMv5 SoCs and SoC F1C100s (which has a die used for many new F-series products, including F1C100A, F1C100s, F1C200s, F1C500, F1C600). Signed-off-by: Mesih Kilinc <mesihkilinc@gmail.com> Acked-by: Maxime Ripard <maxime.ripard@bootlin.com> Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
This commit is contained in:
parent
71cd532d66
commit
ba08dcc87f
@ -1,6 +1,6 @@
|
|||||||
menuconfig ARCH_SUNXI
|
menuconfig ARCH_SUNXI
|
||||||
bool "Allwinner SoCs"
|
bool "Allwinner SoCs"
|
||||||
depends on ARCH_MULTI_V7
|
depends on ARCH_MULTI_V5 || ARCH_MULTI_V7
|
||||||
select ARCH_HAS_RESET_CONTROLLER
|
select ARCH_HAS_RESET_CONTROLLER
|
||||||
select CLKSRC_MMIO
|
select CLKSRC_MMIO
|
||||||
select GENERIC_IRQ_CHIP
|
select GENERIC_IRQ_CHIP
|
||||||
@ -61,4 +61,15 @@ config ARCH_SUNXI_MC_SMP
|
|||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
if ARCH_MULTI_V5
|
||||||
|
|
||||||
|
config MACH_SUNIV
|
||||||
|
bool "Allwinner ARMv5 F-series (suniv) SoCs support"
|
||||||
|
default ARCH_SUNXI
|
||||||
|
help
|
||||||
|
Support for Allwinner suniv ARMv5 SoCs.
|
||||||
|
(F1C100A, F1C100s, F1C200s, F1C500, F1C600)
|
||||||
|
|
||||||
|
endif
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
@ -101,3 +101,12 @@ static const char * const sun9i_board_dt_compat[] = {
|
|||||||
DT_MACHINE_START(SUN9I_DT, "Allwinner sun9i Family")
|
DT_MACHINE_START(SUN9I_DT, "Allwinner sun9i Family")
|
||||||
.dt_compat = sun9i_board_dt_compat,
|
.dt_compat = sun9i_board_dt_compat,
|
||||||
MACHINE_END
|
MACHINE_END
|
||||||
|
|
||||||
|
static const char * const suniv_board_dt_compat[] = {
|
||||||
|
"allwinner,suniv-f1c100s",
|
||||||
|
NULL,
|
||||||
|
};
|
||||||
|
|
||||||
|
DT_MACHINE_START(SUNIV_DT, "Allwinner suniv Family")
|
||||||
|
.dt_compat = suniv_board_dt_compat,
|
||||||
|
MACHINE_END
|
||||||
|
Loading…
Reference in New Issue
Block a user