From patchwork Wed Sep 26 13:44:31 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matt Porter X-Patchwork-Id: 1509571 Return-Path: X-Original-To: patchwork-linux-omap@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id D3B55E00FC for ; Wed, 26 Sep 2012 13:45:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756635Ab2IZNov (ORCPT ); Wed, 26 Sep 2012 09:44:51 -0400 Received: from mail-ie0-f174.google.com ([209.85.223.174]:49412 "EHLO mail-ie0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756591Ab2IZNoh (ORCPT ); Wed, 26 Sep 2012 09:44:37 -0400 Received: by mail-ie0-f174.google.com with SMTP id k13so1392367iea.19 for ; Wed, 26 Sep 2012 06:44:36 -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=JeB3bMFlpodaIvi/zcZCCGq1kiF/rq+rgZuogS3YGc6d9jurub5/KBCoys2d+pWqvN 6/2rji5Fr/9BI4jOsZQpJakn0HxsmCss6qZtyQaUS/tKGuotbHTwWWGrb3XVNC0JxwWA EZGn0kihIuYLj+rCVvo5arAiLNrqsIak+I5nnSbgVEFBVWTpDG6nIgtZ7NwILs3qbK1Q rAu5xR/bVg9FnhoTXlzNUITKR3EvnYVV6gnQwy5ZwGqnZ+2zY9o0TMZPGL/JzBLACxDu 2CwmnYiYIicBWon1+XBm01C/44gBtrFMT4CziCKZLTRXlKDswEIx7sh0GZf0hqcrtheK xZDg== Received: by 10.50.181.200 with SMTP id dy8mr11184989igc.38.1348667076784; Wed, 26 Sep 2012 06:44:36 -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 7sm4514748igh.0.2012.09.26.06.44.35 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 26 Sep 2012 06:44:35 -0700 (PDT) From: Matt Porter To: Greg Kroah-Hartman , "Hans J. Koch" , Benoit Cousson , Paul Walmsley Cc: Tony Lindgren , Linux OMAP List , Linux Kernel Mailing List Subject: [RFC PATCH 3/3] ARM: dts: AM33xx PRUSS support Date: Wed, 26 Sep 2012 09:44:31 -0400 Message-Id: <1348667071-12631-4-git-send-email-mporter@ti.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1348667071-12631-1-git-send-email-mporter@ti.com> References: <1348667071-12631-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"; + }; }; };