From mboxrd@z Thu Jan 1 00:00:00 1970 From: gregory.clement@free-electrons.com (Gregory CLEMENT) Date: Mon, 10 Nov 2014 15:25:08 +0100 Subject: [PATCH 17/17] ARM: mvebu: add SDRAM controller description for Armada XP In-Reply-To: <1414151970-6626-18-git-send-email-thomas.petazzoni@free-electrons.com> References: <1414151970-6626-1-git-send-email-thomas.petazzoni@free-electrons.com> <1414151970-6626-18-git-send-email-thomas.petazzoni@free-electrons.com> Message-ID: <5460CAC4.7030008@free-electrons.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Hi Thomas, On 24/10/2014 13:59, Thomas Petazzoni wrote: > The suspend/resume sequence on Armada XP needs to modify a number of > registers in the SDRAM controller. Therefore, this commit updates the > Armada XP Device Tree description to include the SDRAM controller > Device Tree node. > Acked-by: Gregory CLEMENT Thanks, Gregory > Signed-off-by: Thomas Petazzoni > --- > arch/arm/boot/dts/armada-xp.dtsi | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/arch/arm/boot/dts/armada-xp.dtsi b/arch/arm/boot/dts/armada-xp.dtsi > index bff9f6c..2be244a 100644 > --- a/arch/arm/boot/dts/armada-xp.dtsi > +++ b/arch/arm/boot/dts/armada-xp.dtsi > @@ -35,6 +35,11 @@ > }; > > internal-regs { > + sdramc at 1400 { > + compatible = "marvell,armada-xp-sdram-controller"; > + reg = <0x1400 0x500>; It seemed a quite large area, but indeed there are registers related to the sdram controller at least until the address 0x18AC. > + }; > + > L2: l2-cache { > compatible = "marvell,aurora-system-cache"; > reg = <0x08000 0x1000>; > -- Gregory Clement, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gregory CLEMENT Subject: Re: [PATCH 17/17] ARM: mvebu: add SDRAM controller description for Armada XP Date: Mon, 10 Nov 2014 15:25:08 +0100 Message-ID: <5460CAC4.7030008@free-electrons.com> References: <1414151970-6626-1-git-send-email-thomas.petazzoni@free-electrons.com> <1414151970-6626-18-git-send-email-thomas.petazzoni@free-electrons.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1414151970-6626-18-git-send-email-thomas.petazzoni-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org> Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Thomas Petazzoni Cc: Jason Cooper , Andrew Lunn , Sebastian Hesselbarth , linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, Tawfik Bayouk , Nadav Haklai , Lior Amsalem , Ezequiel Garcia , devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: devicetree@vger.kernel.org Hi Thomas, On 24/10/2014 13:59, Thomas Petazzoni wrote: > The suspend/resume sequence on Armada XP needs to modify a number of > registers in the SDRAM controller. Therefore, this commit updates the > Armada XP Device Tree description to include the SDRAM controller > Device Tree node. > Acked-by: Gregory CLEMENT Thanks, Gregory > Signed-off-by: Thomas Petazzoni > --- > arch/arm/boot/dts/armada-xp.dtsi | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/arch/arm/boot/dts/armada-xp.dtsi b/arch/arm/boot/dts/armada-xp.dtsi > index bff9f6c..2be244a 100644 > --- a/arch/arm/boot/dts/armada-xp.dtsi > +++ b/arch/arm/boot/dts/armada-xp.dtsi > @@ -35,6 +35,11 @@ > }; > > internal-regs { > + sdramc@1400 { > + compatible = "marvell,armada-xp-sdram-controller"; > + reg = <0x1400 0x500>; It seemed a quite large area, but indeed there are registers related to the sdram controller at least until the address 0x18AC. > + }; > + > L2: l2-cache { > compatible = "marvell,aurora-system-cache"; > reg = <0x08000 0x1000>; > -- Gregory Clement, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html