From patchwork Wed Jul 19 09: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: 9851213 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 4A1AB60393 for ; Wed, 19 Jul 2017 10:11:47 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3A387285A8 for ; Wed, 19 Jul 2017 10:11:47 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2EFEA28641; Wed, 19 Jul 2017 10:11:47 +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 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 16B8A285A8 for ; Wed, 19 Jul 2017 10:11:46 +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=u1aiqP9fyi8Au9ubSZJzLAcQng msjfQub4++blBsttYu2F1GEwxnOlCEJ5jP9lYX+IjXj0iYu1vCyscUjouUKqDOnocAECxjV5LT+GX Z4PFHibD9DJ0FfyHMCKKiUN3zUMsC9bgyocwc18EwBIif4G5/RLVk9OFk8TKZIPVi7NMMz72mMdUw ZZDSQ6cTHRB8Z0VbMAVNvguGdeuEJKx3qFFM+B2X4cuCc2JHxG6+kukAmHY2UOrXUEnecWg+t8n54 rNRSYUQsXlpI1gV33FNAnlpvu2Ji5F8stIfFvTKb3a18WUfYrEu9/GTt63YBGTI4E1UG0wy3em29k cj1hMMIQ==; 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 1dXlxG-0005E1-OI; Wed, 19 Jul 2017 10:11:42 +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 1dXlxC-0004h9-VG for linux-arm-kernel@bombadil.infradead.org; Wed, 19 Jul 2017 10:11:39 +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=Mdeq6jUdjhc8guNu1Sif63O1o LwN/PEYExL0s/flmQ/RkUi6Zm5sHeZjHZgAmx56b/OB8bZRiPskTbtGeRcsodXev3pKJa5ShUUcau iATSFqfy2PdaOshh0FMQl5FKkK8RKWy3OuzjMIkayA9l83C5vQo6r65jKX0ATrdsvBiRMn4lfDm7Z tqKdvmDL4caCjiYmFFpXbM0NEqah6F/bGg+I6JJHy7WuFPOdg4VeXeqy1G37ccfE9dNFaU09F9/Kc S0GQoazbH1S1t4hzP07Sp5o1HdhJYUTL0ec7G3hjR/0FdFfK3Lz/ZXDwNYe2NM/vtGKOB0K24LXFQ bBGBkiphQ==; Received: from mail-wr0-x234.google.com ([2a00:1450:400c:c0c::234]) by casper.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dXljK-0004cn-Kp for linux-arm-kernel@lists.infradead.org; Wed, 19 Jul 2017 09:57:20 +0000 Received: by mail-wr0-x234.google.com with SMTP id v105so26393130wrb.0 for ; Wed, 19 Jul 2017 02:56:58 -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=Z/qx+L9crcXcAryy+Gs5um13WD413T6B6l8qnkdWDH849BobV+QWlSfhfiFoxMY1Xy U3puQQol4Q1XmfoX/bO7/0nB8pOmqd0TKf3CzOJc/jpYZGqrvtrEFj4f9SdEDVdVkdrG rHZYhl2/CkGxlJOxFjl2Nxxw1LprFOhdBUY8Y= 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=k67nLIqmwY48OXP1gyN/UpbjzkXXfIPxTuqrHwi3UPRYCiwZH4Nfzl/Sn9fIML8Mmp razV3MOAV9zbRpVM8onFo2SstgtNBXqUjGpWeWerhw7xMEjfgQsC5AglaS8Qj0HaTZRo MXWxl7apuwQx+sMekAFksf9cAfbaqKDSKsQVTnZk7FHRtH47Kftp1FgBeB8v6QWdw/ce o/C5pbA5N01cD1T1o/NJFiAzyzUQ7EzyJk4BRusOzZMUcrtY+jgVZSGAu68KUT43ceO5 zgdM8idla4Eovgn9LU5pBIodfw5xnDUH/wStnuSkRPRmjSaHmpC15ggtz9uR85zQiQDF FH9g== X-Gm-Message-State: AIVw113jnCUHke/xgnEFw+DxYiQXWfhzaUOfyDUD9133AHKhWo6yuoF2 wmw9uyqmQzcaPC0s X-Received: by 10.223.145.227 with SMTP id 90mr3514701wri.171.1500458217124; Wed, 19 Jul 2017 02:56:57 -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 16sm20181480wmk.13.2017.07.19.02.56.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 19 Jul 2017 02:56:56 -0700 (PDT) From: Anup Patel To: Rob Herring , Mark Rutland , Catalin Marinas , Will Deacon , Jassi Brar Subject: [PATCH 6/6] arm64: dts: Add FlexRM DT nodes for Stingray Date: Wed, 19 Jul 2017 15:25:42 +0530 Message-Id: <1500458142-19243-7-git-send-email-anup.patel@broadcom.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1500458142-19243-1-git-send-email-anup.patel@broadcom.com> References: <1500458142-19243-1-git-send-email-anup.patel@broadcom.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170719_105718_692081_7DC65BE7 X-CRM114-Status: GOOD ( 15.94 ) 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>;