Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755536AbbBLKzQ (ORCPT ); Thu, 12 Feb 2015 05:55:16 -0500 Received: from foss-mx-na.arm.com ([217.140.108.86]:43358 "EHLO foss-mx-na.foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752642AbbBLKzO (ORCPT ); Thu, 12 Feb 2015 05:55:14 -0500 Date: Thu, 12 Feb 2015 10:54:44 +0000 From: Mark Rutland To: Michal Simek Cc: "linux-kernel@vger.kernel.org" , "monstr@monstr.eu" , Andreas =?utf-8?Q?F=C3=A4rber?= , =?utf-8?B?U8O2cmVu?= Brinkmann , Russell King , "devicetree@vger.kernel.org" , Steffen Trumtrar , Kumar Gala , Peter Crosthwaite , Ian Campbell , Rob Herring , Pawel Moll , Rob Herring , Josh Cartwright , "linux-arm-kernel@lists.infradead.org" Subject: Re: [PATCH v2] ARM: dts: zynq: Add OCM node Message-ID: <20150212105443.GB1522@leverpostej> References: <6df19b400e314ef8228be475bb8ba83765683016.1423737765.git.michal.simek@xilinx.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6df19b400e314ef8228be475bb8ba83765683016.1423737765.git.michal.simek@xilinx.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1846 Lines: 68 On Thu, Feb 12, 2015 at 10:42:47AM +0000, Michal Simek wrote: > Add OCM node for all zynq boards. OCM location > can changed but for all current boards this > is the location where OCM is.` > > Signed-off-by: Michal Simek > --- > > Changes in v2: > - Move node to board file suggested by Mark > > This patch is done based on discussion here. > https://lkml.org/lkml/2014/12/1/396 > > Mark: I expect you won't like amba bus reference or > am I wrong? I'm fine with dropping things onto a bus in this way. If we're happy to do it for other nodes I don't see why busses should be special. Mark. > > --- > arch/arm/boot/dts/zynq-7000.dtsi | 2 +- > arch/arm/boot/dts/zynq-zc702.dts | 7 +++++++ > 2 files changed, 8 insertions(+), 1 deletion(-) > > diff --git a/arch/arm/boot/dts/zynq-7000.dtsi b/arch/arm/boot/dts/zynq-7000.dtsi > index a5cd2eda3edf..acca3c180324 100644 > --- a/arch/arm/boot/dts/zynq-7000.dtsi > +++ b/arch/arm/boot/dts/zynq-7000.dtsi > @@ -57,7 +57,7 @@ > regulator-always-on; > }; > > - amba { > + amba: amba { > compatible = "simple-bus"; > #address-cells = <1>; > #size-cells = <1>; > diff --git a/arch/arm/boot/dts/zynq-zc702.dts b/arch/arm/boot/dts/zynq-zc702.dts > index fb59d34e8ee6..79077c5ac60e 100644 > --- a/arch/arm/boot/dts/zynq-zc702.dts > +++ b/arch/arm/boot/dts/zynq-zc702.dts > @@ -50,6 +50,13 @@ > }; > }; > > +&amba { > + ocm: sram@fffc0000 { > + compatible = "mmio-sram"; > + reg = <0xfffc0000 0x10000>; > + }; > +}; > + > &can0 { > status = "okay"; > pinctrl-names = "default"; > -- > 1.8.2.3 > > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/