Commit 94bda1f59cd3e88573a2eb1f194e22cad3015e9b
Committed by
Suman Anna
1 parent
9c754c8ad1
Exists in
smarct4x-processor-sdk-linux-02.00.01
and in
3 other branches
ARM: dts: k2g-evm: Add a common DSP shared memory CMA pool
A common CMA memory pool reserved memory node is added, and is attached to all the DSP nodes through the 'memory-region' property on the K2 Galileo EVM board. This area will be used for allocating virtio rings and buffers. The common node allows the DSP Memory Protection and Address Extension (MPAX) module to be configured properly for the DSP processor. Signed-off-by: Andrew F. Davis <afd@ti.com> [s-anna@ti.com: correct CMA pool addresses] Signed-off-by: Suman Anna <s-anna@ti.com>
Showing 1 changed file with 16 additions and 0 deletions Side-by-side Diff
arch/arm/boot/dts/k2g-evm.dts
... | ... | @@ -25,6 +25,18 @@ |
25 | 25 | reg = <0x00000008 0x00000000 0x00000000 0x80000000>; |
26 | 26 | }; |
27 | 27 | |
28 | + reserved-memory { | |
29 | + #address-cells = <2>; | |
30 | + #size-cells = <2>; | |
31 | + ranges; | |
32 | + | |
33 | + dsp_common_cma_pool: dsp_common_cma_pool { | |
34 | + compatible = "shared-dma-pool"; | |
35 | + reg = <0x00000008 0x1f800000 0x00000000 0x800000>; | |
36 | + reusable; | |
37 | + }; | |
38 | + }; | |
39 | + | |
28 | 40 | mmc0_reg: fixedregulator-mmc0 { |
29 | 41 | compatible = "regulator-fixed"; |
30 | 42 | regulator-name = "mmc0_fixed"; |
... | ... | @@ -289,5 +301,9 @@ |
289 | 301 | &usb0 { |
290 | 302 | dr_mode = "host"; |
291 | 303 | status = "okay"; |
304 | +}; | |
305 | + | |
306 | +&dsp0 { | |
307 | + memory-region = <&dsp_common_cma_pool>; | |
292 | 308 | }; |