From patchwork Tue May 10 23:09:59 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chris Packham X-Patchwork-Id: 12845592 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 43697C4332F for ; Tue, 10 May 2022 23:11:43 +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=DRgM3dD8bzF40Bpy+9F3HhsmFZqBVIN07lFLG6Etnvo=; b=XUQ8qWP8eLsqtG MVzztP/tIpfPjHoS2TaZ+lW9oTvQ3AHO8IXBmobrhd2FiFwedEDtshgu9uZalZdBSe9zNJwtxuHZQ ZQPXsKc5n7O7GVjLiYq/rJNdjeXXQ65yqic7OfFXzougayd50cdqkjc98YBA1ZzWOshx0qQZKSv3w zj1NTtuhucjCOnWYVEtI4wdKUcsMJGDEPNhq/EfjeLdny9xdLoTM2woZRgiItmwGyqSgS8U1r4Kkl mR/X9G0q/cH7+hsFxL1p7/TqpPQYv9ULI2NW7qntcA6O9N3bkE1cDqkC7OUySzaHqC/+Hh3LyE3yd gkos6ldzr24/WBo26Q8w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1noYzm-004IiB-UG; Tue, 10 May 2022 23:10:23 +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 1noYzi-004IfF-Fp for linux-arm-kernel@lists.infradead.org; Tue, 10 May 2022 23:10:20 +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 25D9F2C012A; Tue, 10 May 2022 23:10:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alliedtelesis.co.nz; s=mail181024; t=1652224210; bh=PdPm6LJTDTCiiS+YcsT3r34uGQiAI04kijhj/3xrI3k=; h=From:To:Cc:Subject:Date:From; b=NFK4AiDg4zLiDuSId6+Od0mL5vIx32aQdaExPbKhDdowKKbNw1ZTD/J27jbG2q+in JEEFisWXRJPJ6N7Im6OwZMgcLrooo1o1OLgF0vc0xo7XqpEHqTfnigRdKMLeVl4XIk UfLnfnokvpHUS+Dqm2BJwcaZlCJ7EBUBNdDy2xNojdGsKA3metLX74azOaUdVVyO/q UTgSKrjGSduGYDaK7Sopqy5QLcLQsv+ppyOElqW8pjeogXNsZJfE54FyFMZF+o3tx5 vO68Mu52b7Xvih+vodzgOtpatHyprBYOktJjaG8UIap/UlTBXfRAPWF3Tdv9QJDvlB TsUG9gdfqVWbg== 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 ; Wed, 11 May 2022 11:10:09 +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 C6A5F13EE40; Wed, 11 May 2022 11:10:09 +1200 (NZST) Received: by chrisp-dl.ws.atlnz.lc (Postfix, from userid 1030) id C18F92A00D3; Wed, 11 May 2022 11:10:09 +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 Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Chris Packham Subject: [PATCH v6 0/3] arm64: mvebu: Support for Marvell 98DX2530 (and variants) Date: Wed, 11 May 2022 11:09:59 +1200 Message-Id: <20220510231002.1160798-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=C7GXNjH+ 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-20220510_161019_042562_731FD1DA X-CRM114-Status: GOOD ( 12.90 ) 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-98dx2530.yaml | 27 ++ arch/arm64/Kconfig.platforms | 2 + arch/arm64/boot/dts/marvell/Makefile | 1 + .../boot/dts/marvell/armada-98dx2530.dtsi | 313 ++++++++++++++++++ arch/arm64/boot/dts/marvell/rd-ac5x.dts | 90 +++++ 5 files changed, 433 insertions(+) create mode 100644 Documentation/devicetree/bindings/arm/marvell/armada-98dx2530.yaml create mode 100644 arch/arm64/boot/dts/marvell/armada-98dx2530.dtsi create mode 100644 arch/arm64/boot/dts/marvell/rd-ac5x.dts