From patchwork Mon Dec 20 21:18:44 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Felix Fietkau X-Patchwork-Id: 12696892 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 5ECD8C433F5 for ; Mon, 20 Dec 2021 21:21:53 +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=E1cRKbizjASA9El0MjugevTjH9gIeABRAAxWCWUsIz0=; b=cuPaACicq4Z9yn fImQ0jWgt4S86/AyfyEuIp3JkJjDgtDLSrMzKDhAk8wVZST4/T+eLTsQ1AGmJRmneQ+7rcKr3PJR+ 43FRLKgGr5OXEVLs+vb/kjLurJEMlkJMUN/ty781FUPQ7o9Zl7QcL5Na7gPkA60REnhI9O5lYQSND qDJ/DRoQGXk4LmMY/vaoeWi5P0QebT+Hbz3P/OXhoQ9ZoXxAxNSjdj3adSYiv68ZnD8Ej96CyrFaS 65X465xFEVCJYeVpmqTjb5i9bFdai3sexWK0KIyqv0HJrvaK2Pw26hvCZb8W6PhQ2CHT5HlVpQ0aY PISoiQfjn/cwlgjbeRAw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mzQ5J-004PWl-U9; Mon, 20 Dec 2021 21:20:42 +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 1mzQ3t-004Ors-Fu for linux-arm-kernel@lists.infradead.org; Mon, 20 Dec 2021 21:19:14 +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=I17r61Sgfc3TBe9GXmzTiAkTt701bnicWJIrGIDe8ts=; b=j+T8IhzGPdmZmaN+4m+u+mrcfm mnlJjq/3iyBgAFd9FOYKDNNUfKgRfeebLFHqilhtocpxiIzuMh/s1sVQkXgjBTehDN1cDlyE14Lr4 KOQ4yuuJzMC3DSvqBwxVAE1QJFZMFsQ41Rzrt0p2sD/YeCJF049s5kxyI5uHmQr2l8B8=; 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 1mzQ3l-0000zo-4x; Mon, 20 Dec 2021 22:19:05 +0100 From: Felix Fietkau To: linux-arm-kernel@lists.infradead.org, Russell King Cc: john@phrozen.org, linux-kernel@vger.kernel.org Subject: [PATCH v8 04/14] ARM: Add basic support for Airoha EN7523 SoC Date: Mon, 20 Dec 2021 22:18:44 +0100 Message-Id: <20211220211854.89452-5-nbd@nbd.name> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20211220211854.89452-1-nbd@nbd.name> References: <20211220211854.89452-1-nbd@nbd.name> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211220_131913_712528_79CD7A6C X-CRM114-Status: GOOD ( 10.12 ) 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 Signed-off-by: Felix Fietkau --- 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