Commit b4778e78 authored by Suman Anna's avatar Suman Anna Committed by Tony Lindgren

ARM: dts: omap4-panda-common: Add CMA pools and enable IPU & DSP

The CMA reserved memory nodes have been added for the IPU and DSP
remoteproc devices on all the OMAP4-based Panda boards. These nodes
are assigned to the respective rproc device nodes, and both the
IPU and DSP remote processors are enabled for all these boards.

The current CMA pools and sizes are defined statically for each device.
The starting addresses are fixed to meet current dependencies on the
remote processor firmwares, and will go away when the remote-side
code has been improved to gather this information runtime during
its initialization.

An associated pair of the rproc node and its CMA node can be disabled
later on if there is no use-case defined to use that remote processor.
Signed-off-by: default avatarSuman Anna <s-anna@ti.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 691eb180
...@@ -12,6 +12,26 @@ memory@80000000 { ...@@ -12,6 +12,26 @@ memory@80000000 {
reg = <0x80000000 0x40000000>; /* 1 GB */ reg = <0x80000000 0x40000000>; /* 1 GB */
}; };
reserved-memory {
#address-cells = <1>;
#size-cells = <1>;
ranges;
dsp_memory_region: dsp-memory@98000000 {
compatible = "shared-dma-pool";
reg = <0x98000000 0x800000>;
reusable;
status = "okay";
};
ipu_memory_region: ipu-memory@98800000 {
compatible = "shared-dma-pool";
reg = <0x98800000 0x7000000>;
reusable;
status = "okay";
};
};
chosen { chosen {
stdout-path = &uart3; stdout-path = &uart3;
}; };
...@@ -571,3 +591,13 @@ hdmi_out: endpoint { ...@@ -571,3 +591,13 @@ hdmi_out: endpoint {
}; };
}; };
}; };
&dsp {
status = "okay";
memory-region = <&dsp_memory_region>;
};
&ipu {
status = "okay";
memory-region = <&ipu_memory_region>;
};
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment