From: Oleksij Rempel <o.rempel@pengutronix.de>
To: Ohad Ben-Cohen <ohad@wizery.com>,
Bjorn Andersson <bjorn.andersson@linaro.org>,
Rob Herring <robh+dt@kernel.org>,
Mark Rutland <mark.rutland@arm.com>,
"A.s. Dong" <aisheng.dong@nxp.com>
Cc: Oleksij Rempel <o.rempel@pengutronix.de>,
kernel@pengutronix.de, linux-remoteproc@vger.kernel.org,
devicetree@vger.kernel.org, dl-linux-imx <linux-imx@nxp.com>
Subject: [PATCH v1 1/2] imx-rproc: dt: provide new remote-nodes option
Date: Fri, 15 Jun 2018 13:57:30 +0200 [thread overview]
Message-ID: <20180615115731.18424-1-o.rempel@pengutronix.de> (raw)
On AMP systems we need to make sure that some device
nodes are not used by main system and reserved for
external system. Some of configuration should be
maintained by main system. For example clocks and pins.
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
---
.../devicetree/bindings/remoteproc/imx-rproc.txt | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/Documentation/devicetree/bindings/remoteproc/imx-rproc.txt b/Documentation/devicetree/bindings/remoteproc/imx-rproc.txt
index fbcefd965dc4..40bec03e094c 100644
--- a/Documentation/devicetree/bindings/remoteproc/imx-rproc.txt
+++ b/Documentation/devicetree/bindings/remoteproc/imx-rproc.txt
@@ -15,6 +15,7 @@ Required properties:
Optional properties:
- memory-region list of phandels to the reserved memory regions.
(See: ../reserved-memory/reserved-memory.txt)
+- remote-nodes list of device node phandels used by remote system.
Example:
m4_reserved_sysmem1: cm4@80000000 {
@@ -25,9 +26,21 @@ Example:
reg = <0x81000000 0x80000>;
};
+ /* node reserved for rproc */
+ &uart1 {
+ assigned-clock-rates = <240000000>;
+ status = "disabled";
+ };
+
+ &gpt2 {
+ assigned-clock-rates = <24000000>;
+ status = "disabled";
+ };
+
imx7d-cm4 {
compatible = "fsl,imx7d-cm4";
memory-region = <&m4_reserved_sysmem1>, <&m4_reserved_sysmem2>;
syscon = <&src>;
clocks = <&clks IMX7D_ARM_M4_ROOT_CLK>;
+ remote-nodes = <&gpt2>, <&uart1>;
};
--
2.17.1
next reply other threads:[~2018-06-15 11:57 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-15 11:57 Oleksij Rempel [this message]
2018-06-15 11:57 ` [PATCH v1 2/2] remoteproc: imx_rproc: assign other DT nodes to rproc node Oleksij Rempel
2018-06-15 13:21 ` [PATCH v1 1/2] imx-rproc: dt: provide new remote-nodes option Arnaud Pouliquen
2018-06-15 16:37 ` Oleksij Rempel
2018-06-18 9:32 ` Arnaud Pouliquen
2018-06-18 12:37 ` Oleksij Rempel
2018-06-19 13:58 ` Arnaud Pouliquen
2018-06-22 6:24 ` Oleksij Rempel
2018-06-22 8:36 ` Arnaud Pouliquen
2018-06-22 22:53 ` Bjorn Andersson
2018-06-22 22:15 ` Bjorn Andersson
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=20180615115731.18424-1-o.rempel@pengutronix.de \
--to=o.rempel@pengutronix.de \
--cc=aisheng.dong@nxp.com \
--cc=bjorn.andersson@linaro.org \
--cc=devicetree@vger.kernel.org \
--cc=kernel@pengutronix.de \
--cc=linux-imx@nxp.com \
--cc=linux-remoteproc@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=ohad@wizery.com \
--cc=robh+dt@kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.