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