Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756277AbdGXPUG (ORCPT ); Mon, 24 Jul 2017 11:20:06 -0400 Received: from mail.free-electrons.com ([62.4.15.54]:51178 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753170AbdGXPUA (ORCPT ); Mon, 24 Jul 2017 11:20:00 -0400 From: Gregory CLEMENT To: Boris Brezillon Cc: Jason Cooper , Andrew Lunn , Sebastian Hesselbarth , Richard Weinberger , David Woodhouse , Brian Norris , Marek Vasut , Cyrille Pitchen , linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org, Thomas Petazzoni , linux-arm-kernel@lists.infradead.org, Antoine Tenart , =?utf-8?Q?Miqu=C3=A8l?= Raynal , Nadav Haklai , Shadi Ammouri , Yehuda Yitschak , Omri Itach , Hanna Hawa , Igal Liberman , Marcin Wojtas Subject: Re: [PATCH 2/2] ARM64: dts: marvell: add NAND support on the CP110 master References: <20170719153126.16905-1-gregory.clement@free-electrons.com> <20170719153126.16905-3-gregory.clement@free-electrons.com> Date: Mon, 24 Jul 2017 17:19:59 +0200 In-Reply-To: <20170719153126.16905-3-gregory.clement@free-electrons.com> (Gregory CLEMENT's message of "Wed, 19 Jul 2017 17:31:26 +0200") Message-ID: <878tjd50bk.fsf@free-electrons.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1785 Lines: 58 Hi, On mer., juil. 19 2017, Gregory CLEMENT wrote: > 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. Actually this is wrong. The controller is present on both CP, but because of the muxing only the one present on the CPS is available on the Armada 8K. I will send a new version fixing it. Gregory > > 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>; > -- > 2.13.2 > -- Gregory Clement, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com