From patchwork Tue Aug 6 14:54:40 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Miquel Raynal X-Patchwork-Id: 11079079 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 208E91398 for ; Tue, 6 Aug 2019 14:59:40 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0FB35200CB for ; Tue, 6 Aug 2019 14:59:40 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 03C0C27CEA; Tue, 6 Aug 2019 14:59:40 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 7E21127F88 for ; Tue, 6 Aug 2019 14:59:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject: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=o1pyG0XPr0F3SR2iam1fim5+ifFPzrSE9YCzdR3tM58=; b=dCG3mnRSWW9AZG uwdaXOBYTyxozB/pC61e515pKu8zik0wHGasE/9vv/Y768UgpKhxLX5na4ZPHs4yTuflnh4KJLvUI 8j6zVgXY0gbPU67QfjuUXjM49MoySnsEwufb5t4yxTm3mcE2DQSu9KFzX7r4EX/7Qpcqnl8ARa90V 7/mnr/F25O3OiYQ5VVJ5czBK4XjXcyBjFLXO81f35R4bJmvgVuQX1AOZmQJTboG/BFErKR3gQShv/ //tj/VytQP8PPdhy6PtNPNCapAK47Bw8KW0qFRs2izi9TOFt7TJTWFPryMSH3CHCdayw7pstjOz9k Q/A4w2ZrkVUiM54oSCWw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1hv0w6-0003z2-Cs; Tue, 06 Aug 2019 14:59:38 +0000 Received: from merlin.infradead.org ([2001:8b0:10b:1231::1]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hv0sQ-0008H6-Tx for linux-arm-kernel@bombadil.infradead.org; Tue, 06 Aug 2019 14:55:50 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Content-Transfer-Encoding:Content-Type: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=JoLeXv85tk5Rr7ml8aQvKHK+I5b+otXOpBy85XMQPfw=; b=VJ82Qw6VKL0QhySZjYvjmjEqm1 2WfXpRWGpOH4AK975ZBWPp7ZyIwycIkTzbF67Xx1tt6PkbQncXbrjEixnk2a+B7JeZP33DgVjYrS/ MiexAkW8iae10cYNqvtZ7JE5ns6wWv+NcLZgCUz7PiUKRp9NtUSuhGqlG2H4Te/6MtJ5qRCZKQ4Ds vDXcjeMBh9qyHdccDSM8Dhi87ZZBDDOe0lL3fapJmzuT9XYqWIyQJuxubtAKzbPl5QrqDeDUgNgs5 g/Hz2rnDqjiCnqDSZZrli7BZQrFjQCfcEaN9ZwNNDBJBl4jv6hXPDqiLWBXCVqMbXzh1ekyDP0Tgv lK4F55Lw==; Received: from relay4-d.mail.gandi.net ([217.70.183.196]) by merlin.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hv0sM-0003iY-Ro for linux-arm-kernel@lists.infradead.org; Tue, 06 Aug 2019 14:55:49 +0000 X-Originating-IP: 86.250.200.211 Received: from localhost.localdomain (lfbn-1-17395-211.w86-250.abo.wanadoo.fr [86.250.200.211]) (Authenticated sender: miquel.raynal@bootlin.com) by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id 69E72E000C; Tue, 6 Aug 2019 14:55:02 +0000 (UTC) From: Miquel Raynal To: Rob Herring , Mark Rutland Subject: [PATCH 00/20] Add new Marvell CN9130 SoC support Date: Tue, 6 Aug 2019 16:54:40 +0200 Message-Id: <20190806145500.24109-1-miquel.raynal@bootlin.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Yan Markman , Antoine Tenart , Grzegorz Jaszczyk , Gregory Clement , Maxime Chevallier , Nadav Haklai , Thomas Petazzoni , Miquel Raynal , Stefan Chulski , Marcin Wojtas , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Hello, This is the third and last batch of changes to support new Marvell CN9130 SoCs. The CN9130 is made of one AP807 and one internal CP115. There are three development boards that are made of this SoC: * CN9130-DB * CN9131-DB (with one additional modular CP115 compared to CN9130-DB) * CN9132-DB (with two additional modular CP115 compared to CN9130-DB) This series applies on top of the AP806 and AP807 clock series (see below) and will work only if applied on top of: * CP110 COMPHY: https://patchwork.kernel.org/cover/11067647/ * AP806 CPU clocks: https://patchwork.kernel.org/cover/11038577/ * AP807 clocks: https://patchwork.kernel.org/cover/11076435/ * CP115 pinctrl: http://patchwork.ozlabs.org/cover/1142107/ As CP110 and CP115 (alternatively, AP806 and AP807) are very similar, we first reorganize DT files to create CP11x (and AP80x) generic files, before including them from the new specific CP110/CP115 (AP806/AP807) ones. A few small improvements/fixes in these files are also carried. Thanks, Miquèl Ben Peled (1): dt-bindings: ap80x: replace AP806 with AP80x Grzegorz Jaszczyk (7): arm64: dts: marvell: Add AP806-dual cache description arm64: dts: marvell: Add AP806-quad cache description arm64: dts: marvell: Add AP807-quad cache description dt-bindings: marvell: Declare the CN913x SoC compatibles arm64: dts: marvell: Add support for Marvell CN9130-DB arm64: dts: marvell: Add support for Marvell CN9131-DB arm64: dts: marvell: Add support for Marvell CN9132-DB Konstantin Porotchkin (1): arm64: dts: marvell: Prepare the introduction of AP807 based SoCs Miquel Raynal (11): arm64: dts: marvell: Enumerate the first AP806 syscon arm64: dts: marvell: Add AP806-dual missing CPU clocks MAINTAINERS: Add new Marvell CN9130-based files to track arm64: dts: marvell: Move clocks to AP806 specific file arm64: dts: marvell: Add support for AP807/AP807-quad arm64: dts: marvell: Fix CP110 NAND controller node multi-line comment alignment arm64: dts: marvell: Prepare the introduction of CP115 arm64: dts: marvell: Drop PCIe I/O ranges from CP11x file arm64: dts: marvell: Externalize PCIe macros from CP11x file arm64: dts: marvell: Add support for CP115 arm64: dts: marvell: Add support for Marvell CN9130 SoC support ...roller.txt => ap80x-system-controller.txt} | 14 +- .../bindings/arm/marvell/armada-7k-8k.txt | 13 +- MAINTAINERS | 3 +- arch/arm64/boot/dts/marvell/Makefile | 3 + arch/arm64/boot/dts/marvell/armada-70x0.dtsi | 28 +- .../boot/dts/marvell/armada-8040-mcbin.dtsi | 3 +- arch/arm64/boot/dts/marvell/armada-80x0.dtsi | 56 +- .../boot/dts/marvell/armada-ap806-dual.dtsi | 23 + .../boot/dts/marvell/armada-ap806-quad.dtsi | 42 ++ arch/arm64/boot/dts/marvell/armada-ap806.dtsi | 456 +------------- .../boot/dts/marvell/armada-ap807-quad.dtsi | 93 +++ arch/arm64/boot/dts/marvell/armada-ap807.dtsi | 29 + arch/arm64/boot/dts/marvell/armada-ap80x.dtsi | 444 ++++++++++++++ .../arm64/boot/dts/marvell/armada-common.dtsi | 4 +- arch/arm64/boot/dts/marvell/armada-cp110.dtsi | 575 +----------------- arch/arm64/boot/dts/marvell/armada-cp115.dtsi | 12 + arch/arm64/boot/dts/marvell/armada-cp11x.dtsi | 568 +++++++++++++++++ arch/arm64/boot/dts/marvell/cn9130-db.dts | 403 ++++++++++++ arch/arm64/boot/dts/marvell/cn9130.dtsi | 37 ++ arch/arm64/boot/dts/marvell/cn9131-db.dts | 202 ++++++ arch/arm64/boot/dts/marvell/cn9132-db.dts | 221 +++++++ 21 files changed, 2161 insertions(+), 1068 deletions(-) rename Documentation/devicetree/bindings/arm/marvell/{ap806-system-controller.txt => ap80x-system-controller.txt} (91%) create mode 100644 arch/arm64/boot/dts/marvell/armada-ap807-quad.dtsi create mode 100644 arch/arm64/boot/dts/marvell/armada-ap807.dtsi create mode 100644 arch/arm64/boot/dts/marvell/armada-ap80x.dtsi create mode 100644 arch/arm64/boot/dts/marvell/armada-cp115.dtsi create mode 100644 arch/arm64/boot/dts/marvell/armada-cp11x.dtsi create mode 100644 arch/arm64/boot/dts/marvell/cn9130-db.dts create mode 100644 arch/arm64/boot/dts/marvell/cn9130.dtsi create mode 100644 arch/arm64/boot/dts/marvell/cn9131-db.dts create mode 100644 arch/arm64/boot/dts/marvell/cn9132-db.dts