Resguardo inicial

This commit is contained in:
lastdragon
2026-09-06 12:53:21 -06:00
parent 662efe3c2a
commit ad2088d178
94853 changed files with 43200404 additions and 0 deletions
+29
View File
@@ -0,0 +1,29 @@
# SPDX-License-Identifier: GPL-2.0-only
menuconfig ARCH_ZTE
bool "ZTE zx family"
depends on ARCH_MULTI_V7
help
Support for ZTE zx-based family of processors.
if ARCH_ZTE
config SOC_ZX297520V3
bool "zx297520v3 SoC"
default y
select ARM_GIC_V3
# This board does not have PSCI firmware, but ARM_GIC_V3 depends on
# ARM_PSCI_FW being enabled.
select ARM_PSCI_FW
select ARM_AMBA
select HAVE_ARM_ARCH_TIMER
select PM_GENERIC_DOMAINS if PM
help
Support for ZTE zx297520v3 SoC. It is a single core SoC used in cheap
LTE to WiFi routers. These devices can be identified by the occurrence
of the string "zx297520v3" in the boot output and /proc/cpuinfo of
their stock firmware.
Please read Documentation/arch/arm/zte/zx297520v3.rst on how to boot
the kernel.
endif
+2
View File
@@ -0,0 +1,2 @@
# SPDX-License-Identifier: GPL-2.0-only
obj-$(CONFIG_SOC_ZX297520V3) += zx297520v3.o
@@ -0,0 +1,16 @@
// SPDX-License-Identifier: GPL-2.0-only
/*
* Copyright 2026 Stefan Dösinger
*/
#include <asm/mach/arch.h>
#include <linux/init.h>
static const char *const zx297520v3_dt_compat[] __initconst = {
"zte,zx297520v3",
NULL,
};
DT_MACHINE_START(ZX, "ZTE zx297520v3 (Device Tree)")
.dt_compat = zx297520v3_dt_compat,
MACHINE_END