From patchwork Sat Jul 29 04:42:29 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Abhishek Shah X-Patchwork-Id: 9869753 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 E95B86038F for ; Sat, 29 Jul 2017 04:46:05 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DD112288D3 for ; Sat, 29 Jul 2017 04:46:05 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D1F97288D4; Sat, 29 Jul 2017 04:46:05 +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 39ED1288E5 for ; Sat, 29 Jul 2017 04:46:03 +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=EyRe/my6oBehMERKWdEBejxA7k7vaYMI1lbT1++S0SM=; b=jNqh4dibLTxK4CRWciWtIt6Bjj TzgVwzI3QF7+i7N8fWUJmW7pqgoq5a+9vnRUkcCnMzrF40bqVH4m6XbHkBCOPWaQAvYfm9z/nMZTV v/vfDdrFJCuJXFjL3VMgHUtia0C7X4du1H1CVWFLgu+CvqLbJMKyGTy57FOzC+GdK16zJ9m5jLsxW qj23ifzePivyaYX3RvTLRvWzXBoGkVwtngbsXPiMycRQW7qj7w44vQSkBF0FAEg4KtZJgcFivWpz9 ngR8KHvNIJZd8C6e6JzC2wHV3KkJgdlmWnrJbiEkOM2pzYh8hRFHsTC3xP4dxU3KNKYCTA5s0vM6m +PdVVfNg==; 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 1dbJd6-0007bn-UT; Sat, 29 Jul 2017 04:45:32 +0000 Received: from mail-wr0-x22f.google.com ([2a00:1450:400c:c0c::22f]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dbJbU-0005BD-FL for linux-arm-kernel@lists.infradead.org; Sat, 29 Jul 2017 04:44:01 +0000 Received: by mail-wr0-x22f.google.com with SMTP id 12so161370316wrb.1 for ; Fri, 28 Jul 2017 21:43:32 -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=bujwfrMg7iHTp8L5PdGwYu/sSKF7+PMRqWIzoNtc4wA=; b=fv0M0gT2nl8eq/ZZb9RfCFjkZxduHrE0fvfk3tRjDjFSUXX2cKeeJz7J4akLXzH3t+ 0euqnHGFjpp9TtQzQZ2TODBS6IIVr4y4+hS6XovWfvnp2DBrDlcU6hBKoOVde7Tevc9f ykI3HEmrA3ekOmGIMVTwHZtFVFdar88S9iX6U= 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=bujwfrMg7iHTp8L5PdGwYu/sSKF7+PMRqWIzoNtc4wA=; b=fQQsBcXg8VUouEIWFz98q8A04CNKPT7GxQaaGGzsys4V5GZrKPrRu2KXzftmJqY3+r 4Pk6rjV9YE6cq5EYqBtgkOXOwevFTt2M5rhkh24ScodYmoqmBBtdLrejofOGVyqHnVCJ 3WaJ5TGARs3uapqfDHdsO3r/CUokLoIpVqBxCAg80m1gLFbzoB6x6xem8cjNxlJDOg7Q LFdEU1ukMhXDR3oo6d4T52TOR3Rf9/arzjoR7p8pNxTnfeIBv31cdDTi+DcBTr1NIfR2 7qzdPXj4VrUyDCoK0/8S8xI8Ad9dJEWjjRNBd3Ehtwc4yvS/KfjV3VPvEv5M/L7qkbkU NbNw== X-Gm-Message-State: AIVw111pg5/v6CAPn8KPZ3K/G025gXEsU+3XAX6JXFzlP19jhXkQRjdX 4vlQvW3QNWhtBixj X-Received: by 10.223.179.27 with SMTP id j27mr7042915wrd.190.1501303410554; Fri, 28 Jul 2017 21:43:30 -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.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 28 Jul 2017 21:43:30 -0700 (PDT) From: Abhishek Shah To: Rob Herring , Mark Rutland , Catalin Marinas , Will Deacon , Ray Jui , Scott Branden , Jon Mason Subject: [PATCH 7/7] arm64: dts: Add SBA-RAID DT nodes for Stingray SoC Date: Sat, 29 Jul 2017 10:12:29 +0530 Message-Id: <1501303349-30007-8-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_214353_051964_0ABEF7BF X-CRM114-Status: GOOD ( 10.59 ) 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, bcm-kernel-feedback-list@broadcom.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Anup Patel 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 This patch adds Broadcom SBA-RAID DT nodes for Stingray SoC. The Stingray SoC has total 32 SBA-RAID FlexRM rings and it has 8 CPUs so we create 8 SBA-RAID instances (one for each CPU). This way Linux DMAENGINE will have one SBA-RAID DMA device for each CPU. Signed-off-by: Anup Patel --- .../boot/dts/broadcom/stingray/stingray-fs4.dtsi | 64 ++++++++++++++++++++++ 1 file changed, 64 insertions(+) diff --git a/arch/arm64/boot/dts/broadcom/stingray/stingray-fs4.dtsi b/arch/arm64/boot/dts/broadcom/stingray/stingray-fs4.dtsi index 1f927c4..8bf1dc6 100644 --- a/arch/arm64/boot/dts/broadcom/stingray/stingray-fs4.dtsi +++ b/arch/arm64/boot/dts/broadcom/stingray/stingray-fs4.dtsi @@ -51,4 +51,68 @@ msi-parent = <&gic_its 0x4300>; #mbox-cells = <3>; }; + + raid0: raid@0 { + compatible = "brcm,iproc-sba-v2"; + mboxes = <&raid_mbox 0 0x1 0xff00>, + <&raid_mbox 1 0x1 0xff00>, + <&raid_mbox 2 0x1 0xff00>, + <&raid_mbox 3 0x1 0xff00>; + }; + + raid1: raid@1 { + compatible = "brcm,iproc-sba-v2"; + mboxes = <&raid_mbox 4 0x1 0xff00>, + <&raid_mbox 5 0x1 0xff00>, + <&raid_mbox 6 0x1 0xff00>, + <&raid_mbox 7 0x1 0xff00>; + }; + + raid2: raid@2 { + compatible = "brcm,iproc-sba-v2"; + mboxes = <&raid_mbox 8 0x1 0xff00>, + <&raid_mbox 9 0x1 0xff00>, + <&raid_mbox 10 0x1 0xff00>, + <&raid_mbox 11 0x1 0xff00>; + }; + + raid3: raid@3 { + compatible = "brcm,iproc-sba-v2"; + mboxes = <&raid_mbox 12 0x1 0xff00>, + <&raid_mbox 13 0x1 0xff00>, + <&raid_mbox 14 0x1 0xff00>, + <&raid_mbox 15 0x1 0xff00>; + }; + + raid4: raid@4 { + compatible = "brcm,iproc-sba-v2"; + mboxes = <&raid_mbox 16 0x1 0xff00>, + <&raid_mbox 17 0x1 0xff00>, + <&raid_mbox 18 0x1 0xff00>, + <&raid_mbox 19 0x1 0xff00>; + }; + + raid5: raid@5 { + compatible = "brcm,iproc-sba-v2"; + mboxes = <&raid_mbox 20 0x1 0xff00>, + <&raid_mbox 21 0x1 0xff00>, + <&raid_mbox 22 0x1 0xff00>, + <&raid_mbox 23 0x1 0xff00>; + }; + + raid6: raid@6 { + compatible = "brcm,iproc-sba-v2"; + mboxes = <&raid_mbox 24 0x1 0xff00>, + <&raid_mbox 25 0x1 0xff00>, + <&raid_mbox 26 0x1 0xff00>, + <&raid_mbox 27 0x1 0xff00>; + }; + + raid7: raid@7 { + compatible = "brcm,iproc-sba-v2"; + mboxes = <&raid_mbox 28 0x1 0xff00>, + <&raid_mbox 29 0x1 0xff00>, + <&raid_mbox 30 0x1 0xff00>, + <&raid_mbox 31 0x1 0xff00>; + }; };