diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2020-10-05 11:24:02 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2020-10-07 09:07:21 +0200 |
commit | f71a5c88666dc642c428abcc5d58c1362aba5050 (patch) | |
tree | d55665729d939b13b22fbb38aa3f63240248c0a3 /arch/arm | |
parent | ff1b710cf0194560cb92bc7c0ade21035e936a19 (diff) | |
download | barebox-f71a5c88666dc642c428abcc5d58c1362aba5050.tar.gz barebox-f71a5c88666dc642c428abcc5d58c1362aba5050.tar.xz |
ARM: dts: i.MX8MQ: Add Cortex-M4 Coprocessor node
The i.MX8MQ has a Cortex-M4 Coprocessor. Add a node for controlling it.
To make use of it the board has to provide the reserved memory nodes,
for example:
reserved-memory {
#address-cells = <2>;
#size-cells = <2>;
ranges;
m4_reserved: m7@0x40000000 {
no-map;
reg = <0 0x40000000 0 0x1000000>;
};
m4_reserved_sysmem3: rproc@80000000 {
reg = <0 0x80000000 0 0x800000>;
no-map;
};
};
&remoteproc_cm4 {
memory-region = <&m4_reserved>, <&m4_reserved_sysmem3>;
};
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/dts/imx8mq.dtsi | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/dts/imx8mq.dtsi b/arch/arm/dts/imx8mq.dtsi index 5f2df35bc9..ec8347f38f 100644 --- a/arch/arm/dts/imx8mq.dtsi +++ b/arch/arm/dts/imx8mq.dtsi @@ -4,6 +4,14 @@ * Copyright (C) 2017 Pengutronix, Lucas Stach <kernel@pengutronix.de> */ +/ { + remoteproc_cm4: remoteproc-cm4 { + compatible = "fsl,imx8mq-cm4"; + clocks = <&clk IMX8MQ_CLK_M4_CORE>; + syscon = <&src>; + }; +}; + &clk { assigned-clocks = <&clk IMX8MQ_CLK_USDHC1>, <&clk IMX8MQ_CLK_USDHC2>, |