1 From 207dde3ed123613cd84c8f706a24d75cefece67c Mon Sep 17 00:00:00 2001
2 From: Jia Jie Ho <jiajie.ho@starfivetech.com>
3 Date: Mon, 15 May 2023 20:53:52 +0800
4 Subject: [PATCH 064/122] dt-bindings: crypto: Add StarFive crypto module
6 Add documentation to describe StarFive cryptographic engine.
8 Co-developed-by: Huan Feng <huan.feng@starfivetech.com>
9 Signed-off-by: Huan Feng <huan.feng@starfivetech.com>
10 Signed-off-by: Jia Jie Ho <jiajie.ho@starfivetech.com>
11 Reviewed-by: Rob Herring <robh@kernel.org>
12 Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
14 .../crypto/starfive,jh7110-crypto.yaml | 70 +++++++++++++++++++
15 1 file changed, 70 insertions(+)
16 create mode 100644 Documentation/devicetree/bindings/crypto/starfive,jh7110-crypto.yaml
19 +++ b/Documentation/devicetree/bindings/crypto/starfive,jh7110-crypto.yaml
21 +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
24 +$id: http://devicetree.org/schemas/crypto/starfive,jh7110-crypto.yaml#
25 +$schema: http://devicetree.org/meta-schemas/core.yaml#
27 +title: StarFive Cryptographic Module
30 + - Jia Jie Ho <jiajie.ho@starfivetech.com>
31 + - William Qiu <william.qiu@starfivetech.com>
35 + const: starfive,jh7110-crypto
42 + - description: Hardware reference clock
43 + - description: AHB reference clock
58 + - description: TX DMA channel
59 + - description: RX DMA channel
75 +additionalProperties: false
79 + crypto: crypto@16000000 {
80 + compatible = "starfive,jh7110-crypto";
81 + reg = <0x16000000 0x4000>;
82 + clocks = <&clk 15>, <&clk 16>;
83 + clock-names = "hclk", "ahb";
85 + resets = <&reset 3>;
88 + dma-names = "tx", "rx";