xref: /openbmc/linux/Documentation/devicetree/bindings/crypto/aspeed,ast2500-hace.yaml (revision 4f2c0a4acffbec01079c28f839422e64ddeff004)
1*c3708e65SNeal Liu# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*c3708e65SNeal Liu%YAML 1.2
3*c3708e65SNeal Liu---
4*c3708e65SNeal Liu$id: http://devicetree.org/schemas/crypto/aspeed,ast2500-hace.yaml#
5*c3708e65SNeal Liu$schema: http://devicetree.org/meta-schemas/core.yaml#
6*c3708e65SNeal Liu
7*c3708e65SNeal Liutitle: ASPEED HACE hash and crypto Hardware Accelerator Engines
8*c3708e65SNeal Liu
9*c3708e65SNeal Liumaintainers:
10*c3708e65SNeal Liu  - Neal Liu <neal_liu@aspeedtech.com>
11*c3708e65SNeal Liu
12*c3708e65SNeal Liudescription: |
13*c3708e65SNeal Liu  The Hash and Crypto Engine (HACE) is designed to accelerate the throughput
14*c3708e65SNeal Liu  of hash data digest, encryption, and decryption. Basically, HACE can be
15*c3708e65SNeal Liu  divided into two independently engines - Hash Engine and Crypto Engine.
16*c3708e65SNeal Liu
17*c3708e65SNeal Liuproperties:
18*c3708e65SNeal Liu  compatible:
19*c3708e65SNeal Liu    enum:
20*c3708e65SNeal Liu      - aspeed,ast2500-hace
21*c3708e65SNeal Liu      - aspeed,ast2600-hace
22*c3708e65SNeal Liu
23*c3708e65SNeal Liu  reg:
24*c3708e65SNeal Liu    maxItems: 1
25*c3708e65SNeal Liu
26*c3708e65SNeal Liu  clocks:
27*c3708e65SNeal Liu    maxItems: 1
28*c3708e65SNeal Liu
29*c3708e65SNeal Liu  interrupts:
30*c3708e65SNeal Liu    maxItems: 1
31*c3708e65SNeal Liu
32*c3708e65SNeal Liu  resets:
33*c3708e65SNeal Liu    maxItems: 1
34*c3708e65SNeal Liu
35*c3708e65SNeal Liurequired:
36*c3708e65SNeal Liu  - compatible
37*c3708e65SNeal Liu  - reg
38*c3708e65SNeal Liu  - clocks
39*c3708e65SNeal Liu  - interrupts
40*c3708e65SNeal Liu  - resets
41*c3708e65SNeal Liu
42*c3708e65SNeal LiuadditionalProperties: false
43*c3708e65SNeal Liu
44*c3708e65SNeal Liuexamples:
45*c3708e65SNeal Liu  - |
46*c3708e65SNeal Liu    #include <dt-bindings/clock/ast2600-clock.h>
47*c3708e65SNeal Liu    hace: crypto@1e6d0000 {
48*c3708e65SNeal Liu        compatible = "aspeed,ast2600-hace";
49*c3708e65SNeal Liu        reg = <0x1e6d0000 0x200>;
50*c3708e65SNeal Liu        interrupts = <4>;
51*c3708e65SNeal Liu        clocks = <&syscon ASPEED_CLK_GATE_YCLK>;
52*c3708e65SNeal Liu        resets = <&syscon ASPEED_RESET_HACE>;
53*c3708e65SNeal Liu    };
54