mirror of
https://github.com/torvalds/linux.git
synced 2026-07-27 17:47:41 +02:00
This SoC is used in low end LTE-to-WiFi routers, for example some D-Link
DWR 932 revisions, ZTE K10, ZLT S10 4G, but also models that are branded
and sold by ISPs themselves. They are widespread in Africa, China,
Russia and Eastern Europe.
This SoC is a relative of the zx296702 and zx296718 that had some
upstream support until commit 89d4f98ae9 ("ARM: remove zte zx
platform").
Reviewed-by: Linus Walleij <linusw@kernel.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Signed-off-by: Stefan Dösinger <stefandoesinger@gmail.com>
---
Patch changelog:
v8:
* Select ARM_PSCI_FW (Sashiko). This is an issue make defconfig pointed
out in the last patch in this series. The board does not have PSCI
firmware as far as I can tell, but the ARM_GIC_V3 option indirectly
assumes ARM_PSCI_FW is enabled.
* Include <linux/init.h> in the board file for __initdata (Sashiko),
removed other includes copypasted from another platform that aren't
needed. Let's see if Sashiko agrees.
* Add the SoC documentation to the documentation index (Sashiko)
* Add the SoC documentation to MAINTAINERS (Sashiko)
* Removed redundant if ARCH_ZTE (Sashiko)
* Point towards a sane (USB-Only) U-Boot and modify the example code for
booting from NAND to detect already fixed GIC setups.
30 lines
793 B
Plaintext
30 lines
793 B
Plaintext
# 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
|