Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1696791
| Path | csiph.com!eternal-september.org!feeder.eternal-september.org!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Anup Patel <anup.patel@broadcom.com> |
| Newsgroups | linux.kernel |
| Subject | [PATCH 6/6] arm64: dts: Add SBA-RAID DT nodes for Stingray SoC |
| Date | Wed, 26 Jul 2017 07:40:02 +0200 |
| Message-ID | <u7nd8-4CC-19@gated-at.bofh.it> (permalink) |
| References | <u7nd7-4CC-5@gated-at.bofh.it> |
| 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=x32sapgH5dQt8bu776+RJ+y5tar8jNE/Gvu/OGWOwqQ=; b=fa9qG+/8iHokGpIsTPd4cgkYuYsNsSY1nSu0TytoYIwBWrKqHrCNcwfFi5RMTLkRf0 JcMyqqa1HcPvw3XUtWnhSGCg6oNY4mOYMajZGa4pHNwB2FHdoJsyb/NUzzCP8MNs6PS6 SRA/BMHzRipdjTmJfOqLtSh5QuAwcfI+yMfHE= |
| 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=x32sapgH5dQt8bu776+RJ+y5tar8jNE/Gvu/OGWOwqQ=; b=IXKKlusetndaNB7TPZBjkoX7JDy30Tevkb1RydLdPb+afHnJ/WdnY6AxujJ8GSCW7E cZ1YJPkpbvOjm8PlHSyyHX4Bt/NgBuczw94gZvI2vCxUoUlwYKEgSSZFpwN/X1/xvSvA EPpET0g5RPPfOpnY9cYOJBYBHOshptmTTVs24HEuwttOB0jtRjlQo/tDeTZPRzmgdFGk CxRTg1rb9fRX6vIoMfrNoKmH6NpiMmwJUYzCV8Wc95N1yS3RosjU3AVUKx+EVe8NHGqY buZT1rrx42KvdQDtMvkL5PnwuIFubxcpCyRrWLCduPo2fukIyE/BlGYTl8LkA0vlV4aR RNcw== |
| X-Gm-Message-State | AIVw1125LP7KSWSYrQPqH5IcjSJP/xGOR5nrw4xANeh/yHh553mlCm8j WuxmTzz2FV0jzmD8 |
| X-Received | by 10.28.222.70 with SMTP id v67mr9046612wmg.152.1501047498237; Tue, 25 Jul 2017 22:38:18 -0700 (PDT) |
| X-Mailer | git-send-email 2.7.4 |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 87 |
| Organization | linux.* mail to news gateway |
| X-Original-Cc | Florian Fainelli <f.fainelli@gmail.com>, Scott Branden <sbranden@broadcom.com>, Ray Jui <rjui@broadcom.com>, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, dmaengine@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, Anup Patel <anup.patel@broadcom.com> |
| X-Original-Date | Wed, 26 Jul 2017 11:06:44 +0530 |
| X-Original-Message-ID | <1501047404-14456-7-git-send-email-anup.patel@broadcom.com> |
| X-Original-References | <1501047404-14456-1-git-send-email-anup.patel@broadcom.com> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | csiph.com linux.kernel:1696791 |
Show key headers only | View raw
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 <anup.patel@broadcom.com>
---
.../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>;
+ };
};
--
2.7.4
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 0/6] Broadcom SBA-RAID driver improvements Anup Patel <anup.patel@broadcom.com> - 2017-07-26 07:40 +0200
[PATCH 1/6] dma: bcm-sba-raid: Improve memory allocation in SBA RAID driver Anup Patel <anup.patel@broadcom.com> - 2017-07-26 07:40 +0200
Re: [PATCH 1/6] dma: bcm-sba-raid: Improve memory allocation in SBA RAID driver Vinod Koul <vinod.koul@intel.com> - 2017-07-26 19:10 +0200
Re: [PATCH 1/6] dma: bcm-sba-raid: Improve memory allocation in SBA RAID driver Anup Patel <anup.patel@broadcom.com> - 2017-07-27 06:20 +0200
Re: [PATCH 1/6] dma: bcm-sba-raid: Improve memory allocation in SBA RAID driver Vinod Koul <vinod.koul@intel.com> - 2017-07-28 05:20 +0200
Re: [PATCH 1/6] dma: bcm-sba-raid: Improve memory allocation in SBA RAID driver Anup Patel <anup.patel@broadcom.com> - 2017-07-28 05:50 +0200
[PATCH 2/6] dma: bcm-sba-raid: Peek mbox when we are left with no free requests Anup Patel <anup.patel@broadcom.com> - 2017-07-26 07:40 +0200
Re: [PATCH 2/6] dma: bcm-sba-raid: Peek mbox when we are left with no free requests Vinod Koul <vinod.koul@intel.com> - 2017-07-26 19:10 +0200
Re: [PATCH 2/6] dma: bcm-sba-raid: Peek mbox when we are left with no free requests Anup Patel <anup.patel@broadcom.com> - 2017-07-27 07:00 +0200
Re: [PATCH 2/6] dma: bcm-sba-raid: Peek mbox when we are left with no free requests Vinod Koul <vinod.koul@intel.com> - 2017-07-28 05:20 +0200
Re: [PATCH 2/6] dma: bcm-sba-raid: Peek mbox when we are left with no free requests Anup Patel <anup.patel@broadcom.com> - 2017-07-28 05:40 +0200
[PATCH 6/6] arm64: dts: Add SBA-RAID DT nodes for Stingray SoC Anup Patel <anup.patel@broadcom.com> - 2017-07-26 07:40 +0200
Re: [PATCH 0/6] Broadcom SBA-RAID driver improvements Vinod Koul <vinod.koul@intel.com> - 2017-07-26 19:10 +0200
Re: [PATCH 0/6] Broadcom SBA-RAID driver improvements Anup Patel <anup.patel@broadcom.com> - 2017-07-27 06:10 +0200
csiph-web