Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750903AbdLZI5B (ORCPT ); Tue, 26 Dec 2017 03:57:01 -0500 Received: from mail.kernel.org ([198.145.29.99]:53650 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750705AbdLZI47 (ORCPT ); Tue, 26 Dec 2017 03:56:59 -0500 DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 40DF22188F Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=shawnguo@kernel.org Date: Tue, 26 Dec 2017 16:56:54 +0800 From: Shawn Guo To: Rasmus Villemoes Cc: Rob Herring , Mark Rutland , Russell King , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] ARM: dts: ls1021a: add nodes for on-chip ram Message-ID: <20171226085653.GL23070@X250> References: <1513870698-31264-1-git-send-email-rasmus.villemoes@prevas.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1513870698-31264-1-git-send-email-rasmus.villemoes@prevas.dk> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1125 Lines: 43 On Thu, Dec 21, 2017 at 04:38:18PM +0100, Rasmus Villemoes wrote: > Signed-off-by: Rasmus Villemoes Empty commit log is not welcomed. > --- > arch/arm/boot/dts/ls1021a.dtsi | 16 ++++++++++++++++ > 1 file changed, 16 insertions(+) > > diff --git a/arch/arm/boot/dts/ls1021a.dtsi b/arch/arm/boot/dts/ls1021a.dtsi > index bd6622f10046..6f53e6aefb63 100644 > --- a/arch/arm/boot/dts/ls1021a.dtsi > +++ b/arch/arm/boot/dts/ls1021a.dtsi > @@ -748,5 +748,21 @@ > <0000 0 0 3 &gic GIC_SPI 191 IRQ_TYPE_LEVEL_HIGH>, > <0000 0 0 4 &gic GIC_SPI 193 IRQ_TYPE_LEVEL_HIGH>; > }; > + > + ocram1: sram@10000000 { > + compatible = "mmio-sram"; > + reg = <0x0 0x10000000 0x0 0x10000>; > + #address-cells = <1>; > + #size-cells = <1>; > + ranges = <0x0 0x0 0x10000000 0x10000>; > + }; > + > + ocram2: sram@10010000 { > + compatible = "mmio-sram"; > + reg = <0x0 0x10010000 0x0 0x10000>; > + #address-cells = <1>; > + #size-cells = <1>; > + ranges = <0x0 0x0 0x10010000 0x10000>; > + }; Why split one continuous sram into two nodes? Shawn > }; > }; > -- > 2.7.4 >