Merge tag 'block-6.1-2022-10-20' of git://git.kernel.dk/linux
[linux-block.git] / Documentation / devicetree / bindings / crypto / allwinner,sun4i-a10-crypto.yaml
CommitLineData
5f9040fd
MR
1# SPDX-License-Identifier: GPL-2.0
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/crypto/allwinner,sun4i-a10-crypto.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
dd3cb467 7title: Allwinner A10 Security System
5f9040fd
MR
8
9maintainers:
10 - Chen-Yu Tsai <wens@csie.org>
5c7404bb 11 - Maxime Ripard <mripard@kernel.org>
5f9040fd
MR
12
13properties:
14 compatible:
15 oneOf:
16 - const: allwinner,sun4i-a10-crypto
17 - items:
9f60a65b
RH
18 - const: allwinner,sun5i-a13-crypto
19 - const: allwinner,sun4i-a10-crypto
5f9040fd 20 - items:
9f60a65b
RH
21 - const: allwinner,sun6i-a31-crypto
22 - const: allwinner,sun4i-a10-crypto
5f9040fd 23 - items:
9f60a65b
RH
24 - const: allwinner,sun7i-a20-crypto
25 - const: allwinner,sun4i-a10-crypto
884d1a33 26 - const: allwinner,sun8i-a33-crypto
b7158866
MC
27 - items:
28 - const: allwinner,sun8i-v3s-crypto
29 - const: allwinner,sun8i-a33-crypto
5f9040fd
MR
30
31 reg:
32 maxItems: 1
33
34 interrupts:
35 maxItems: 1
36
37 clocks:
38 items:
39 - description: Bus Clock
40 - description: Module Clock
41
42 clock-names:
43 items:
44 - const: ahb
45 - const: mod
46
34734edd
MR
47 dmas:
48 items:
49 - description: RX DMA Channel
50 - description: TX DMA Channel
51
52 dma-names:
53 items:
54 - const: rx
55 - const: tx
56
5f9040fd
MR
57 resets:
58 maxItems: 1
59
60 reset-names:
61 const: ahb
62
63required:
64 - compatible
65 - reg
66 - interrupts
67 - clocks
68 - clock-names
69
70if:
71 properties:
72 compatible:
73 contains:
884d1a33
CL
74 enum:
75 - allwinner,sun6i-a31-crypto
76 - allwinner,sun8i-a33-crypto
5f9040fd
MR
77
78then:
79 required:
80 - resets
81 - reset-names
82
83additionalProperties: false
84
85examples:
86 - |
87 crypto: crypto-engine@1c15000 {
88 compatible = "allwinner,sun4i-a10-crypto";
89 reg = <0x01c15000 0x1000>;
90 interrupts = <86>;
91 clocks = <&ahb_gates 5>, <&ss_clk>;
92 clock-names = "ahb", "mod";
93 };
94
95...