From patchwork Fri Jul 21 06:55:42 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anup Patel X-Patchwork-Id: 9856267 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id F0FF4601C0 for ; Fri, 21 Jul 2017 07:15:55 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D68512872B for ; Fri, 21 Jul 2017 07:15:55 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CB0FA28773; Fri, 21 Jul 2017 07:15:55 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE autolearn=unavailable version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 4FD022872B for ; Fri, 21 Jul 2017 07:15:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=1ZSJz8QKr3agP2SyspvVbwmiCCZI4JiHDJpmtGwGnZ0=; b=rcov4mD+NnKlCe5I9p6lrXjVZq 4TLS8Swd1IOfst7AN4Q9zD7nfIOYlpvM+NVdokaPDbed4nXlZxBEWqMjnWbrFgYUupAKkuz3l81/Q k/iJVLrUL+51ZZW3Lo8VNDNzb+gLDrs0dWlUrA3mtguwKGhqt7s/V6ZSSq3ERzr+NwKj7PLOy2WLT jHi+UUHxFUdboVGdcYOnVS+CNMoxuaPebbFfC83Io2DAMZr6d+fcoY85Pi7Uaz3OYBcA90o4JVox5 nj8f5ooVYTyBOzPRfoQ7xsF5yXgzp80/+P6/lWjRXdzxvySDMQxpASHgXLGRMwnMqGCVJ1Hhm5kuO dKZJoF7Q==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dYSAA-0007re-S8; Fri, 21 Jul 2017 07:15:50 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dYSA8-0005xT-By for linux-arm-kernel@bombadil.infradead.org; Fri, 21 Jul 2017 07:15:48 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=t+WbjKpZTF5fK3kiP2pnM0jPgbZE45BfVEIE88LXs2E=; b=aMNrshXOJ8f+8Y1J8TcaiDS+q TfIZR1rybdxVJT/ojtDLrICXalgjzCFi3vWXRWfd2KMSzo6HigJfRIl0kX8Gf/R1bb9Jze7eanRAf pFWP68Th07pElOGbiZiDJllXHbaDIGhbTKgCNj3uP0GZDPiSYTD22YsqULeUTXjnETSriHf3y32I9 gfC36sZD1N4xFXwFHOfNv6LTW65GXzHGOkn7J0N8DKHvIntQJakE3y0i3m/QJ8e5i7FS7SAMeAywD V0N6bh1sjxxLkEGm7ke3MfVPMlRnUJhXBLQQDZJAhmzfQixxwqJOOtARYVta7uhRF4i3Y8SFq2C+f amgWNsobw==; Received: from mail-wm0-x233.google.com ([2a00:1450:400c:c09::233]) by casper.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dYRs9-00016L-VB for linux-arm-kernel@lists.infradead.org; Fri, 21 Jul 2017 06:57:16 +0000 Received: by mail-wm0-x233.google.com with SMTP id w191so842448wmw.1 for ; Thu, 20 Jul 2017 23:56:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=t+WbjKpZTF5fK3kiP2pnM0jPgbZE45BfVEIE88LXs2E=; b=O6Ch6wTbOrjgqm8gIm6LtAASH0+a7VF22oS7kQQYmZ7s9VF3hCj97jdjtqk7salWbT 8+T26ujQdDFKfxfyWoFEFzaSmSE5JMFPhXxrB4WVpO6EWP4CT3+2Z/sauPJ18rZX8sMr /7/VatxwowkNYVSeHCBLSixXqPZR7wFYf7eqg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=t+WbjKpZTF5fK3kiP2pnM0jPgbZE45BfVEIE88LXs2E=; b=GBjyQ7VLGimxndPzxjgzzpjtZJEcBenoCrlBbgTg1u3+Ow0ihKDzNOb9zQgKcUEayc LIx+U20CzS4g7Hw8usyTajpYDQYrFtuFtlh/nU2afZH1gIFQ4mColLMP5dmdfq2sGPIP bJG6+J5crG+Hkn2xscSnYXa2p4trF5KyV7Pb00UuFVmj1Qk9wY1amoklP2IEuzCFCZ50 GGuLtTQA3jyKQvvxwk9e5BedW04RckeAJnCM34JFT15BB33xGHTQAtNZaiVLle0xEN83 8jjtOsi8tCWInEWF7wd53Zk9wX/2n4zYSz29b4MxufxYPnA1cEqCAnEFpToNOAH7k9ZN 7Anw== X-Gm-Message-State: AIVw111/bTrOCQ9mfQuG0X0YlizEdF41YJ6UfiE+e7UjvWs8RrYlR8L8 +uJtSPgTQf81VMEO X-Received: by 10.28.126.87 with SMTP id z84mr4005868wmc.65.1500620212189; Thu, 20 Jul 2017 23:56:52 -0700 (PDT) Received: from anup-HP-Compaq-8100-Elite-CMT-PC.dhcp.avagotech.net ([192.19.237.250]) by smtp.gmail.com with ESMTPSA id 77sm751684wmk.8.2017.07.20.23.56.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 20 Jul 2017 23:56:51 -0700 (PDT) From: Anup Patel To: Rob Herring , Mark Rutland , Catalin Marinas , Will Deacon , Jassi Brar Subject: [PATCH v2 7/7] arm64: dts: Add FlexRM DT nodes for Stingray Date: Fri, 21 Jul 2017 12:25:42 +0530 Message-Id: <1500620142-910-8-git-send-email-anup.patel@broadcom.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1500620142-910-1-git-send-email-anup.patel@broadcom.com> References: <1500620142-910-1-git-send-email-anup.patel@broadcom.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170721_075714_014204_B3C27762 X-CRM114-Status: GOOD ( 15.48 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Raveendra Padasalagi , Florian Fainelli , Anup Patel , Scott Branden , Ray Jui , linux-kernel@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP We have two instances of FlexRM on Stingray. One for SBA RAID offload engine and another for SPU2 Crypto offload engine. This patch adds FlexRM mailbox controller DT nodes for Stingray. Signed-off-by: Anup Patel Signed-off-by: Raveendra Padasalagi --- .../boot/dts/broadcom/stingray/stingray-fs4.dtsi | 54 ++++++++++++++++++++++ .../arm64/boot/dts/broadcom/stingray/stingray.dtsi | 2 + 2 files changed, 56 insertions(+) create mode 100644 arch/arm64/boot/dts/broadcom/stingray/stingray-fs4.dtsi diff --git a/arch/arm64/boot/dts/broadcom/stingray/stingray-fs4.dtsi b/arch/arm64/boot/dts/broadcom/stingray/stingray-fs4.dtsi new file mode 100644 index 0000000..1f927c4 --- /dev/null +++ b/arch/arm64/boot/dts/broadcom/stingray/stingray-fs4.dtsi @@ -0,0 +1,54 @@ +/* + * BSD LICENSE + * + * Copyright(c) 2016-2017 Broadcom. All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in + * the documentation and/or other materials provided with the + * distribution. + * * Neither the name of Broadcom nor the names of its + * contributors may be used to endorse or promote products derived + * from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ + + fs4: fs4 { + compatible = "simple-bus"; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0x0 0x0 0x67000000 0x00800000>; + + crypto_mbox: crypto_mbox@00000000 { + compatible = "brcm,iproc-flexrm-mbox"; + reg = <0x00000000 0x200000>; + msi-parent = <&gic_its 0x4100>; + #mbox-cells = <3>; + dma-coherent; + }; + + raid_mbox: raid_mbox@00400000 { + compatible = "brcm,iproc-flexrm-mbox"; + reg = <0x00400000 0x200000>; + dma-coherent; + msi-parent = <&gic_its 0x4300>; + #mbox-cells = <3>; + }; + }; diff --git a/arch/arm64/boot/dts/broadcom/stingray/stingray.dtsi b/arch/arm64/boot/dts/broadcom/stingray/stingray.dtsi index 49933cf..a98fbe9a 100644 --- a/arch/arm64/boot/dts/broadcom/stingray/stingray.dtsi +++ b/arch/arm64/boot/dts/broadcom/stingray/stingray.dtsi @@ -261,6 +261,8 @@ }; }; + #include "stingray-fs4.dtsi" + hsls { compatible = "simple-bus"; #address-cells = <1>;