remoteproc: dt: Provide bindings for iMX6SX/7D Remote Processor Controller driver
authorOleksij Rempel <o.rempel@pengutronix.de>
Thu, 17 Aug 2017 07:15:25 +0000 (09:15 +0200)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Wed, 30 Aug 2017 23:05:04 +0000 (16:05 -0700)
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Documentation/devicetree/bindings/remoteproc/imx-rproc.txt [new file with mode: 0644]

diff --git a/Documentation/devicetree/bindings/remoteproc/imx-rproc.txt b/Documentation/devicetree/bindings/remoteproc/imx-rproc.txt
new file mode 100644 (file)
index 0000000..fbcefd9
--- /dev/null
@@ -0,0 +1,33 @@
+NXP iMX6SX/iMX7D Co-Processor Bindings
+----------------------------------------
+
+This binding provides support for ARM Cortex M4 Co-processor found on some
+NXP iMX SoCs.
+
+Required properties:
+- compatible           Should be one of:
+                               "fsl,imx7d-cm4"
+                               "fsl,imx6sx-cm4"
+- clocks               Clock for co-processor (See: ../clock/clock-bindings.txt)
+- syscon               Phandle to syscon block which provide access to
+                       System Reset Controller
+
+Optional properties:
+- memory-region                list of phandels to the reserved memory regions.
+                       (See: ../reserved-memory/reserved-memory.txt)
+
+Example:
+       m4_reserved_sysmem1: cm4@80000000 {
+               reg = <0x80000000 0x80000>;
+       };
+
+       m4_reserved_sysmem2: cm4@81000000 {
+               reg = <0x81000000 0x80000>;
+       };
+
+       imx7d-cm4 {
+               compatible      = "fsl,imx7d-cm4";
+               memory-region   = <&m4_reserved_sysmem1>, <&m4_reserved_sysmem2>;
+               syscon          = <&src>;
+               clocks          = <&clks IMX7D_ARM_M4_ROOT_CLK>;
+       };