summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/keystone-k2l-evm.dts
diff options
context:
space:
mode:
authorSam Nelson <sam.nelson@ti.com>2017-07-30 20:50:06 -0700
committerSantosh Shilimkar <ssantosh@kernel.org>2017-07-30 20:50:06 -0700
commit99663d4ef36718b3fcc7ab74dd5aec328e76ed67 (patch)
tree0e171c83a3dfec60e5c3e669132b7b869f7df363 /arch/arm/boot/dts/keystone-k2l-evm.dts
parent620eb21060879c653e1d2d72e83c53efa52374fc (diff)
ARM: dts: keystone-k2l-evm: Add and enable common DSP CMA memory 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 66AK2L 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 uniformly across all the DSP processors. The reserved memory node and all the user DSP nodes are also marked okay to enable the DSPs on the 66AK2L EVM board. Signed-off-by: Sam Nelson <sam.nelson@ti.com> Signed-off-by: Suman Anna <s-anna@ti.com> Signed-off-by: Santosh Shilimkar <ssantosh@kernel.org>
Diffstat (limited to 'arch/arm/boot/dts/keystone-k2l-evm.dts')
-rw-r--r--arch/arm/boot/dts/keystone-k2l-evm.dts33
1 files changed, 33 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/keystone-k2l-evm.dts b/arch/arm/boot/dts/keystone-k2l-evm.dts
index 056b42f99d7a..528667618db4 100644
--- a/arch/arm/boot/dts/keystone-k2l-evm.dts
+++ b/arch/arm/boot/dts/keystone-k2l-evm.dts
@@ -16,6 +16,19 @@
compatible = "ti,k2l-evm", "ti,k2l", "ti,keystone";
model = "Texas Instruments Keystone 2 Lamarr EVM";
+ reserved-memory {
+ #address-cells = <2>;
+ #size-cells = <2>;
+ ranges;
+
+ dsp_common_memory: dsp-common-memory@81f800000 {
+ compatible = "shared-dma-pool";
+ reg = <0x00000008 0x1f800000 0x00000000 0x800000>;
+ reusable;
+ status = "okay";
+ };
+ };
+
soc {
clocks {
refclksys: refclksys {
@@ -133,3 +146,23 @@
reg = <1>;
};
};
+
+&dsp0 {
+ memory-region = <&dsp_common_memory>;
+ status = "okay";
+};
+
+&dsp1 {
+ memory-region = <&dsp_common_memory>;
+ status = "okay";
+};
+
+&dsp2 {
+ memory-region = <&dsp_common_memory>;
+ status = "okay";
+};
+
+&dsp3 {
+ memory-region = <&dsp_common_memory>;
+ status = "okay";
+};