summaryrefslogtreecommitdiffstats
path: root/dts/Bindings/crypto/aspeed,ast2500-hace.yaml
blob: a772d232de09baa94cfd2768aaa69f115a1af5dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/crypto/aspeed,ast2500-hace.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: ASPEED HACE hash and crypto Hardware Accelerator Engines

maintainers:
  - Neal Liu <neal_liu@aspeedtech.com>

description: |
  The Hash and Crypto Engine (HACE) is designed to accelerate the throughput
  of hash data digest, encryption, and decryption. Basically, HACE can be
  divided into two independently engines - Hash Engine and Crypto Engine.

properties:
  compatible:
    enum:
      - aspeed,ast2500-hace
      - aspeed,ast2600-hace

  reg:
    maxItems: 1

  clocks:
    maxItems: 1

  interrupts:
    maxItems: 1

  resets:
    maxItems: 1

required:
  - compatible
  - reg
  - clocks
  - interrupts
  - resets

additionalProperties: false

examples:
  - |
    #include <dt-bindings/clock/ast2600-clock.h>
    hace: crypto@1e6d0000 {
        compatible = "aspeed,ast2600-hace";
        reg = <0x1e6d0000 0x200>;
        interrupts = <4>;
        clocks = <&syscon ASPEED_CLK_GATE_YCLK>;
        resets = <&syscon ASPEED_RESET_HACE>;
    };