From patchwork Wed Jul 19 15:31:26 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gregory CLEMENT X-Patchwork-Id: 9852511 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id D8411602C8 for ; Wed, 19 Jul 2017 15:34:32 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C658028585 for ; Wed, 19 Jul 2017 15:34:32 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BB2D4285E0; Wed, 19 Jul 2017 15:34:32 +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=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.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 3A16D28585 for ; Wed, 19 Jul 2017 15:34:32 +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:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To: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:List-Owner; bh=pECtNxBw108KYGj7DM/z6BkRp/ng48BIoOM8coES7yE=; b=frCm8pnsFBfRqE0E9z2VFk2MSy m3xjy3c771LOsAGd+CLa8L+X7GRwv+T4X7Nq1rh3z7RH8jmkQOe5IVipDnz9GyNR0hv/eLhzcfVha tD3z//UHcyUT9pSewdqAk5LXjqO2KB9rsHGQYx6hB+Jhfra2e37zZNLLtYrM3r0ZuYe1nrqxTfv7n nHTQ5bha8YuqpAKphlyiBJMbgTUXqoYMuKwDCv1vryAJjOH9B5YLobKr0EFnmgo6VUeTl/imiDsas 1Px6aIw4g8CxVmxOCCLvzO2vdttwgMt9CQlsvGTiIeuIZlffnC5Az7uPRQ9R7dQ3H5+QfJGpXr5X5 TdXgj/ww==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dXqzc-0006dO-Vs; Wed, 19 Jul 2017 15:34:28 +0000 Received: from merlin.infradead.org ([2001:8b0:10b:1231::1]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dXqxV-0004d1-B4; Wed, 19 Jul 2017 15:32:17 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding: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=Az9kql/aqMFVHK9T4cwGAoHKU7YvooOjlypxpx3mNr4=; b=UlGDIbiT1HOmWaOdewS0gVSjB qglzzL3HIiXtMxB/d434KMX0fE9q4Jg2XS1V6R94t5xs2EYStVWPlB+DF3VfkadO4A5msEPLp/oj4 mnhdKY6Pt5Se03NmsSHLb1dFwwMo4KfZO9ISfWI2vBrSfPJrqVooDA9VgvX2BhcgB92/x33YpDoaF 3PnUQIJjtFHzSj+ttQu8bOYeq9UDaJ5sd+r9La5ZfI6E0tIuqtBB8449CPOIY2ps2v7ASPamMDf8v 9DBJ/TxfPQP9pyT0+crwNYThXTgUyXIGtB0DMAC6pcYBo37Z9NjanS9XLgqeTxHr5FfL2WH9C9koJ EzLodnccQ==; Received: from mail.free-electrons.com ([62.4.15.54]) by merlin.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dXqxS-0000uy-1n; Wed, 19 Jul 2017 15:32:15 +0000 Received: by mail.free-electrons.com (Postfix, from userid 110) id D670821E62; Wed, 19 Jul 2017 17:31:48 +0200 (CEST) Received: from localhost (83.146.29.93.rev.sfr.net [93.29.146.83]) by mail.free-electrons.com (Postfix) with ESMTPSA id B1B4121E10; Wed, 19 Jul 2017 17:31:48 +0200 (CEST) From: Gregory CLEMENT To: Boris Brezillon , Jason Cooper , Andrew Lunn , Sebastian Hesselbarth , Gregory CLEMENT Subject: [PATCH 2/2] ARM64: dts: marvell: add NAND support on the CP110 master Date: Wed, 19 Jul 2017 17:31:26 +0200 Message-Id: <20170719153126.16905-3-gregory.clement@free-electrons.com> X-Mailer: git-send-email 2.13.2 In-Reply-To: <20170719153126.16905-1-gregory.clement@free-electrons.com> References: <20170719153126.16905-1-gregory.clement@free-electrons.com> X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Thomas Petazzoni , Yehuda Yitschak , Omri Itach , Marcin Wojtas , Richard Weinberger , Antoine Tenart , =?UTF-8?q?Miqu=C3=A8l=20Raynal?= , linux-kernel@vger.kernel.org, Nadav Haklai , Marek Vasut , linux-mtd@lists.infradead.org, Igal Liberman , Cyrille Pitchen , Shadi Ammouri , Brian Norris , David Woodhouse , Hanna Hawa , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 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 The NAND controller used in A7K/A8K is present on the CP110 master part. It is compatible with the pxa-nand driver. Unlike most of the controller on the CP110 this one is only present on the master for the Armada 8K SoCs. Signed-off-by: Gregory CLEMENT --- arch/arm64/boot/dts/marvell/armada-cp110-master.dtsi | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/arch/arm64/boot/dts/marvell/armada-cp110-master.dtsi b/arch/arm64/boot/dts/marvell/armada-cp110-master.dtsi index 726528ce54e9..9be4a442ded5 100644 --- a/arch/arm64/boot/dts/marvell/armada-cp110-master.dtsi +++ b/arch/arm64/boot/dts/marvell/armada-cp110-master.dtsi @@ -240,6 +240,20 @@ status = "disabled"; }; + cpm_nand: nand@720000 { + /* + * For A7K/A8K this controller is only + * present on the CPM and not on the CPS + */ + compatible = "marvell,armada370-nand"; + reg = <0x720000 0x54>; + #address-cells = <1>; + #size-cells = <1>; + interrupts = ; + clocks = <&cpm_clk 1 2>; + status = "disabled"; + }; + cpm_trng: trng@760000 { compatible = "marvell,armada-8k-rng", "inside-secure,safexcel-eip76"; reg = <0x760000 0x7d>;