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: 1522391 Return-Path: X-Original-To: patchwork-linux-omap@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id CD7023FE80 for ; Fri, 28 Sep 2012 19:38:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1031440Ab2I1Th7 (ORCPT ); Fri, 28 Sep 2012 15:37:59 -0400 Received: from mail-ie0-f174.google.com ([209.85.223.174]:38829 "EHLO mail-ie0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1031402Ab2I1Th4 (ORCPT ); Fri, 28 Sep 2012 15:37:56 -0400 Received: by mail-ie0-f174.google.com with SMTP id k13so8209939iea.19 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 Cc: Tony Lindgren , Russell King , Linux OMAP List , Linux Kernel Mailing List , Linux ARM Kernel List , Linux DaVinci Kernel List 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> Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org 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"; + }; }; };