blob: 71a2876bd6e491d10ede14cb9d17f96307c85b7b [file] [log] [blame]
Tom Rini53633a82024-02-29 12:33:36 -05001# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/crypto/starfive,jh7110-crypto.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: StarFive Cryptographic Module
8
9maintainers:
10 - Jia Jie Ho <jiajie.ho@starfivetech.com>
11 - William Qiu <william.qiu@starfivetech.com>
12
13properties:
14 compatible:
15 const: starfive,jh7110-crypto
16
17 reg:
18 maxItems: 1
19
20 clocks:
21 items:
22 - description: Hardware reference clock
23 - description: AHB reference clock
24
25 clock-names:
26 items:
27 - const: hclk
28 - const: ahb
29
30 interrupts:
31 maxItems: 1
32
33 resets:
34 maxItems: 1
35
36 dmas:
37 items:
38 - description: TX DMA channel
39 - description: RX DMA channel
40
41 dma-names:
42 items:
43 - const: tx
44 - const: rx
45
46required:
47 - compatible
48 - reg
49 - clocks
50 - clock-names
51 - resets
52 - dmas
53 - dma-names
54
55additionalProperties: false
56
57examples:
58 - |
59 crypto: crypto@16000000 {
60 compatible = "starfive,jh7110-crypto";
61 reg = <0x16000000 0x4000>;
62 clocks = <&clk 15>, <&clk 16>;
63 clock-names = "hclk", "ahb";
64 interrupts = <28>;
65 resets = <&reset 3>;
66 dmas = <&dma 1 2>,
67 <&dma 0 2>;
68 dma-names = "tx", "rx";
69 };
70...