From patchwork Fri Jul 28 23:19:14 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Suman Anna X-Patchwork-Id: 108925 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp968573qge; Fri, 28 Jul 2017 16:20:43 -0700 (PDT) X-Received: by 10.99.163.26 with SMTP id s26mr8555055pge.232.1501284043318; Fri, 28 Jul 2017 16:20:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1501284043; cv=none; d=google.com; s=arc-20160816; b=I0/MdIPYQhBAKTBYnSFViyCh7qwmoBLAoo37Fft+BXV2xoLcRC6Jgewd8j4i8clWVr pKyCazM+FOAiGRJuTjK4seQEPUibsiix7a7zOWbncuKETQzJf7kJLd/JJCPYi0KtjMO8 sqRqWCw2yye0L5dOPKlSvbx2TDdSpgvyn6I9iehSOnJtwUBz/GTBfcqXoYwWEbBW8f6B iDs3u3bMcH1I+DtD5WXFi10xRFwZRUVBs2tNffJV9s4R2++lAzhPzedFKrf0Plbqp9VP OGVvjVJ/fMhd9iamO2JVppkp8PuzQCPWhZyoAPrssZdZ1tEOvkBfgsFulKmyMKPSac6d eM6g== 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=0welhj//eVPgYJI4Wpin0E0ttVNo4JxIX+Pv8ptq94c=; b=kAC/TcNR6REFjiXLX9T27Ibu0fL3Q2aFtJGX2kp+jH4Aobv2M9CRJ7B4pPoQtvZTEu 5A/m3gogfrwwrAT5OIR9F7PZJHYhFj5Zdr+GaZ+2bV0XtjJsHsP/rCJRBZD3HQ06P7cs ou8xQ/7vFmlYyNRLR4e6ffo6lFvHgZWPQalW609vbehbF0U1YGlxUa+NpVlceib//FXQ QP/UdqWWDAlZdXbe1sUdLBqh11pjnK4oAT94EpLySP5w96UnKPylsWRtZs1ZZMKSjzOk hS3VuJzN8It6dp/9dhs2h1bTuQkyeYUCrJol5TjdCI0jGrlRAtQMnFyjv1YiiPfVzKZ1 dO6Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.b=oLSKWzMM; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (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 a5si5327252plh.712.2017.07.28.16.20.43; Fri, 28 Jul 2017 16:20:43 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.b=oLSKWzMM; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753298AbdG1XUk (ORCPT + 26 others); Fri, 28 Jul 2017 19:20:40 -0400 Received: from fllnx209.ext.ti.com ([198.47.19.16]:45678 "EHLO fllnx209.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753136AbdG1XUZ (ORCPT ); Fri, 28 Jul 2017 19:20:25 -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 v6SNJQku028736; Fri, 28 Jul 2017 18:19:26 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1501283966; bh=5hVd79m7yT0mhCTsWtj0XbKwCiYKOhcCYEu4S3PwBs8=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=oLSKWzMM6AgRYsuNeabAqPpNQuwVZZ+1du7lWHMlrZtDHNZ0F2tB9UZZlAl8B3ppo i1dCRI7UoWo23Opso0e0vJhYdmxpU9fPuMyM4lQwZszOtaWZytr+8QwPWlzuDXRQ/E IkseMeOCjz7cnNL6bo62nl3YjCvl8ctzP0T6kouc= 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 v6SNJLUe031697; Fri, 28 Jul 2017 18:19:21 -0500 Received: from dflp33.itg.ti.com (10.64.6.16) by DFLE72.ent.ti.com (128.247.5.109) with Microsoft SMTP Server id 14.3.294.0; Fri, 28 Jul 2017 18:19:20 -0500 Received: from legion.dal.design.ti.com (legion.dal.design.ti.com [128.247.22.53]) by dflp33.itg.ti.com (8.14.3/8.13.8) with ESMTP id v6SNJKEY015006; Fri, 28 Jul 2017 18:19:20 -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 v6SNJK311353; Fri, 28 Jul 2017 18:19:20 -0500 (CDT) From: Suman Anna To: Santosh Shilimkar CC: , , , Suman Anna , Sam Nelson , "Andrew F. Davis" Subject: [PATCH 2/6] ARM: dts: keystone-k2l: Add DSP nodes Date: Fri, 28 Jul 2017 18:19:14 -0500 Message-ID: <20170728231918.16778-3-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: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The Keystone 2 66AK2L SoCs have 4 TMS320C66x DSP Core Subsystems (C66x CorePacs), each with a 1.0 GHz or 1.2 GHz C66x Fixed / Floating-Point DSP Core, and 32 KB of L1P & L1D SRAMs and a 1 MB L2 SRAM. Add the DT nodes for these DSP processor sub-systems. The processors do not have an MMU, and use various IPC Generation registers and shared memory for inter-processor communication. The aliases with a stem 'rproc' have also been added for all the DSPs, they provide a fixed remoteproc id to each DSP processor. Signed-off-by: Suman Anna Signed-off-by: Sam Nelson Signed-off-by: Andrew F. Davis --- arch/arm/boot/dts/keystone-k2l.dtsi | 71 +++++++++++++++++++++++++++++++++++++ 1 file changed, 71 insertions(+) -- 2.13.1 diff --git a/arch/arm/boot/dts/keystone-k2l.dtsi b/arch/arm/boot/dts/keystone-k2l.dtsi index 148650406cf7..4431310bc922 100644 --- a/arch/arm/boot/dts/keystone-k2l.dtsi +++ b/arch/arm/boot/dts/keystone-k2l.dtsi @@ -33,6 +33,13 @@ }; }; + aliases { + rproc0 = &dsp0; + rproc1 = &dsp1; + rproc2 = &dsp2; + rproc3 = &dsp3; + }; + soc { /include/ "keystone-k2l-clocks.dtsi" @@ -268,6 +275,70 @@ gpio,syscon-dev = <&devctrl 0x24c>; }; + dsp0: dsp@10800000 { + compatible = "ti,k2l-dsp"; + reg = <0x10800000 0x00100000>, + <0x10e00000 0x00008000>, + <0x10f00000 0x00008000>; + reg-names = "l2sram", "l1pram", "l1dram"; + clocks = <&clkgem0>; + ti,syscon-dev = <&devctrl 0x844>; + resets = <&pscrst 0>; + interrupt-parent = <&kirq0>; + interrupts = <0 8>; + interrupt-names = "vring", "exception"; + kick-gpios = <&dspgpio0 27 0>; + status = "disabled"; + }; + + dsp1: dsp@11800000 { + compatible = "ti,k2l-dsp"; + reg = <0x11800000 0x00100000>, + <0x11e00000 0x00008000>, + <0x11f00000 0x00008000>; + reg-names = "l2sram", "l1pram", "l1dram"; + clocks = <&clkgem1>; + ti,syscon-dev = <&devctrl 0x848>; + resets = <&pscrst 1>; + interrupt-parent = <&kirq0>; + interrupts = <1 9>; + interrupt-names = "vring", "exception"; + kick-gpios = <&dspgpio1 27 0>; + status = "disabled"; + }; + + dsp2: dsp@12800000 { + compatible = "ti,k2l-dsp"; + reg = <0x12800000 0x00100000>, + <0x12e00000 0x00008000>, + <0x12f00000 0x00008000>; + reg-names = "l2sram", "l1pram", "l1dram"; + clocks = <&clkgem2>; + ti,syscon-dev = <&devctrl 0x84c>; + resets = <&pscrst 2>; + interrupt-parent = <&kirq0>; + interrupts = <2 10>; + interrupt-names = "vring", "exception"; + kick-gpios = <&dspgpio2 27 0>; + status = "disabled"; + }; + + dsp3: dsp@13800000 { + compatible = "ti,k2l-dsp"; + reg = <0x13800000 0x00100000>, + <0x13e00000 0x00008000>, + <0x13f00000 0x00008000>; + reg-names = "l2sram", "l1pram", "l1dram"; + clocks = <&clkgem3>; + ti,syscon-dev = <&devctrl 0x850>; + resets = <&pscrst 3>; + interrupt-parent = <&kirq0>; + interrupts = <3 11>; + interrupt-names = "vring", "exception"; + kick-gpios = <&dspgpio3 27 0>; + status = "disabled"; + }; + mdio: mdio@26200f00 { compatible = "ti,keystone_mdio", "ti,davinci_mdio"; #address-cells = <1>;