Skip to content

Commit b525ac4

Browse files
robherringherbertx
authored andcommitted
dt-bindings: crypto: Convert brcm,spum-crypto to DT schema
Convert the Broadcom SPUM/SPU2 binding to DT schema format. It's a straight forward conversion. Signed-off-by: Rob Herring (Arm) <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
1 parent bbd8265 commit b525ac4

File tree

2 files changed

+44
-22
lines changed

2 files changed

+44
-22
lines changed

Documentation/devicetree/bindings/crypto/brcm,spu-crypto.txt

Lines changed: 0 additions & 22 deletions
This file was deleted.
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/brcm,spum-crypto.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Broadcom SPU Crypto Offload
8+
9+
maintainers:
10+
- Rob Rice <[email protected]>
11+
12+
description:
13+
The Broadcom Secure Processing Unit (SPU) hardware supports symmetric
14+
cryptographic offload for Broadcom SoCs. A SoC may have multiple SPU hardware
15+
blocks.
16+
17+
properties:
18+
compatible:
19+
enum:
20+
- brcm,spum-crypto
21+
- brcm,spu2-crypto
22+
- brcm,spu2-v2-crypto # enhanced SPU2 hardware features like SHA3 and Rabin Fingerprint support
23+
- brcm,spum-nsp-crypto # Northstar Plus variant of the SPU-M hardware
24+
25+
reg:
26+
maxItems: 1
27+
28+
mboxes:
29+
maxItems: 1
30+
31+
required:
32+
- compatible
33+
- reg
34+
- mboxes
35+
36+
additionalProperties: false
37+
38+
examples:
39+
- |
40+
crypto@612d0000 {
41+
compatible = "brcm,spum-crypto";
42+
reg = <0x612d0000 0x900>;
43+
mboxes = <&pdc0 0>;
44+
};

0 commit comments

Comments
 (0)