From patchwork Fri Dec 17 11:23:34 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Felix Fietkau X-Patchwork-Id: 12696635 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 47CB2C433EF for ; Fri, 17 Dec 2021 11:29:14 +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=NRo/gimZsUZxp7/hvALDoqekhIH7ELpYlG4mGyV4gBE=; b=GwER6j+G1vsyG1 GlvooqgyEcoA76QHHXGofzJBp1ueqVPmm//HPmtv60EEso0MFyvfJFqJyRkU0AeQkuDhc+UAjFFDI sVMQZyrq2KNZvVBVIh+1ZkZXNiJkaYNG0tlDqxsH6IztelHowUa6hAiPSQMV5RamWx5gmtgZFs8Dj zRU8L3f+efmWGfHhMWYzeWYKKnrbgW2zylTU8i8fuXZcbCl31wmPYkUs3S0ftlDbXvjCRm7ocTUQh WVMXU7KmGdDYlc4wKP/xJYMc4wtQo2dZTylaA9DsVQXwT+ODagZj66R2nVFR9pG9Eu9ZX5ikbC17+ n0oMPk3o+RiIX3Ir2Y4g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1myBOv-009nyJ-Rm; Fri, 17 Dec 2021 11:27:50 +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 1myBLI-009mee-Om for linux-arm-kernel@lists.infradead.org; Fri, 17 Dec 2021 11:24:06 +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=i2Qj61KLD4VR9+7A9y4uzBxX20QCQc82jFHVsYfBwYk=; b=S/wDDeXLlR5CFhQ97jLRPwZZPs T9jC7qP0XA1yVETIaNdvjJTvEloevanITXQb3VafWsK+H/tSwlhOMXkWTQpdPeogjG8uv8oUhV8vK pRr2aF8HfouoGF6+PrJzGkrLjygkiI70CNwJcZD1sy6FfP2userz5MBVVobfBrAVAxwQ=; Received: from p54ae911a.dip0.t-ipconnect.de ([84.174.145.26] helo=localhost.localdomain) by ds12 with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1myBLC-000742-RZ; Fri, 17 Dec 2021 12:23:58 +0100 From: Felix Fietkau To: Russell King Cc: john@phrozen.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v7 04/14] ARM: Add basic support for Airoha EN7523 SoC Date: Fri, 17 Dec 2021 12:23:34 +0100 Message-Id: <20211217112345.14029-5-nbd@nbd.name> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20211217112345.14029-1-nbd@nbd.name> References: <20211217112345.14029-1-nbd@nbd.name> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211217_032405_032089_BC00D6BB X-CRM114-Status: UNSURE ( 9.62 ) X-CRM114-Notice: Please train this message. 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 | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index f0f9e8bec83a..8dcd05ef31cc 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -573,6 +573,18 @@ 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_PSCI + select HAVE_ARM_ARCH_TIMER + 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