Skip to content

Commit 35529cc

Browse files
sumanannatmlind
authored andcommitted
ARM: dts: beagle-x15-common: 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 all the AM57xx BeagleBoard-X15 boards. These nodes are assigned to the respective rproc device nodes, and all 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 addresses chosen are the same as the respective processors on the DRA7 EVM board to maintain firmware compatibility between the two boards. 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 101a29d commit 35529cc

File tree

1 file changed

+54
-0
lines changed

1 file changed

+54
-0
lines changed

arch/arm/boot/dts/am57xx-beagle-x15-common.dtsi

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,40 @@
5151
regulator-boot-on;
5252
};
5353

54+
reserved-memory {
55+
#address-cells = <2>;
56+
#size-cells = <2>;
57+
ranges;
58+
59+
ipu2_memory_region: ipu2-memory@95800000 {
60+
compatible = "shared-dma-pool";
61+
reg = <0x0 0x95800000 0x0 0x3800000>;
62+
reusable;
63+
status = "okay";
64+
};
65+
66+
dsp1_memory_region: dsp1-memory@99000000 {
67+
compatible = "shared-dma-pool";
68+
reg = <0x0 0x99000000 0x0 0x4000000>;
69+
reusable;
70+
status = "okay";
71+
};
72+
73+
ipu1_memory_region: ipu1-memory@9d000000 {
74+
compatible = "shared-dma-pool";
75+
reg = <0x0 0x9d000000 0x0 0x2000000>;
76+
reusable;
77+
status = "okay";
78+
};
79+
80+
dsp2_memory_region: dsp2-memory@9f000000 {
81+
compatible = "shared-dma-pool";
82+
reg = <0x0 0x9f000000 0x0 0x800000>;
83+
reusable;
84+
status = "okay";
85+
};
86+
};
87+
5488
vdd_3v3: fixedregulator-vdd_3v3 {
5589
compatible = "regulator-fixed";
5690
regulator-name = "vdd_3v3";
@@ -584,3 +618,23 @@
584618
tx-num-evt = <32>;
585619
rx-num-evt = <32>;
586620
};
621+
622+
&ipu2 {
623+
status = "okay";
624+
memory-region = <&ipu2_memory_region>;
625+
};
626+
627+
&ipu1 {
628+
status = "okay";
629+
memory-region = <&ipu1_memory_region>;
630+
};
631+
632+
&dsp1 {
633+
status = "okay";
634+
memory-region = <&dsp1_memory_region>;
635+
};
636+
637+
&dsp2 {
638+
status = "okay";
639+
memory-region = <&dsp2_memory_region>;
640+
};

0 commit comments

Comments
 (0)