mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-08-31 22:23:05 +00:00

Convert the Broadcom SBA RAID engine binding to schema. It is a straight forward conversion. Signed-off-by: Rob Herring (Arm) <robh@kernel.org> Link: https://lore.kernel.org/r/20250702222616.2760974-1-robh@kernel.org Signed-off-by: Vinod Koul <vkoul@kernel.org>
42 lines
915 B
YAML
42 lines
915 B
YAML
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/dma/brcm,iproc-sba.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: Broadcom SBA RAID engine
|
|
|
|
maintainers:
|
|
- Ray Jui <rjui@broadcom.com>
|
|
- Scott Branden <sbranden@broadcom.com>
|
|
|
|
properties:
|
|
compatible:
|
|
enum:
|
|
- brcm,iproc-sba
|
|
- brcm,iproc-sba-v2
|
|
|
|
mboxes:
|
|
minItems: 1
|
|
maxItems: 8
|
|
|
|
required:
|
|
- compatible
|
|
- mboxes
|
|
|
|
additionalProperties: false
|
|
|
|
examples:
|
|
- |
|
|
raid0 {
|
|
compatible = "brcm,iproc-sba-v2";
|
|
mboxes = <&raid_mbox 0 0x1 0xffff>,
|
|
<&raid_mbox 1 0x1 0xffff>,
|
|
<&raid_mbox 2 0x1 0xffff>,
|
|
<&raid_mbox 3 0x1 0xffff>,
|
|
<&raid_mbox 4 0x1 0xffff>,
|
|
<&raid_mbox 5 0x1 0xffff>,
|
|
<&raid_mbox 6 0x1 0xffff>,
|
|
<&raid_mbox 7 0x1 0xffff>;
|
|
};
|