From patchwork Fri Sep 28 19:37:52 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matt Porter X-Patchwork-Id: 1522561 Return-Path: X-Original-To: patchwork-davinci@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from devils.ext.ti.com (devils.ext.ti.com [198.47.26.153]) by patchwork2.kernel.org (Postfix) with ESMTP id EF578DF283 for ; Fri, 28 Sep 2012 19:40:36 +0000 (UTC) Received: from dlelxv30.itg.ti.com ([172.17.2.17]) by devils.ext.ti.com (8.13.7/8.13.7) with ESMTP id q8SJdKw1022991; Fri, 28 Sep 2012 14:39:20 -0500 Received: from DFLE72.ent.ti.com (dfle72.ent.ti.com [128.247.5.109]) by dlelxv30.itg.ti.com (8.13.8/8.13.8) with ESMTP id q8SJdKWu022040; Fri, 28 Sep 2012 14:39:20 -0500 Received: from dlelxv24.itg.ti.com (172.17.1.199) by dfle72.ent.ti.com (128.247.5.109) with Microsoft SMTP Server id 14.1.323.3; Fri, 28 Sep 2012 14:39:19 -0500 Received: from linux.omap.com (dlelxs01.itg.ti.com [157.170.227.31]) by dlelxv24.itg.ti.com (8.13.8/8.13.8) with ESMTP id q8SJdJO8026422; Fri, 28 Sep 2012 14:39:19 -0500 Received: from linux.omap.com (localhost [127.0.0.1]) by linux.omap.com (Postfix) with ESMTP id 7E31B8062D; Fri, 28 Sep 2012 14:39:19 -0500 (CDT) X-Original-To: davinci-linux-open-source@linux.davincidsp.com Delivered-To: davinci-linux-open-source@linux.davincidsp.com Received: from dflp51.itg.ti.com (dflp51.itg.ti.com [128.247.22.94]) by linux.omap.com (Postfix) with ESMTP id CD20E8062A for ; Fri, 28 Sep 2012 14:37:57 -0500 (CDT) Received: from white.ext.ti.com (white.ext.ti.com [192.94.93.38]) by dflp51.itg.ti.com (8.13.7/8.13.8) with ESMTP id q8SJbvDQ003668 for ; Fri, 28 Sep 2012 14:37:57 -0500 (CDT) Received: from psmtp.com (na3sys009amx218.postini.com [74.125.149.58]) by white.ext.ti.com (8.13.7/8.13.7) with SMTP id q8SJbu5f022864 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 28 Sep 2012 14:37:56 -0500 Received: from mail-ie0-f173.google.com ([209.85.223.173]) (using TLSv1) by na3sys009amx218.postini.com ([74.125.148.10]) with SMTP; Fri, 28 Sep 2012 12:37:56 PDT Received: by mail-ie0-f173.google.com with SMTP id 17so7532694iea.4 for ; Fri, 28 Sep 2012 12:37:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references; bh=01fe9qhNoiVnJNhvm04KOKnnHFnecBMw3W+it9lPZfE=; b=W050b60T2udoGGQdP6EFdEL400AAxBuwqzLd4uWLnXZYW67pUDdh/3HFaXdbDHHcAF iJWvVwWNJ7TDLU8fNcyEGp9O27Aq19vlwo+2j4oBibUPE9f82nbBvHu3v+KzwFJcvDRz FHAl/7sPc9/v3GlOZ338RGeXk7LMEbCC5WNJv3+qebOLHLfFKRDAxYhAKwD7ERBmkQVB AAP3mgfp+QRK8TkD5/cQGBc6Rvg5cOOrZDq+GbvEsNwzh5Cb5pOArs+06xxwONRtCyyA K1PlQ0BR77juuR55M9wSwb0JuU4ZWjYtp7qLDgPOcHKFqXxmM31WI1PSY33GLbYfiiIM noQg== Received: by 10.50.77.233 with SMTP id v9mr2647629igw.25.1348861076156; Fri, 28 Sep 2012 12:37:56 -0700 (PDT) Received: from beef.ohporter.com (cpe-24-166-64-7.neo.res.rr.com. [24.166.64.7]) by mx.google.com with ESMTPS id q1sm449747igj.15.2012.09.28.12.37.54 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 28 Sep 2012 12:37:55 -0700 (PDT) From: Matt Porter To: Greg Kroah-Hartman , "Hans J. Koch" , Benoit Cousson , Paul Walmsley , Sekhar Nori Subject: [PATCH v2 7/7] ARM: dts: AM33xx PRUSS support Date: Fri, 28 Sep 2012 15:37:52 -0400 Message-ID: <1348861072-14507-8-git-send-email-mporter@ti.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1348861072-14507-1-git-send-email-mporter@ti.com> References: <1348861072-14507-1-git-send-email-mporter@ti.com> X-pstn-levels: (S:98.08633/99.90000 CV:99.9000 FC:95.5390 LC:95.5390 R:95.9108 P:95.9108 M:97.0282 C:98.6951 ) X-pstn-dkim: 1 skipped:not-enabled X-pstn-settings: 2 (0.5000:0.0050) s cv GT3 gt2 gt1 r p m c X-pstn-addresses: from [82/3] CC: Linux DaVinci Kernel List , Russell King , Tony Lindgren , Linux Kernel Mailing List , Linux OMAP List , Linux ARM Kernel List X-BeenThere: davinci-linux-open-source@linux.davincidsp.com X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: Errors-To: davinci-linux-open-source-bounces@linux.davincidsp.com Adds a pruss node and an example of use on Beaglebone. Signed-off-by: Matt Porter --- arch/arm/boot/dts/am335x-bone.dts | 4 ++++ arch/arm/boot/dts/am33xx.dtsi | 11 +++++++++++ 2 files changed, 15 insertions(+) diff --git a/arch/arm/boot/dts/am335x-bone.dts b/arch/arm/boot/dts/am335x-bone.dts index c634f87..9e070c2 100644 --- a/arch/arm/boot/dts/am335x-bone.dts +++ b/arch/arm/boot/dts/am335x-bone.dts @@ -78,3 +78,7 @@ }; }; }; + +&pruss { + status = "okay"; +}; diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi index bb31bff..399feb3 100644 --- a/arch/arm/boot/dts/am33xx.dtsi +++ b/arch/arm/boot/dts/am33xx.dtsi @@ -210,5 +210,16 @@ interrupt-parent = <&intc>; interrupts = <91>; }; + + pruss: pruss@4a300000 { + compatible = "ti,pruss-v2"; + ti,hwmods = "pruss"; + ti,deassert-hard-reset = "pruss", "pruss"; + reg = <0x4a300000 0x080000>; + ti,pintc-offset = <0x20000>; + interrupt-parent = <&intc>; + interrupts = <20 21 22 23 24 25 26 27>; + status = "disabled"; + }; }; };