aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSuman Anna2016-03-16 23:14:57 -0500
committerSuman Anna2019-03-04 10:02:38 -0600
commit2dfa6607c0f1c01cd4e6a8e16c123c864803683e (patch)
treeda83b274dcad687256f661112a0109407ea28558
parent3a0f9b815500f04a81d6a2ea70ca2458fb4911cc (diff)
downloadremoteproc-2dfa6607c0f1c01cd4e6a8e16c123c864803683e.tar.gz
remoteproc-2dfa6607c0f1c01cd4e6a8e16c123c864803683e.tar.xz
remoteproc-2dfa6607c0f1c01cd4e6a8e16c123c864803683e.zip
ARM: dts: dra72-evm: 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 DRA72 EVM board. These nodes are assigned to the respective rproc device nodes, and both the IPUs and the DSP1 remote processors are enabled for this board. 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 <s-anna@ti.com>
-rw-r--r--arch/arm/boot/dts/dra72-evm.dts42
1 files changed, 42 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/dra72-evm.dts b/arch/arm/boot/dts/dra72-evm.dts
index c572693b1665..417414a3abe0 100644
--- a/arch/arm/boot/dts/dra72-evm.dts
+++ b/arch/arm/boot/dts/dra72-evm.dts
@@ -15,6 +15,33 @@
15 reg = <0x0 0x80000000 0x0 0x40000000>; /* 1024 MB */ 15 reg = <0x0 0x80000000 0x0 0x40000000>; /* 1024 MB */
16 }; 16 };
17 17
18 reserved-memory {
19 #address-cells = <2>;
20 #size-cells = <2>;
21 ranges;
22
23 ipu2_memory_region: ipu2-memory@95800000 {
24 compatible = "shared-dma-pool";
25 reg = <0x0 0x95800000 0x0 0x3800000>;
26 reusable;
27 status = "okay";
28 };
29
30 dsp1_memory_region: dsp1-memory@99000000 {
31 compatible = "shared-dma-pool";
32 reg = <0x0 0x99000000 0x0 0x4000000>;
33 reusable;
34 status = "okay";
35 };
36
37 ipu1_memory_region: ipu1-memory@9d000000 {
38 compatible = "shared-dma-pool";
39 reg = <0x0 0x9d000000 0x0 0x2000000>;
40 reusable;
41 status = "okay";
42 };
43 };
44
18 evm_1v8_sw: fixedregulator-evm_1v8 { 45 evm_1v8_sw: fixedregulator-evm_1v8 {
19 compatible = "regulator-fixed"; 46 compatible = "regulator-fixed";
20 regulator-name = "evm_1v8"; 47 regulator-name = "evm_1v8";
@@ -75,3 +102,18 @@
75 pinctrl-3 = <&mmc2_pins_hs200 &mmc2_iodelay_hs200_rev10_conf>; 102 pinctrl-3 = <&mmc2_pins_hs200 &mmc2_iodelay_hs200_rev10_conf>;
76 vmmc-supply = <&evm_1v8_sw>; 103 vmmc-supply = <&evm_1v8_sw>;
77}; 104};
105
106&ipu2 {
107 status = "okay";
108 memory-region = <&ipu2_memory_region>;
109};
110
111&ipu1 {
112 status = "okay";
113 memory-region = <&ipu1_memory_region>;
114};
115
116&dsp1 {
117 status = "okay";
118 memory-region = <&dsp1_memory_region>;
119};