From patchwork Fri Jul 28 23:19:18 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Suman Anna X-Patchwork-Id: 108921 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp967914qge; Fri, 28 Jul 2017 16:19:54 -0700 (PDT) X-Received: by 10.84.129.47 with SMTP id 44mr9727262plb.414.1501283994296; Fri, 28 Jul 2017 16:19:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1501283994; cv=none; d=google.com; s=arc-20160816; b=VvHrchX51sRFzjTDmI+xHqrKxcSs90J8tZdKf9HzgWzfu7LHP2Ia/V/MxlIHTJo2d8 hfvnOcopg2I06gRDmPQVq2wiGhmTi/6J9ONKumZTtTHr/JDzWGD/l+FvDSjwZQusns+a mUQqSdyitacbOHMnZFuh12SPYMIMJiUd4t+lbraZWDvlWBTQReyQlqnrhLXP8/s42QQt NmCpjo0fU+sb1suqH9OolG0kSaUTuvsS5XFaCF3JV4WgSUyVW6Vr4LRAtcvJLMrjBbjJ hlTsfxKNcU50dZBGcFXSYlMaQE6JtsIwohdNX9NdHa/SSA8/IpPN4hYSAIN8qq2hrNf8 Tb6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=XqarzCalEm7cBrscq/ZYJJMIKyqc8JIV16SsXWANCUo=; b=Yt4xDwWe322jN5x60ZbQV874zTNKNQsjOHN4GBZwe5Ea2Ta8aoGMuHFLzCO1tqrKlR SJn2XHPt6nTEd33lQDmq/jW9mtwpSNzi0bi2x22U6Gl0wcyXuNE4pkabUBWh8f74fiG/ 0Kgx7G4Epm1I5bpi0Re+AZS2olhBqeydrA7ocPCafalM8wMBfYMp8A7NZ87k04NXwk8h 2Vz3+/xRxU/OYT7+MGZ+GTS5i3iOZlVw9PHkT5LmwF177EE4FkOL45PDXhdOf0ejFjwE 0y1MZYNfEvVg2g2FaI55M9CaQP49TuP3xwCkFbpAzQW6yeD/av4MdNQuLOQOfykZIq6F rW0g== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@ti.com header.b=WxG3i2T6; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q2si13695187plh.464.2017.07.28.16.19.54; Fri, 28 Jul 2017 16:19:54 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@ti.com header.b=WxG3i2T6; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753112AbdG1XTu (ORCPT + 7 others); Fri, 28 Jul 2017 19:19:50 -0400 Received: from fllnx210.ext.ti.com ([198.47.19.17]:30059 "EHLO fllnx210.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753137AbdG1XTs (ORCPT ); Fri, 28 Jul 2017 19:19:48 -0400 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by fllnx210.ext.ti.com (8.15.1/8.15.1) with ESMTP id v6SNJMOu010104; Fri, 28 Jul 2017 18:19:22 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1501283962; bh=jzH9lp6pVQI2e10dOtoAfL+tFTSCPLAYWslyVba00h8=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=WxG3i2T6c7143yCirQd+xcMYsJs3to7czG1TRTi8dxc05c1cJ/a609bOEgy1ML+zR 1kEzhLvDGfrZdcFJupk9BLYrHsck+dUwqXjwJugCGvAuCuhyvQpUPSAKIytHrOupO7 UG5zIdCAzp1mJrk2fFPC8SHekZxs5daa7tiRUGMw= Received: from DFLE72.ent.ti.com (dfle72.ent.ti.com [128.247.5.109]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id v6SNJMXI031711; Fri, 28 Jul 2017 18:19:22 -0500 Received: from dlep33.itg.ti.com (157.170.170.75) by DFLE72.ent.ti.com (128.247.5.109) with Microsoft SMTP Server id 14.3.294.0; Fri, 28 Jul 2017 18:19:21 -0500 Received: from legion.dal.design.ti.com (legion.dal.design.ti.com [128.247.22.53]) by dlep33.itg.ti.com (8.14.3/8.13.8) with ESMTP id v6SNJLMH022339; Fri, 28 Jul 2017 18:19:21 -0500 Received: from localhost (irmo.dhcp.ti.com [128.247.58.153]) by legion.dal.design.ti.com (8.11.7p1+Sun/8.11.7) with ESMTP id v6SNJL311369; Fri, 28 Jul 2017 18:19:21 -0500 (CDT) From: Suman Anna To: Santosh Shilimkar CC: , , , Suman Anna , Sam Nelson , "Andrew F. Davis" Subject: [PATCH 6/6] ARM: dts: keystone-k2e-evm: Add and enable DSP CMA memory pool Date: Fri, 28 Jul 2017 18:19:18 -0500 Message-ID: <20170728231918.16778-7-s-anna@ti.com> X-Mailer: git-send-email 2.13.1 In-Reply-To: <20170728231918.16778-1-s-anna@ti.com> References: <20170728231918.16778-1-s-anna@ti.com> MIME-Version: 1.0 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Sam Nelson A CMA memory pool reserved memory node is added, and is attached to the DSP node through the 'memory-region' property on the K2E EVM 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 66AK2E EVM board. Signed-off-by: Sam Nelson Signed-off-by: Suman Anna --- arch/arm/boot/dts/keystone-k2e-evm.dts | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) -- 2.13.1 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/arch/arm/boot/dts/keystone-k2e-evm.dts b/arch/arm/boot/dts/keystone-k2e-evm.dts index ae1ebe7ee021..f1f32c54e72f 100644 --- a/arch/arm/boot/dts/keystone-k2e-evm.dts +++ b/arch/arm/boot/dts/keystone-k2e-evm.dts @@ -16,6 +16,19 @@ compatible = "ti,k2e-evm", "ti,k2e", "ti,keystone"; model = "Texas Instruments Keystone 2 Edison 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 { @@ -160,3 +173,8 @@ reg = <1>; }; }; + +&dsp0 { + memory-region = <&dsp_common_memory>; + status = "okay"; +};