From patchwork Sat Jul 29 04:42:28 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Abhishek Shah X-Patchwork-Id: 9869761 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 AD44760353 for ; Sat, 29 Jul 2017 04:53:39 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A136828865 for ; Sat, 29 Jul 2017 04:53:39 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 95FC128872; Sat, 29 Jul 2017 04:53:39 +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 4522028865 for ; Sat, 29 Jul 2017 04:53:39 +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=E9LPFwegHyoqRPzv7sdC4wpU5fn3xK9BBBn3z8kzcS8=; b=C7fuki7UaG5bXovsGJl4KXlgML 2uLhRCAapVW0QlS1vUZpShABJecSG04gEGnuC2qAJ20UULrZ0fx8ylwCwqgpjvu7pzRE6N921i693 uQ2wslTACsuulIWPKq2z7tpwtU4SKqfrwUOrMf6NvVOMfLW+oiy2c9OMB5Df+ErVQSyaSalrmfW4s zmwf5HZalcfjWL3kY/wK7kSOSYb22W0KF4EuUxOgVXkasw/qwo0gR5Gmw8Gmg85a/4IoOGoiRep3b YeHLimYSs7ltqmj4BtbxTA07lM1kslDNl1+MKJghhareRODkL4QUF0Z9LlmxmQukhNdA4kVfgAxmw noiyjMlg==; 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 1dbJku-00018j-5N; Sat, 29 Jul 2017 04:53:36 +0000 Received: from mail-wm0-x235.google.com ([2a00:1450:400c:c09::235]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dbJbO-00055Q-Bt for linux-arm-kernel@lists.infradead.org; Sat, 29 Jul 2017 04:43:53 +0000 Received: by mail-wm0-x235.google.com with SMTP id t201so10054864wmt.0 for ; Fri, 28 Jul 2017 21:43:25 -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=f0Q+cSpRcAL08NhW2kWJs/UXHHUG+0Wq4G1sh9neEvw=; b=S6Tb3hkB6d228eFLA/u6LzPtXLZxZ/KvV7PXQxoxthJ+E4IyIgowmME0Op6LrxpmOX AtyJmqjZO3YNlBTUk9GAyRzNwPw9jD+S7Bh4J+y85V+d7SXJ8RmAjKa3CHgwhQ9/9+v2 mgdZfDDpiLRBkanmzVXp32KhCqVm2DMlSNCdc= 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=f0Q+cSpRcAL08NhW2kWJs/UXHHUG+0Wq4G1sh9neEvw=; b=Mm348JaZMP00g+VZMXS4epiZJzFTsYruDenJtGLsG6oEyLPFbFReRI4GrFEPCdodfZ 4y2L5y4J7ejuK/lV51/hcikFinzsqjopNObrRP7/ckd3tIP/F8GVyleDG7gWcJ2c3TMb endUNQb+MT+aslC+MbM9kh7LWPkY+pp5+FKnHIkfUpLU/6Eq6sX/Qo+KY6bUlh2hxL2m tSaN/bJhydCgK6mwKhUJNFlgKhhJa8y332g6TxLxAOAafL8rDLRYvWWg0BTFtwOxi2Rl ItQSrSd8y6Bha/zkMonWpciaq3xTnS3tXWGc6vEoFRYGMr/iAPDFhpMgRdd98NODmxLk z1Ug== X-Gm-Message-State: AIVw113ri5sR2bPqV+t50HR0zTKTqJ7Gk0Bb2JDbNPGHHwqeKAuok3/g 0tObmbRhl9bwtwdV X-Received: by 10.28.104.85 with SMTP id d82mr6894539wmc.32.1501303404376; Fri, 28 Jul 2017 21:43:24 -0700 (PDT) Received: from ashah1-OptiPlex-7010.dhcp.avagotech.net ([192.19.237.250]) by smtp.gmail.com with ESMTPSA id p19sm19324566wma.40.2017.07.28.21.43.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 28 Jul 2017 21:43:23 -0700 (PDT) From: Abhishek Shah To: Rob Herring , Mark Rutland , Catalin Marinas , Will Deacon , Ray Jui , Scott Branden , Jon Mason Subject: [PATCH 6/7] arm64: dts: Add FlexRM DT nodes for Stingray Date: Sat, 29 Jul 2017 10:12:28 +0530 Message-Id: <1501303349-30007-7-git-send-email-abhishek.shah@broadcom.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1501303349-30007-1-git-send-email-abhishek.shah@broadcom.com> References: <1501303349-30007-1-git-send-email-abhishek.shah@broadcom.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170728_214347_176746_4274E306 X-CRM114-Status: GOOD ( 14.33 ) 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 , Anup Patel , 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 From: Anup Patel 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 | 1 + 2 files changed, 55 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 1700033..e6f75c6 100644 --- a/arch/arm64/boot/dts/broadcom/stingray/stingray.dtsi +++ b/arch/arm64/boot/dts/broadcom/stingray/stingray.dtsi @@ -267,6 +267,7 @@ }; }; + #include "stingray-fs4.dtsi" #include "stingray-sata.dtsi" hsls {