Skip to content

Commit bbd8265

Browse files
robherringherbertx
authored andcommitted
dt-bindings: crypto: Convert axis,artpec6-crypto to DT schema
Convert the Axis Crypto engine binding to DT schema format. It's a straight forward conversion. Signed-off-by: Rob Herring (Arm) <[email protected]> Reviewed-by: Krzysztof Kozlowski <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
1 parent aa238d3 commit bbd8265

File tree

2 files changed

+39
-16
lines changed

2 files changed

+39
-16
lines changed

Documentation/devicetree/bindings/crypto/artpec6-crypto.txt

Lines changed: 0 additions & 16 deletions
This file was deleted.
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/crypto/axis,artpec6-crypto.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Axis ARTPEC6 crypto engine with PDMA interface
8+
9+
maintainers:
10+
- Lars Persson <[email protected]>
11+
12+
properties:
13+
compatible:
14+
enum:
15+
- axis,artpec6-crypto
16+
- axis,artpec7-crypto
17+
18+
reg:
19+
maxItems: 1
20+
21+
interrupts:
22+
maxItems: 1
23+
24+
required:
25+
- compatible
26+
- reg
27+
- interrupts
28+
29+
additionalProperties: false
30+
31+
examples:
32+
- |
33+
#include <dt-bindings/interrupt-controller/arm-gic.h>
34+
35+
crypto@f4264000 {
36+
compatible = "axis,artpec6-crypto";
37+
reg = <0xf4264000 0x1000>;
38+
interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>;
39+
};

0 commit comments

Comments
 (0)