From patchwork Thu May 12 04:24:58 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chris Packham X-Patchwork-Id: 12847012 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 1AF45C433F5 for ; Thu, 12 May 2022 04:26:31 +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: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:In-Reply-To:References: List-Owner; bh=gQWkow5aEw63cmyMbmLKZYY4OI/zaBqxipm1cN9SZ9k=; b=Szc8920teLtceZ iLYT/Nzp2wNcO3IN5lrDECLfl0Z3QsDDfeZfLNozbfHBE6Yflyjsx8vBYmVK5ZtLsoiRH8vkjZRgk pOhxT5Azmxf42dNrV7d3Z/vwjH1KbArkIGqC2CFN76kM3e+xsmY8Q3HYVN51ZkJSt7rSkmttK5HIJ JGza7vi/JhSxKBCN4GzvTSdbE98MvZYfnYIofdFviKCG5nB/6nq86APZzQ6k3KIyUgnyobFRAdhIM xYKaVRNZFvsIImPy3CFIPrIZ6h6vmuI65tAVTcqSW+k4DQC1Ra4sJrrp1kmDLB3KVA+3M+ZETIsFX hNVF3McRPlixNTFMad7w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1np0OH-009vCX-9p; Thu, 12 May 2022 04:25:29 +0000 Received: from gate2.alliedtelesis.co.nz ([202.36.163.20]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1np0O3-009v1a-Ql for linux-arm-kernel@lists.infradead.org; Thu, 12 May 2022 04:25:17 +0000 Received: from svr-chch-seg1.atlnz.lc (mmarshal3.atlnz.lc [10.32.18.43]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by gate2.alliedtelesis.co.nz (Postfix) with ESMTPS id 619A82C0230; Thu, 12 May 2022 04:25:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alliedtelesis.co.nz; s=mail181024; t=1652329506; bh=2bzxEQ5vis1XzE4e5WcH/jz61/P1ev2jTuWuYW3+6aw=; h=From:To:Cc:Subject:Date:From; b=ReoAS0EwX5jrViYqiIvtayaaKRBHJ3cd2VgePnMvehsk1J4Oy712XYZOs/jEWp5T/ AXSZrsW6S1fpD/3tbz5/8BFs/iltBN+DGhT4iKMrCE9kdN3w1GpN+SPse6yLeOQZxz cFksswOTk5piT9scDfqFveHQ6fYa1/fJuKiescS752Nuph4raoJvbWweXP6OvlktFG zK7ZyFNYkUTjyaCCpA4BxElA1ofA4V/mA1cx8ITsAC0jv77ycgu99OFFMNF50ZXqKv KR4oKl+wvZBKGh5mpNXxXY9IBA0gJtqbU5tbJTqx4Pg28E9wkAqb3UZyoggT0eRpLY 40ZUJh7UkhnWA== Received: from pat.atlnz.lc (Not Verified[10.32.16.33]) by svr-chch-seg1.atlnz.lc with Trustwave SEG (v8, 2, 6, 11305) id ; Thu, 12 May 2022 16:25:06 +1200 Received: from chrisp-dl.ws.atlnz.lc (chrisp-dl.ws.atlnz.lc [10.33.22.30]) by pat.atlnz.lc (Postfix) with ESMTP id 14E2C13EE41; Thu, 12 May 2022 16:25:06 +1200 (NZST) Received: by chrisp-dl.ws.atlnz.lc (Postfix, from userid 1030) id 0ABD82A00D3; Thu, 12 May 2022 16:25:06 +1200 (NZST) From: Chris Packham To: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, catalin.marinas@arm.com, will@kernel.org, andrew@lunn.ch, gregory.clement@bootlin.com, sebastian.hesselbarth@gmail.com, kostap@marvell.com, robert.marko@sartura.hr, vadym.kochan@plvision.eu Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Chris Packham Subject: [PATCH v7 0/3] arm64: mvebu: Support for Marvell 98DX2530 (and variants) Date: Thu, 12 May 2022 16:24:58 +1200 Message-Id: <20220512042501.3339775-1-chris.packham@alliedtelesis.co.nz> X-Mailer: git-send-email 2.36.0 MIME-Version: 1.0 X-SEG-SpamProfiler-Analysis: v=2.3 cv=U+Hs8tju c=1 sm=1 tr=0 a=KLBiSEs5mFS1a/PbTCJxuA==:117 a=oZkIemNP1mAA:10 a=1gLZ1RiacOvl1JNmVH8A:9 X-SEG-SpamProfiler-Score: 0 x-atlnz-ls: pat X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220511_212516_340930_35F48EEF X-CRM114-Status: GOOD ( 11.97 ) 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 This series adds support for the Marvell 98DX2530 SoC which is the Control and Management CPU integrated into the AlleyCat5/AlleyCat5X series of Marvell switches. The CPU core is an ARM Cortex-A55 with neon, simd and crypto extensions. This is fairly similar to the Armada-3700 SoC so most of the required peripherals are already supported. This series adds a devicetree and pinctrl driver for the SoC and the RD-AC5X-32G16HVG6HLG reference board. The pinctrl changes from v4 have been picked up and are in linux-next so I haven't included them in this round. That leaves just the dts files and a minor Kconfig update for arm64. Chris Packham (3): dt-bindings: marvell: Document the AC5/AC5X compatibles arm64: dts: marvell: Add Armada 98DX2530 SoC and RD-AC5X board arm64: marvell: enable the 98DX2530 pinctrl driver .../bindings/arm/marvell/armada-98dx25xx.yaml | 32 ++ arch/arm64/Kconfig.platforms | 2 + arch/arm64/boot/dts/marvell/Makefile | 1 + .../boot/dts/marvell/armada-98dx25xx.dtsi | 295 ++++++++++++++++++ .../boot/dts/marvell/armada-98dx35xx-rd.dts | 101 ++++++ .../boot/dts/marvell/armada-98dx35xx.dtsi | 13 + 6 files changed, 444 insertions(+) create mode 100644 Documentation/devicetree/bindings/arm/marvell/armada-98dx25xx.yaml create mode 100644 arch/arm64/boot/dts/marvell/armada-98dx25xx.dtsi create mode 100644 arch/arm64/boot/dts/marvell/armada-98dx35xx-rd.dts create mode 100644 arch/arm64/boot/dts/marvell/armada-98dx35xx.dtsi