From patchwork Fri Jul 30 13:45:51 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bert Vermeulen X-Patchwork-Id: 489472 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 53051C432BE for ; Fri, 30 Jul 2021 13:53:46 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 3E5A860FE7 for ; Fri, 30 Jul 2021 13:53:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231137AbhG3Nxu (ORCPT ); Fri, 30 Jul 2021 09:53:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59490 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238993AbhG3Nxt (ORCPT ); Fri, 30 Jul 2021 09:53:49 -0400 Received: from yawp.biot.com (yawp.biot.com [IPv6:2a01:4f8:10a:8e::fce2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DAC3AC0613CF for ; Fri, 30 Jul 2021 06:53:44 -0700 (PDT) Received: from debian-spamd by yawp.biot.com with sa-checked (Exim 4.93) (envelope-from ) id 1m9Spz-006bUN-9E for devicetree@vger.kernel.org; Fri, 30 Jul 2021 15:46:07 +0200 Received: from [2a02:578:460c:1:ae1f:6bff:fed1:9ca8] (helo=sumner.biot.com) by yawp.biot.com with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1m9Spz-006bUJ-5u; Fri, 30 Jul 2021 15:46:07 +0200 Received: from bert by sumner.biot.com with local (Exim 4.93) (envelope-from ) id 1m9Spy-003a2R-MC; Fri, 30 Jul 2021 15:46:06 +0200 From: Bert Vermeulen To: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Russell King , Arnd Bergmann , Linus Walleij , Andrew Morton , Geert Uytterhoeven , Anshuman Khandual , Krzysztof Kozlowski , John Crispin , Ard Biesheuvel , YiFei Zhu , Mike Rapoport , =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= , Nick Desaulniers , Kees Cook , Masahiro Yamada , Nathan Chancellor , Viresh Kumar Cc: Bert Vermeulen , Felix Fietkau Subject: [PATCH 4/5] ARM: Add basic support for EcoNet EN7523 SoC Date: Fri, 30 Jul 2021 15:45:51 +0200 Message-Id: <20210730134552.853350-5-bert@biot.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210730134552.853350-1-bert@biot.com> References: <20210730134552.853350-1-bert@biot.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: John Crispin EN7523 is an armv7 based silicon used inside broadband access type devices such as xPON and xDSL. It shares various silicon blocks with MediaTek silicon such as the MT7622. Signed-off-by: John Crispin Signed-off-by: Bert Vermeulen --- arch/arm/Kconfig | 14 ++++++++++++++ arch/arm/Makefile | 1 + 2 files changed, 15 insertions(+) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 82f908fa5676..e4a9401f8513 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -580,6 +580,20 @@ config ARCH_VIRT select HAVE_ARM_ARCH_TIMER select ARCH_SUPPORTS_BIG_ENDIAN +config ARCH_ECONET + bool "Econet SoC Support" + depends on ARCH_MULTI_V7 + select ARM_AMBA + select ARM_GIC + select ARM_GIC_V3 + select ARM_DMA_USE_IOMMU + select ARM_PSCI + select HAVE_ARM_ARCH_TIMER + select IOMMU_DMA + select COMMON_CLK + help + Support for Econet EN7523 SoCs + # # This is sorted alphabetically by mach-* pathname. However, plat-* # Kconfigs may be included either alphabetically (according to the diff --git a/arch/arm/Makefile b/arch/arm/Makefile index 173da685a52e..1bff0aa29c07 100644 --- a/arch/arm/Makefile +++ b/arch/arm/Makefile @@ -152,6 +152,7 @@ textofs-$(CONFIG_ARCH_MSM8X60) := 0x00208000 textofs-$(CONFIG_ARCH_MSM8960) := 0x00208000 textofs-$(CONFIG_ARCH_MESON) := 0x00208000 textofs-$(CONFIG_ARCH_AXXIA) := 0x00308000 +textofs-$(CONFIG_ARCH_ECONET) := 0x00088000 # Machine directory name. This list is sorted alphanumerically # by CONFIG_* macro name.