From: Stuart Yoder <stuart.yoder-KZfg59tc24xl57MIdRCFDg@public.gmane.org>
To: robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org,
mark.rutland-5wv7dgnIgG8@public.gmane.org
Cc: devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
german.rivera-KZfg59tc24xl57MIdRCFDg@public.gmane.org,
bhupesh.sharma-KZfg59tc24xl57MIdRCFDg@public.gmane.org,
itai.katz-KZfg59tc24xl57MIdRCFDg@public.gmane.org,
Stuart Yoder
<stuart.yoder-KZfg59tc24xl57MIdRCFDg@public.gmane.org>
Subject: [PATCH 2/3] Docs: dt: fsl-mc update binding to include definition of ranges
Date: Fri, 25 Sep 2015 16:08:05 -0500 [thread overview]
Message-ID: <1443215286-3126-3-git-send-email-stuart.yoder@freescale.com> (raw)
In-Reply-To: <1443215286-3126-1-git-send-email-stuart.yoder-KZfg59tc24xl57MIdRCFDg@public.gmane.org>
Define a ranges property to specify the mapping between
the MC address space and the system address space.
Signed-off-by: Stuart Yoder <stuart.yoder-KZfg59tc24xl57MIdRCFDg@public.gmane.org>
---
.../devicetree/bindings/misc/fsl,qoriq-mc.txt | 30 +++++++++++++++++++++-
1 file changed, 29 insertions(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/misc/fsl,qoriq-mc.txt b/Documentation/devicetree/bindings/misc/fsl,qoriq-mc.txt
index 6aac955..848975f 100644
--- a/Documentation/devicetree/bindings/misc/fsl,qoriq-mc.txt
+++ b/Documentation/devicetree/bindings/misc/fsl,qoriq-mc.txt
@@ -35,6 +35,26 @@ Required properties:
Definition: Must be present and point to the MSI controller node
handling message interrupts for the MC.
+ - ranges
+ Value type: <prop-encoded-array>
+ Definition: A standard property. Defines the mapping between the child
+ MC address space and the parent system address space.
+
+ The MC address space is defined by 3 components:
+ <region type> <offset hi> <offset lo>
+
+ Valid values for region type are
+ 0x0 - MC portals
+ 0x1 - QBMAN portals
+
+ - #address-cells
+ Value type: <u32>
+ Definition: Must be 3. (see definition in 'ranges' property)
+
+ - #size-cells
+ Value type: <u32>
+ Definition: Must be 1.
+
Example:
fsl_mc: fsl-mc@80c000000 {
@@ -42,5 +62,13 @@ Example:
reg = <0x00000008 0x0c000000 0 0x40>, /* MC portal base */
<0x00000000 0x08340000 0 0x40000>; /* MC control reg */
msi-parent = <&its>;
- };
+ #address-cells = <3>;
+ #size-cells = <1>;
+ /*
+ * Region type 0x0 - MC portals
+ * Region type 0x1 - QBMAN portals
+ */
+ ranges = <0x0 0x0 0x0 0x8 0x0c000000 0x4000000
+ 0x1 0x0 0x0 0x8 0x18000000 0x8000000>;
+ };
--
2.3.3
--
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
next prev parent reply other threads:[~2015-09-25 21:08 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-25 21:08 [PATCH 0/3] Docs: dt: update binding for Freescale Management Complex Stuart Yoder
2015-09-25 21:08 ` [PATCH 1/3] Docs: dt: fsl-mc: update binding to include msi-parent Stuart Yoder
[not found] ` <1443215286-3126-2-git-send-email-stuart.yoder-KZfg59tc24xl57MIdRCFDg@public.gmane.org>
2015-09-29 19:21 ` Jose Rivera
[not found] ` <1443215286-3126-1-git-send-email-stuart.yoder-KZfg59tc24xl57MIdRCFDg@public.gmane.org>
2015-09-25 21:08 ` Stuart Yoder [this message]
[not found] ` <1443215286-3126-3-git-send-email-stuart.yoder-KZfg59tc24xl57MIdRCFDg@public.gmane.org>
2015-09-29 19:21 ` [PATCH 2/3] Docs: dt: fsl-mc update binding to include definition of ranges Jose Rivera
2015-09-25 21:08 ` [PATCH 3/3] Docs: dt: fsl-mc: update binding to define dpmac subnodes Stuart Yoder
2015-09-29 19:21 ` Jose Rivera
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=1443215286-3126-3-git-send-email-stuart.yoder@freescale.com \
--to=stuart.yoder-kzfg59tc24xl57midrcfdg@public.gmane.org \
--cc=bhupesh.sharma-KZfg59tc24xl57MIdRCFDg@public.gmane.org \
--cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=german.rivera-KZfg59tc24xl57MIdRCFDg@public.gmane.org \
--cc=itai.katz-KZfg59tc24xl57MIdRCFDg@public.gmane.org \
--cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=mark.rutland-5wv7dgnIgG8@public.gmane.org \
--cc=robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
/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;
as well as URLs for NNTP newsgroup(s).