From 011cdf36b70493c5f3add5565d6bc6b30c89d9a0 Mon Sep 17 00:00:00 2001 From: Oleksij Rempel Date: Mon, 11 Jun 2018 11:53:42 +0200 Subject: imx-rproc: dt: provide new remote-nodes option 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 --- Documentation/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>; }; -- cgit v1.2.3