Skip to content

Commit 81fe00f

Browse files
sumanannatmlind
authored andcommitted
ARM: dts: dra72-evm-revc: Add CMA pools and enable IPUs & DSP1 rprocs
The CMA reserved memory nodes have been added for both the IPUs and the DSP1 remoteproc devices on the DRA72 EVM rev C board, and assigned to the respective rproc device nodes. These match the configuration used on the DRA72 EVM board. Both the CMA nodes and the corresponding rproc nodes are also enabled to enable these processors on the DRA72 EVM rev C board. Signed-off-by: Suman Anna <[email protected]> Signed-off-by: Tero Kristo <[email protected]> Signed-off-by: Tony Lindgren <[email protected]>
1 parent 791cc4e commit 81fe00f

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed

arch/arm/boot/dts/dra72-evm-revc.dts

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,33 @@
1414
reg = <0x0 0x80000000 0x0 0x80000000>; /* 2GB */
1515
};
1616

17+
reserved-memory {
18+
#address-cells = <2>;
19+
#size-cells = <2>;
20+
ranges;
21+
22+
ipu2_cma_pool: ipu2_cma@95800000 {
23+
compatible = "shared-dma-pool";
24+
reg = <0x0 0x95800000 0x0 0x3800000>;
25+
reusable;
26+
status = "okay";
27+
};
28+
29+
dsp1_cma_pool: dsp1_cma@99000000 {
30+
compatible = "shared-dma-pool";
31+
reg = <0x0 0x99000000 0x0 0x4000000>;
32+
reusable;
33+
status = "okay";
34+
};
35+
36+
ipu1_cma_pool: ipu1_cma@9d000000 {
37+
compatible = "shared-dma-pool";
38+
reg = <0x0 0x9d000000 0x0 0x2000000>;
39+
reusable;
40+
status = "okay";
41+
};
42+
};
43+
1744
evm_1v8_sw: fixedregulator-evm_1v8 {
1845
compatible = "regulator-fixed";
1946
regulator-name = "evm_1v8";
@@ -113,3 +140,18 @@
113140
pinctrl-3 = <&mmc2_pins_hs200 &mmc2_iodelay_hs200_rev20_conf>;
114141
vmmc-supply = <&evm_1v8_sw>;
115142
};
143+
144+
&ipu2 {
145+
status = "okay";
146+
memory-region = <&ipu2_cma_pool>;
147+
};
148+
149+
&ipu1 {
150+
status = "okay";
151+
memory-region = <&ipu1_cma_pool>;
152+
};
153+
154+
&dsp1 {
155+
status = "okay";
156+
memory-region = <&dsp1_cma_pool>;
157+
};

0 commit comments

Comments
 (0)