Skip to content

Commit 101a29d

Browse files
sumanannatmlind
authored andcommitted
ARM: dts: dra76-evm: Add CMA pools and enable IPU & DSP rprocs
The CMA reserved memory nodes have been added for all the IPU and the DSP remoteproc devices on the DRA76 EVM board, and assigned to the respective rproc device nodes. These match the configuration used on the DRA7 EVM board. Both the CMA nodes and the corresponding rproc nodes are also enabled to enable these processors on the DRA76 EVM board. Signed-off-by: Suman Anna <[email protected]> Signed-off-by: Tero Kristo <[email protected]> Signed-off-by: Tony Lindgren <[email protected]>
1 parent f09862d commit 101a29d

File tree

1 file changed

+54
-0
lines changed

1 file changed

+54
-0
lines changed

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

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,40 @@
2525
reg = <0x0 0x80000000 0x0 0x80000000>;
2626
};
2727

28+
reserved-memory {
29+
#address-cells = <2>;
30+
#size-cells = <2>;
31+
ranges;
32+
33+
ipu2_cma_pool: ipu2_cma@95800000 {
34+
compatible = "shared-dma-pool";
35+
reg = <0x0 0x95800000 0x0 0x3800000>;
36+
reusable;
37+
status = "okay";
38+
};
39+
40+
dsp1_cma_pool: dsp1_cma@99000000 {
41+
compatible = "shared-dma-pool";
42+
reg = <0x0 0x99000000 0x0 0x4000000>;
43+
reusable;
44+
status = "okay";
45+
};
46+
47+
ipu1_cma_pool: ipu1_cma@9d000000 {
48+
compatible = "shared-dma-pool";
49+
reg = <0x0 0x9d000000 0x0 0x2000000>;
50+
reusable;
51+
status = "okay";
52+
};
53+
54+
dsp2_cma_pool: dsp2_cma@9f000000 {
55+
compatible = "shared-dma-pool";
56+
reg = <0x0 0x9f000000 0x0 0x800000>;
57+
reusable;
58+
status = "okay";
59+
};
60+
};
61+
2862
vsys_12v0: fixedregulator-vsys12v0 {
2963
/* main supply */
3064
compatible = "regulator-fixed";
@@ -548,3 +582,23 @@
548582
data-lanes = <1 2>;
549583
};
550584
};
585+
586+
&ipu2 {
587+
status = "okay";
588+
memory-region = <&ipu2_cma_pool>;
589+
};
590+
591+
&ipu1 {
592+
status = "okay";
593+
memory-region = <&ipu1_cma_pool>;
594+
};
595+
596+
&dsp1 {
597+
status = "okay";
598+
memory-region = <&dsp1_cma_pool>;
599+
};
600+
601+
&dsp2 {
602+
status = "okay";
603+
memory-region = <&dsp2_cma_pool>;
604+
};

0 commit comments

Comments
 (0)