Devicetree
 help / color / mirror / Atom feed
From: Suman Anna <s-anna@ti.com>
To: Santosh Shilimkar <ssantosh@kernel.org>
Cc: devicetree@vger.kernel.org, Russell King <linux@armlinux.org.uk>,
	Vitaly Andrianov <vitalya@ti.com>,
	linux-kernel@vger.kernel.org, Tero Kristo <t-kristo@ti.com>,
	Rob Herring <robh+dt@kernel.org>,
	Murali Karicheri <m-karicheri2@ti.com>,
	linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 4/9] ARM: dts: keystone-k2g: Add MSM RAM node
Date: Fri, 6 Jan 2017 15:57:28 -0600	[thread overview]
Message-ID: <20170106215733.41637-5-s-anna@ti.com> (raw)
In-Reply-To: <20170106215733.41637-1-s-anna@ti.com>

Add the RAM managed by the Multicore Shared Memory Controller (MSMC)
as a mmio-sram node. The 66AK2G SoCs have 1 MB of such memory. Any
specific MSM memory range needed by a software module ought to be
reserved using an appropriate child node.

Signed-off-by: Suman Anna <s-anna@ti.com>
---
v2: No code changes, SoC name in commit message corrected to use 66AK2G

 arch/arm/boot/dts/keystone-k2g.dtsi | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/arch/arm/boot/dts/keystone-k2g.dtsi b/arch/arm/boot/dts/keystone-k2g.dtsi
index 63c7cf0c6b6d..e63e57e03b7c 100644
--- a/arch/arm/boot/dts/keystone-k2g.dtsi
+++ b/arch/arm/boot/dts/keystone-k2g.dtsi
@@ -77,6 +77,14 @@
 		ranges = <0x0 0x0 0x0 0xc0000000>;
 		dma-ranges = <0x80000000 0x8 0x00000000 0x80000000>;
 
+		msm_ram: msmram@0c000000 {
+			compatible = "mmio-sram";
+			reg = <0x0c000000 0x100000>;
+			ranges = <0x0 0x0c000000 0x100000>;
+			#address-cells = <1>;
+			#size-cells = <1>;
+		};
+
 		k2g_pinctrl: pinmux@02621000 {
 			compatible = "pinctrl-single";
 			reg = <0x02621000 0x410>;
-- 
2.10.2

  parent reply	other threads:[~2017-01-06 21:57 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-06 21:57 [PATCH v2 0/9] Use mmio-sram driver for Keystone MSMC RAM Suman Anna
2017-01-06 21:57 ` [PATCH v2 1/9] ARM: dts: keystone-k2hk: Add MSM RAM node Suman Anna
2017-01-06 21:57 ` [PATCH v2 2/9] ARM: dts: keystone-k2l: " Suman Anna
2017-01-06 21:57 ` [PATCH v2 3/9] ARM: dts: keystone-k2e: " Suman Anna
2017-01-06 21:57 ` Suman Anna [this message]
2017-01-06 21:57 ` [PATCH v2 5/9] ARM: configs: keystone: Enable Generic on-chip SRAM driver Suman Anna
2017-01-06 21:57 ` [PATCH v2 6/9] ARM: dts: keystone-k2hk: Reserve MSM RAM for boot monitor Suman Anna
2017-01-06 21:57 ` [PATCH v2 7/9] ARM: dts: keystone-k2l: " Suman Anna
2017-01-06 21:57 ` [PATCH v2 8/9] ARM: dts: keystone-k2e: " Suman Anna
2017-01-06 21:57 ` [PATCH v2 9/9] ARM: dts: keystone-k2g: " Suman Anna
2017-01-07 20:36 ` [PATCH v2 0/9] Use mmio-sram driver for Keystone MSMC RAM santosh.shilimkar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170106215733.41637-5-s-anna@ti.com \
    --to=s-anna@ti.com \
    --cc=devicetree@vger.kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@armlinux.org.uk \
    --cc=m-karicheri2@ti.com \
    --cc=robh+dt@kernel.org \
    --cc=ssantosh@kernel.org \
    --cc=t-kristo@ti.com \
    --cc=vitalya@ti.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox