Skip to content

Commit 371cddb

Browse files
sumanannatmlind
authored andcommitted
ARM: dts: dra7-evm: Add CMA pools and enable IPU & DSP rprocs
The CMA reserved memory nodes have been added for all the IPU and DSP remoteproc devices on DRA7 EVM board. These nodes are assigned to the respective rproc device nodes, and all the IPU and DSP remote processors are enabled for this board. The current CMA pools and sizes are defined statically for each device. The CMA pools and sizes are defined using 64-bit values to support LPAE. The starting addresses are fixed to meet current dependencies on the remote processor firmwares, and this 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: Suman Anna <[email protected]> Signed-off-by: Tero Kristo <[email protected]> Signed-off-by: Tony Lindgren <[email protected]>
1 parent d329f9f commit 371cddb

File tree

1 file changed

+54
-0
lines changed

1 file changed

+54
-0
lines changed

arch/arm/boot/dts/dra7-evm.dts

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,40 @@
3535
regulator-max-microvolt = <1800000>;
3636
};
3737

38+
reserved-memory {
39+
#address-cells = <2>;
40+
#size-cells = <2>;
41+
ranges;
42+
43+
ipu2_memory_region: ipu2-memory@95800000 {
44+
compatible = "shared-dma-pool";
45+
reg = <0x0 0x95800000 0x0 0x3800000>;
46+
reusable;
47+
status = "okay";
48+
};
49+
50+
dsp1_memory_region: dsp1-memory@99000000 {
51+
compatible = "shared-dma-pool";
52+
reg = <0x0 0x99000000 0x0 0x4000000>;
53+
reusable;
54+
status = "okay";
55+
};
56+
57+
ipu1_memory_region: ipu1-memory@9d000000 {
58+
compatible = "shared-dma-pool";
59+
reg = <0x0 0x9d000000 0x0 0x2000000>;
60+
reusable;
61+
status = "okay";
62+
};
63+
64+
dsp2_memory_region: dsp2-memory@9f000000 {
65+
compatible = "shared-dma-pool";
66+
reg = <0x0 0x9f000000 0x0 0x800000>;
67+
reusable;
68+
status = "okay";
69+
};
70+
};
71+
3872
evm_3v3_sd: fixedregulator-sd {
3973
compatible = "regulator-fixed";
4074
regulator-name = "evm_3v3_sd";
@@ -537,3 +571,23 @@
537571
pinctrl-1 = <&dcan1_pins_sleep>;
538572
pinctrl-2 = <&dcan1_pins_default>;
539573
};
574+
575+
&ipu2 {
576+
status = "okay";
577+
memory-region = <&ipu2_memory_region>;
578+
};
579+
580+
&ipu1 {
581+
status = "okay";
582+
memory-region = <&ipu1_memory_region>;
583+
};
584+
585+
&dsp1 {
586+
status = "okay";
587+
memory-region = <&dsp1_memory_region>;
588+
};
589+
590+
&dsp2 {
591+
status = "okay";
592+
memory-region = <&dsp2_memory_region>;
593+
};

0 commit comments

Comments
 (0)