aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorSuman Anna2017-09-06 14:07:12 -0500
committerSuman Anna2019-03-04 10:02:39 -0600
commitad44ddd5b7b47f24853740768c4d6ee58683178a (patch)
tree0b14829545cba1fae5d72d395845941ec6623195 /arch/arm
parent896cb04007c3a719d71cc3e1c4e7f06111fb19d8 (diff)
downloadremoteproc-ad44ddd5b7b47f24853740768c4d6ee58683178a.tar.gz
remoteproc-ad44ddd5b7b47f24853740768c4d6ee58683178a.tar.xz
remoteproc-ad44ddd5b7b47f24853740768c4d6ee58683178a.zip
ARM: dts: dra71-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 DRA71 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 DRA72 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>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/boot/dts/dra71-evm.dts42
1 files changed, 42 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/dra71-evm.dts b/arch/arm/boot/dts/dra71-evm.dts
index c471bf3277b4..a7938e72e73f 100644
--- a/arch/arm/boot/dts/dra71-evm.dts
+++ b/arch/arm/boot/dts/dra71-evm.dts
@@ -20,6 +20,33 @@
20 reg = <0x0 0x80000000 0x0 0x80000000>; /* 2GB */ 20 reg = <0x0 0x80000000 0x0 0x80000000>; /* 2GB */
21 }; 21 };
22 22
23 reserved-memory {
24 #address-cells = <2>;
25 #size-cells = <2>;
26 ranges;
27
28 ipu2_memory_region: ipu2-memory@95800000 {
29 compatible = "shared-dma-pool";
30 reg = <0x0 0x95800000 0x0 0x3800000>;
31 reusable;
32 status = "okay";
33 };
34
35 dsp1_memory_region: dsp1-memory@99000000 {
36 compatible = "shared-dma-pool";
37 reg = <0x0 0x99000000 0x0 0x4000000>;
38 reusable;
39 status = "okay";
40 };
41
42 ipu1_memory_region: ipu1-memory@9d000000 {
43 compatible = "shared-dma-pool";
44 reg = <0x0 0x9d000000 0x0 0x2000000>;
45 reusable;
46 status = "okay";
47 };
48 };
49
23 vpo_sd_1v8_3v3: gpio-regulator-TPS74801 { 50 vpo_sd_1v8_3v3: gpio-regulator-TPS74801 {
24 compatible = "regulator-gpio"; 51 compatible = "regulator-gpio";
25 52
@@ -273,3 +300,18 @@
273&extcon_usb2 { 300&extcon_usb2 {
274 vbus-gpio = <&pcf_lcd 15 GPIO_ACTIVE_HIGH>; 301 vbus-gpio = <&pcf_lcd 15 GPIO_ACTIVE_HIGH>;
275}; 302};
303
304&ipu2 {
305 status = "okay";
306 memory-region = <&ipu2_memory_region>;
307};
308
309&ipu1 {
310 status = "okay";
311 memory-region = <&ipu1_memory_region>;
312};
313
314&dsp1 {
315 status = "okay";
316 memory-region = <&dsp1_memory_region>;
317};