From patchwork Thu Nov 25 11:07:30 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Felix Fietkau X-Patchwork-Id: 12693634 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 79B7EC433F5 for ; Thu, 25 Nov 2021 11:11:10 +0000 (UTC) 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=OExUdhAW5b5EARqf3kAtnv9NqsIwp+gIqdxCoYfiPIw=; b=BoExbEocNLZf9p 4DslylB/ltymgUljTgM4YKLcKYmv2svAmCIOkzY5pQiMTHvC12tmwvEXKVD+EwXRbMpiDdpn/A4Xi ZOzRliut4mdu2UPuej8sdlsBjM4gFQEFs88jNmiHu5SVyubd8nRcettGQxqeZ97+4F51O0YcKhI3A N1IFIRZjhYTI9H3xbZW+F9i5TZCDFqQbX56d820Bibx/BOuuuBzudpFRQu6+buSnrwQqjd0dr99XX VoPXITOS4RdLHDopddiYqiXi2C4t6vQHl+zvI1UjGFnDxO1r7gqARm95HSaHcgXzwk8QzzrNyirLC k1jGcP6llQ4n44PETX5w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mqCca-007AK3-QL; Thu, 25 Nov 2021 11:08:57 +0000 Received: from nbd.name ([2a01:4f8:221:3d45::2]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mqCbY-007A2q-Mk for linux-arm-kernel@lists.infradead.org; Thu, 25 Nov 2021 11:07:55 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=nbd.name; s=20160729; h=Content-Transfer-Encoding:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=3WmM9XPD48Em8O02jrnZV8eJ3SbgEspQeiXQVak6r9Y=; b=bITECR7Dic9VlwOWhL8u+yk8d+ IiBcKXAuKB0A92gbeFR4MtEX9rI6HjfaOKxg9I8uObCxVDos2T0s5kL6jvtX//jAF2Wqyy7jGQNR1 kGGOa3FsUO6chdYotgHT9Pmt8BNmNzOM59QmMYi6TCQUapDqo+fXuW10tmpRk/RFU+sM=; Received: from p54ae9f3f.dip0.t-ipconnect.de ([84.174.159.63] helo=localhost.localdomain) by ds12 with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1mqCbQ-0002ws-H0; Thu, 25 Nov 2021 12:07:44 +0100 From: Felix Fietkau To: linux-arm-kernel@lists.infradead.org, Russell King Cc: john@phrozen.org, linux-kernel@vger.kernel.org Subject: [PATCH v4 04/12] ARM: Add basic support for Airoha EN7523 SoC Date: Thu, 25 Nov 2021 12:07:30 +0100 Message-Id: <20211125110738.41028-5-nbd@nbd.name> X-Mailer: git-send-email 2.30.1 In-Reply-To: <20211125110738.41028-1-nbd@nbd.name> References: <20211125110738.41028-1-nbd@nbd.name> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211125_030753_375419_FBE27B7F X-CRM114-Status: GOOD ( 10.49 ) 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 armv8 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 f0f9e8bec83a..8468361a8721 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -573,6 +573,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