From patchwork Wed Oct 22 14:09:30 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Emil Medve X-Patchwork-Id: 402153 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id B7EBE140076 for ; Thu, 23 Oct 2014 01:33:07 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753909AbaJVOc5 (ORCPT ); Wed, 22 Oct 2014 10:32:57 -0400 Received: from mail-bn1bon0135.outbound.protection.outlook.com ([157.56.111.135]:61888 "EHLO na01-bn1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752677AbaJVOcr (ORCPT ); Wed, 22 Oct 2014 10:32:47 -0400 X-Greylist: delayed 890 seconds by postgrey-1.27 at vger.kernel.org; Wed, 22 Oct 2014 10:32:46 EDT Received: from BN3PR0301CA0057.namprd03.prod.outlook.com (25.160.152.153) by DM2PR0301MB0752.namprd03.prod.outlook.com (25.160.97.148) with Microsoft SMTP Server (TLS) id 15.0.1054.13; Wed, 22 Oct 2014 14:17:52 +0000 Received: from BY2FFO11FD010.protection.gbl (2a01:111:f400:7c0c::175) by BN3PR0301CA0057.outlook.office365.com (2a01:111:e400:401e::25) with Microsoft SMTP Server (TLS) id 15.0.1054.13 via Frontend Transport; Wed, 22 Oct 2014 14:17:51 +0000 Received: from tx30smr01.am.freescale.net (192.88.168.50) by BY2FFO11FD010.mail.protection.outlook.com (10.1.14.74) with Microsoft SMTP Server (TLS) id 15.0.1049.20 via Frontend Transport; Wed, 22 Oct 2014 14:17:50 +0000 Received: from lazy.am.freescale.net (lazy.am.freescale.net [10.81.116.101]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id s9MEHkQf024651; Wed, 22 Oct 2014 07:17:49 -0700 From: Emil Medve To: , , , , , , , , , , , CC: Emil Medve Subject: [PATCH 2/4] dt/bindings: Introduce the FSL QorIQ DPAA BMan portal(s) Date: Wed, 22 Oct 2014 09:09:30 -0500 Message-ID: <1413986972-621-2-git-send-email-Emilian.Medve@Freescale.com> X-Mailer: git-send-email 2.1.2 In-Reply-To: <1413986972-621-1-git-send-email-Emilian.Medve@Freescale.com> References: <1413986972-621-1-git-send-email-Emilian.Medve@Freescale.com> X-EOPAttributedMessage: 0 X-Forefront-Antispam-Report: CIP:192.88.168.50; CTRY:US; IPV:CAL; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(199003)(189002)(76176999)(80022003)(46102003)(77156001)(6806004)(44976005)(21056001)(19580395003)(19580405001)(76482002)(102836001)(120916001)(104166001)(99396003)(26826002)(85852003)(4396001)(105606002)(50226001)(106466001)(50466002)(92726001)(2201001)(92566001)(84676001)(95666004)(88136002)(87286001)(107046002)(87936001)(20776003)(47776003)(229853001)(104016003)(62966002)(64706001)(89996001)(85306004)(50986999)(36756003)(68736004)(31966008)(93916002)(48376002)(97736003)(575784001)(86362001)(1121002)(921003); DIR:OUT; SFP:1102; SCL:1; SRVR:DM2PR0301MB0752; H:tx30smr01.am.freescale.net; FPR:; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; MIME-Version: 1.0 X-Microsoft-Antispam: UriScan:; X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:;SRVR:DM2PR0301MB0752; X-Forefront-PRVS: 037291602B Received-SPF: Fail (protection.outlook.com: domain of freescale.com does not designate 192.88.168.50 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.168.50; helo=tx30smr01.am.freescale.net; Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=Emilian.Medve@freescale.com; X-OriginatorOrg: freescale.com Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Portals are used by software running on processor cores, accelerators and network interfaces to communicate with the BMan Signed-off-by: Emil Medve Change-Id: I6d245ffc14ba3d0e91d403ac7c3b91b75a9e6a95 --- .../bindings/powerpc/fsl/bman-portals.txt | 50 ++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 Documentation/devicetree/bindings/powerpc/fsl/bman-portals.txt diff --git a/Documentation/devicetree/bindings/powerpc/fsl/bman-portals.txt b/Documentation/devicetree/bindings/powerpc/fsl/bman-portals.txt new file mode 100644 index 0000000..40e607e --- /dev/null +++ b/Documentation/devicetree/bindings/powerpc/fsl/bman-portals.txt @@ -0,0 +1,50 @@ +QorIQ DPAA Buffer Manager Portals Device Tree Binding + +Copyright (C) 2008 - 2014 Freescale Semiconductor Inc. + +CONTENTS + + - BMan Portal + - Example + +NOTE: The bindings described in this document are preliminary and subject to + change + +BMan Portal Node + +PROPERTIES + +- compatible + Usage: Required + Value type: + Definition: Must include "fsl,bman-portal-" + May include "fsl,-bman-portal" or "fsl,bman-portal" + +- reg + Usage: Required + Value type: + Definition: Two regions. The first is the cache-enabled region of + the portal. The second is the cache-inhibited region of + the portal + +EXAMPLE + +The example below shows a (P4080) BMan portals container/bus node with two portals + + bman-portals@ff4000000 { + #address-cells = <1>; + #size-cells = <1>; + compatible = "simple-bus"; + ranges = <0 0xf 0xf4000000 0x200000>; + + bman-portal@0 { + compatible = "fsl,bman-portal-1.0.0", "fsl,bman-portal"; + reg = <0x0 0x4000 0x100000 0x1000>; + interrupts = <105 2 0 0>; + }; + bman-portal@4000 { + compatible = "fsl,bman-portal-1.0.0", "fsl,bman-portal"; + reg = <0x4000 0x4000 0x101000 0x1000>; + interrupts = <107 2 0 0>; + }; + };