From patchwork Thu Aug 10 23:52:43 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Suman Anna X-Patchwork-Id: 109851 Delivered-To: patch@linaro.org Received: by 10.140.95.78 with SMTP id h72csp181404qge; Thu, 10 Aug 2017 16:53:58 -0700 (PDT) X-Received: by 10.84.229.5 with SMTP id b5mr15849891plk.216.1502409238532; Thu, 10 Aug 2017 16:53:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1502409238; cv=none; d=google.com; s=arc-20160816; b=MgEC7OSOq0BXZWbjDzNNHBOB2dSJZdMU5wAZujK8Tww1OWzxYF9PPrzZz+cNrH2Drt ZeK0TpjnIyZ6nP7ONb1ZNGWwybqDeeh1qVTqZJlkkdaUdh2qLpDB/qn3hpZ6J8akErzZ 5m1NBWYRcyk5GbFwCn6syi76MdfJGzfkgtnMIIKcqivKlTRjaSAI+fGB6OdymwGkpea8 ps+fcuGKkIzwC3jzgcTUx/zA5W3sdiiQqzwBkMzqcTLRw3TGv7DbWtvqD0pZ/MioeCcO mqx93XXtOi+oAU/WDo2UnzB1Cv8utJuyIrX0oAq89YOv4oqMYuMOhDUKB1eyI4wLHju8 Glcw== 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=lwP9kqRUt/P1yfc7LaFbRBMhaiZtN/jMdm4pBKmKEW8=; b=M4CMg8bpwzLH53g3MkNQM8xpn4rzQN4fxGEXh+KZL0RJF0FClwnHNq8zUwsqhbzd3d 7yYnmGeSxpdG7eiGLCeZfjolbIooaBljy/ZagYojLUkP2CsYI1gzDO1bUOXxspwy9rt0 SWy+6CArxlTCMa904mUzBR25DsAMKRqvy6k28MJfy0mVnu9+9VwGMELmjMhVSEi/gHjx E/Ep1GBR+m/cMVyIfxRzxcYbDvTNrZI3Wzqz0vVjrLUflA3I/ImipsES2F/HXIGTl2L1 XJoJ/2z2xUnn96v6pFvs7sLmbWPDaITOAT9R0WaDH/eKT6+RqY7krMk7zZGroPE4C5KA XTrw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@ti.com header.s=ti-com-17Q1 header.b=sO1h1q0u; 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 b61si5107103plb.250.2017.08.10.16.53.58; Thu, 10 Aug 2017 16:53:58 -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.s=ti-com-17Q1 header.b=sO1h1q0u; 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 S1752318AbdHJXx5 (ORCPT + 6 others); Thu, 10 Aug 2017 19:53:57 -0400 Received: from fllnx209.ext.ti.com ([198.47.19.16]:9331 "EHLO fllnx209.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752317AbdHJXxz (ORCPT ); Thu, 10 Aug 2017 19:53:55 -0400 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by fllnx209.ext.ti.com (8.15.1/8.15.1) with ESMTP id v7ANqtba004721; Thu, 10 Aug 2017 18:52:55 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1502409175; bh=IWowQiwJFuCOSAOctuKQAnGa94jx2UjYG+6y+G3Nv88=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=sO1h1q0u9GPrZXtey3ZweKhRk62z06gPrnQ+/FDcUgeWGHm6ufnUOpkV0RLC6d+z9 Fw/Y1s0TdJkJfAeD1+qBkAutcdnWNdKFeufU15NqGh1eseqQEQ/9J3XGxvcz9RNuET vAmsdS43ulCFWQIKT/MpF7BQHq6sGVIAeh8ABDBo= Received: from DFLE105.ent.ti.com (dfle105.ent.ti.com [10.64.6.26]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id v7ANqoQH029088; Thu, 10 Aug 2017 18:52:50 -0500 Received: from DFLE112.ent.ti.com (10.64.6.33) by DFLE105.ent.ti.com (10.64.6.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.1.845.34; Thu, 10 Aug 2017 18:52:50 -0500 Received: from DFLE106.ent.ti.com (10.64.6.27) by DFLE112.ent.ti.com (10.64.6.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.1.845.34; Thu, 10 Aug 2017 18:52:50 -0500 Received: from dlep33.itg.ti.com (157.170.170.75) by DFLE106.ent.ti.com (10.64.6.27) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.845.34 via Frontend Transport; Thu, 10 Aug 2017 18:52:50 -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 v7ANqooq029604; Thu, 10 Aug 2017 18:52:50 -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 v7ANqo327906; Thu, 10 Aug 2017 18:52:50 -0500 (CDT) From: Suman Anna To: Santosh Shilimkar CC: , , , Suman Anna , Sam Nelson , "Andrew F. Davis" Subject: [PATCH 1/3] ARM: dts: keystone-k2g: Add DSP node Date: Thu, 10 Aug 2017 18:52:43 -0500 Message-ID: <20170810235245.30316-2-s-anna@ti.com> X-Mailer: git-send-email 2.13.1 In-Reply-To: <20170810235245.30316-1-s-anna@ti.com> References: <20170810235245.30316-1-s-anna@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org The Keystone 2 66AK2G SoC has a single TMS320C66x DSP Core Subsystem (C66x CorePac), containing a C66x Fixed/Floating-Point DSP Core, and 32 KB of L1P & L1D SRAMs and a 1 MB L2 SRAM. Add the DT node for this DSP processor sub-system. The DT node has a new property 'power-domains' and no 'clocks' properties, and uses slightly different property values for 'resets' compared to other Keystone 2 SoCs. The processor does not have an MMU, and uses various IPC Generation registers and shared memory for inter-processor communication. The alias with a stem 'rproc' has also been added for the DSP, it provides a fixed remoteproc id for the DSP processor. Signed-off-by: Andrew F. Davis Signed-off-by: Suman Anna --- arch/arm/boot/dts/keystone-k2g.dtsi | 17 +++++++++++++++++ 1 file changed, 17 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-k2g.dtsi b/arch/arm/boot/dts/keystone-k2g.dtsi index 35726b66fb91..826b286665e6 100644 --- a/arch/arm/boot/dts/keystone-k2g.dtsi +++ b/arch/arm/boot/dts/keystone-k2g.dtsi @@ -28,6 +28,7 @@ aliases { serial0 = &uart0; + rproc0 = &dsp0; }; cpus { @@ -147,6 +148,22 @@ gpio,syscon-dev = <&devctrl 0x240>; }; + dsp0: dsp@10800000 { + compatible = "ti,k2g-dsp"; + reg = <0x10800000 0x00100000>, + <0x10e00000 0x00008000>, + <0x10f00000 0x00008000>; + reg-names = "l2sram", "l1pram", "l1dram"; + power-domains = <&k2g_pds 0x0046>; + ti,syscon-dev = <&devctrl 0x844>; + resets = <&k2g_reset 0x0046 0x1>; + interrupt-parent = <&kirq0>; + interrupts = <0 8>; + interrupt-names = "vring", "exception"; + kick-gpios = <&dspgpio0 27 0>; + status = "disabled"; + }; + msgmgr: msgmgr@02a00000 { compatible = "ti,k2g-message-manager"; #mbox-cells = <2>;