From patchwork Tue Sep 7 10:27:21 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bert Vermeulen X-Patchwork-Id: 12478247 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=-17.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,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 E2A8AC433F5 for ; Tue, 7 Sep 2021 10:32:35 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id AC886610E8 for ; Tue, 7 Sep 2021 10:32:35 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org AC886610E8 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=biot.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=cJFJ4QM7AlwIGALphdkMPrqJNR+HLCKaQCDrx1Ur+80=; b=IGM5UD3LN6e72G HCEIolz/Fex8sBlMGhorSrqlOw0/tJ0+XygoiveLeuyt0wuEeH/ug0jOPZvssJe7XvaidKydUj/c9 5bdN8U7VUy3cCzrjH6XaTOWu9cdzof33MbrO4hEmiLiX37hiFWHFWGkXU/zF1joOvPkqrco/eMfGu +N8gH1uFPA7/CK31Uc+/RLls7icl9udvsy/fT4oqxeJBApuAebQhUrccVGoxnuaZKda8zncJA2F7h Y2LV3W6QiqCSaoW7IrTgDIQc1qEytH1lnkaCQ38plRc2RzvzIdSBxoa4zyPIPC2t0iWM05iS4Ywyz t/emE3w+g/PGA8jbc83A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mNYN7-003OAW-VJ; Tue, 07 Sep 2021 10:30:34 +0000 Received: from yawp.biot.com ([2a01:4f8:10a:8e::fce2]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mNYMr-003O3s-Le for linux-arm-kernel@lists.infradead.org; Tue, 07 Sep 2021 10:30:19 +0000 Received: from debian-spamd by yawp.biot.com with sa-checked (Exim 4.93) (envelope-from ) id 1mNYMq-00CH9q-6E for linux-arm-kernel@lists.infradead.org; Tue, 07 Sep 2021 12:30:16 +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 1mNYKK-00CGzV-9S; Tue, 07 Sep 2021 12:27:40 +0200 Received: from bert by sumner.biot.com with local (Exim 4.93) (envelope-from ) id 1mNYKJ-000CPu-Qm; Tue, 07 Sep 2021 12:27:39 +0200 From: Bert Vermeulen To: Russell King , Arnd Bergmann , Linus Walleij , Andrew Morton , Geert Uytterhoeven , Anshuman Khandual , Marc Zyngier , Mark Rutland , John Crispin , Ard Biesheuvel , YiFei Zhu , =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= , Mike Rapoport , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: devicetree@vger.kernel.org, Bert Vermeulen Subject: [PATCH v2 4/5] ARM: Add basic support for Airoha EN7523 SoC Date: Tue, 7 Sep 2021 12:27:21 +0200 Message-Id: <20210907102722.47543-5-bert@biot.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210907102722.47543-1-bert@biot.com> References: <20210907102722.47543-1-bert@biot.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210907_033017_804932_88663A2F X-CRM114-Status: GOOD ( 12.18 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 82f908fa5676..4c210df05c77 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_AIROHA + bool "Airoha 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 Airoha EN7523 SoCs + # # This is sorted alphabetically by mach-* pathname. However, plat-* # Kconfigs may be included either alphabetically (according to the