diff options
author | Suman Anna <s-anna@ti.com> | 2017-08-12 10:58:11 -0700 |
---|---|---|
committer | Santosh Shilimkar <ssantosh@kernel.org> | 2017-08-12 10:58:11 -0700 |
commit | 6794d3771c319bd67f95575f11846a0fe86105c5 (patch) | |
tree | d1dd4c4405a32c488c6ad190ed7cc61b5bedb048 /arch/arm/boot/dts/keystone-k2g-ice.dts | |
parent | 786d7114d25ea990792bc4cb9a0e725a7ac78f81 (diff) | |
download | linux-6794d3771c319bd67f95575f11846a0fe86105c5.tar.gz linux-6794d3771c319bd67f95575f11846a0fe86105c5.tar.bz2 linux-6794d3771c319bd67f95575f11846a0fe86105c5.zip |
ARM: dts: keystone-k2g-ice: Add and enable DSP CMA memory pool
A CMA memory pool reserved memory node is added, and is attached
to the DSP node through the 'memory-region' property on the K2G
ICE board. This area will be used for allocating virtio rings and
buffers. This node allows the DSP Memory Protection and Address
Extension (MPAX) module to be configured properly for the DSP
processor, and matches the values used on the other Keystone 2
boards for software compatibility.
The reserved memory node and the user DSP node are also marked
okay to enable the DSP on the K2G ICE board.
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-k2g-ice.dts')
-rw-r--r-- | arch/arm/boot/dts/keystone-k2g-ice.dts | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/keystone-k2g-ice.dts b/arch/arm/boot/dts/keystone-k2g-ice.dts index d820d37b5148..78692745e0af 100644 --- a/arch/arm/boot/dts/keystone-k2g-ice.dts +++ b/arch/arm/boot/dts/keystone-k2g-ice.dts @@ -17,6 +17,19 @@ device_type = "memory"; reg = <0x00000008 0x00000000 0x00000000 0x20000000>; }; + + 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"; + }; + }; }; &k2g_pinctrl { @@ -33,3 +46,8 @@ pinctrl-0 = <&uart0_pins>; status = "okay"; }; + +&dsp0 { + memory-region = <&dsp_common_memory>; + status = "okay"; +}; |