xref: /linux/Documentation/devicetree/bindings/dma/brcm,iproc-sba.yaml (revision beaea9c4ba2d8ef1b10223dc3a75a7d7be3e5cd9)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/dma/brcm,iproc-sba.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Broadcom SBA RAID engine
8
9maintainers:
10  - Ray Jui <rjui@broadcom.com>
11  - Scott Branden <sbranden@broadcom.com>
12
13properties:
14  compatible:
15    enum:
16      - brcm,iproc-sba
17      - brcm,iproc-sba-v2
18
19  mboxes:
20    minItems: 1
21    maxItems: 8
22
23required:
24  - compatible
25  - mboxes
26
27additionalProperties: false
28
29examples:
30  - |
31    raid0 {
32      compatible = "brcm,iproc-sba-v2";
33      mboxes = <&raid_mbox 0 0x1 0xffff>,
34               <&raid_mbox 1 0x1 0xffff>,
35               <&raid_mbox 2 0x1 0xffff>,
36               <&raid_mbox 3 0x1 0xffff>,
37               <&raid_mbox 4 0x1 0xffff>,
38               <&raid_mbox 5 0x1 0xffff>,
39               <&raid_mbox 6 0x1 0xffff>,
40               <&raid_mbox 7 0x1 0xffff>;
41    };
42