From: wendy.liang@xilinx.com (Wendy Liang)
To: linux-arm-kernel@lists.infradead.org
Subject: [RFC PATCH 2/2] Documentation: DTS: bindings: add ZynqMP RPU remoteproc
Date: Wed, 15 Jul 2015 05:22:55 -0700 [thread overview]
Message-ID: <1436962975-13918-3-git-send-email-jliang@xilinx.com> (raw)
In-Reply-To: <1436962975-13918-1-git-send-email-jliang@xilinx.com>
Add documentation about the ZynqMP RPU remoteproc driver
DTS bindings.
Signed-off-by: Jason Wu <j.wu@xilinx.com>
Signed-off-by: Wendy Liang <jliang@xilinx.com>
---
.../bindings/remoteproc/zynqmp_r5_remoteproc.txt | 49 ++++++++++++++++++++++
1 file changed, 49 insertions(+)
create mode 100644 Documentation/devicetree/bindings/remoteproc/zynqmp_r5_remoteproc.txt
diff --git a/Documentation/devicetree/bindings/remoteproc/zynqmp_r5_remoteproc.txt b/Documentation/devicetree/bindings/remoteproc/zynqmp_r5_remoteproc.txt
new file mode 100644
index 0000000..94c1d00
--- /dev/null
+++ b/Documentation/devicetree/bindings/remoteproc/zynqmp_r5_remoteproc.txt
@@ -0,0 +1,49 @@
+Xilinx ARM Cortex A53-R5 remoteproc driver
+==========================================
+
+ZynqMP family of devices use two Cortex R5 processors to help with various
+low power / real time tasks.
+
+This driver requires specific ZynqMP hardware design.
+
+ZynqMP R5 RemoteProc Device Node:
+=================================
+A zynqmp_r5_remoteproc device node is used to represent a R5 IP instance
+within ZynqMP SoC.
+
+Required properties:
+--------------------
+ - compatible : Should be "xlnx,zynqmp-r5-remoteproc-1.0"
+ - reg : Address and length of the register set for the device. It
+ contains in the same order as described reg-names
+ - reg-names: Contain the register set names. For direct control method,
+ ipi, rpu_base and apb_base must be provided
+ - interrupts : Interrupt mapping for remoteproc IPI
+ - interrupt-parent : Phandle for the interrupt controller
+
+Optional properties:
+--------------------
+ - firmware : Default firmware image name "rproc-rpu-fw" which can be
+ loaded by remoteproc framework. This value can be override
+ by "firmware" module parameter.
+ - bootmem : R5 boot device (valid string, ocm or tcm), default is ocm.
+ - core_conf : R5 core configuration (valid string - split0 or split1 or
+ lock-step), default is lock-step.
+ - method : RPU and IPI control method - direct, smc, hvc, default is smc.
+ - ipi_dest_mask : IPI channel destination mask. This is used to clear
+ ipi SR and let the rpu know the kernel has completed the work.
+ default mask is "0x100"
+
+Example:
+--------
+ zynqmp-r5-remoteproc at 0 {
+ compatible = "xlnx,zynqmp-r5-remoteproc";
+ reg = <0x0 0x3ed00000 0x800000>, <0x0 0xff300000 0x100>, <0x0 0xff9a0000 0x400>, <0x0 0xff5e0000 0x400>;
+ reg-names = "shared", "ipi", "rpu_base", "apb_base";
+ core_conf = "split0";
+ method = "direct";
+ bootmem = "ocm";
+ firmware = "r5_image";
+ interrupt-parent = <&gic>;
+ interrupts = <0 49 4>;
+ } ;
--
2.1.1
next prev parent reply other threads:[~2015-07-15 12:22 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-15 12:22 [RFC PATCH 0/2] remoteproc: Add zynqmp R5 remoteproc driver Wendy Liang
2015-07-15 12:22 ` [RFC PATCH 1/2] " Wendy Liang
2015-07-15 12:22 ` Wendy Liang [this message]
2015-07-15 12:50 ` [RFC PATCH 2/2] Documentation: DTS: bindings: add ZynqMP RPU remoteproc Mark Rutland
2015-07-16 7:04 ` Wendy Liang
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=1436962975-13918-3-git-send-email-jliang@xilinx.com \
--to=wendy.liang@xilinx.com \
--cc=linux-arm-kernel@lists.infradead.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