aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSuman Anna2018-02-22 11:41:11 -0600
committerSuman Anna2019-03-04 10:02:39 -0600
commit0b6cc121175c83e3a2fc6209f04c6551ffea9280 (patch)
treeb1cd699bc075b7400cb551ed0e4c6928e6189cac
parentfb756be57b8c1c9cd06f5152a5635d101794d1a5 (diff)
downloadremoteproc-0b6cc121175c83e3a2fc6209f04c6551ffea9280.tar.gz
remoteproc-0b6cc121175c83e3a2fc6209f04c6551ffea9280.tar.xz
remoteproc-0b6cc121175c83e3a2fc6209f04c6551ffea9280.zip
ARM: dts: am571x-idk: 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 AM571x IDK 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>
-rw-r--r--arch/arm/boot/dts/am571x-idk.dts42
1 files changed, 42 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/am571x-idk.dts b/arch/arm/boot/dts/am571x-idk.dts
index e903db9047db..1eca1ae56586 100644
--- a/arch/arm/boot/dts/am571x-idk.dts
+++ b/arch/arm/boot/dts/am571x-idk.dts
@@ -24,6 +24,33 @@
24 reg = <0x0 0x80000000 0x0 0x40000000>; 24 reg = <0x0 0x80000000 0x0 0x40000000>;
25 }; 25 };
26 26
27 reserved-memory {
28 #address-cells = <2>;
29 #size-cells = <2>;
30 ranges;
31
32 ipu2_memory_region: ipu2-memory@95800000 {
33 compatible = "shared-dma-pool";
34 reg = <0x0 0x95800000 0x0 0x3800000>;
35 reusable;
36 status = "okay";
37 };
38
39 dsp1_memory_region: dsp1-memory@99000000 {
40 compatible = "shared-dma-pool";
41 reg = <0x0 0x99000000 0x0 0x4000000>;
42 reusable;
43 status = "okay";
44 };
45
46 ipu1_memory_region: ipu1-memory@9d000000 {
47 compatible = "shared-dma-pool";
48 reg = <0x0 0x9d000000 0x0 0x2000000>;
49 reusable;
50 status = "okay";
51 };
52 };
53
27 leds { 54 leds {
28 compatible = "gpio-leds"; 55 compatible = "gpio-leds";
29 cpu0-led { 56 cpu0-led {
@@ -72,6 +99,21 @@
72 vbus-gpio = <&gpio7 22 GPIO_ACTIVE_HIGH>; 99 vbus-gpio = <&gpio7 22 GPIO_ACTIVE_HIGH>;
73}; 100};
74 101
102&ipu2 {
103 status = "okay";
104 memory-region = <&ipu2_memory_region>;
105};
106
107&ipu1 {
108 status = "okay";
109 memory-region = <&ipu1_memory_region>;
110};
111
112&dsp1 {
113 status = "okay";
114 memory-region = <&dsp1_memory_region>;
115};
116
75&pcie1_rc { 117&pcie1_rc {
76 status = "okay"; 118 status = "okay";
77 gpios = <&gpio3 23 GPIO_ACTIVE_HIGH>; 119 gpios = <&gpio3 23 GPIO_ACTIVE_HIGH>;