xref: /freebsd/sys/contrib/device-tree/Bindings/crypto/nvidia,tegra234-se-aes.yaml (revision 7d0873ebb83b19ba1e8a89e679470d885efe12e3)
1*7d0873ebSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*7d0873ebSEmmanuel Vadot%YAML 1.2
3*7d0873ebSEmmanuel Vadot---
4*7d0873ebSEmmanuel Vadot$id: http://devicetree.org/schemas/crypto/nvidia,tegra234-se-aes.yaml#
5*7d0873ebSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*7d0873ebSEmmanuel Vadot
7*7d0873ebSEmmanuel Vadottitle: NVIDIA Tegra Security Engine for AES algorithms
8*7d0873ebSEmmanuel Vadot
9*7d0873ebSEmmanuel Vadotdescription:
10*7d0873ebSEmmanuel Vadot  The Tegra Security Engine accelerates the following AES encryption/decryption
11*7d0873ebSEmmanuel Vadot  algorithms - AES-ECB, AES-CBC, AES-OFB, AES-XTS, AES-CTR, AES-GCM, AES-CCM,
12*7d0873ebSEmmanuel Vadot  AES-CMAC
13*7d0873ebSEmmanuel Vadot
14*7d0873ebSEmmanuel Vadotmaintainers:
15*7d0873ebSEmmanuel Vadot  - Akhil R <akhilrajeev@nvidia.com>
16*7d0873ebSEmmanuel Vadot
17*7d0873ebSEmmanuel Vadotproperties:
18*7d0873ebSEmmanuel Vadot  compatible:
19*7d0873ebSEmmanuel Vadot    const: nvidia,tegra234-se-aes
20*7d0873ebSEmmanuel Vadot
21*7d0873ebSEmmanuel Vadot  reg:
22*7d0873ebSEmmanuel Vadot    maxItems: 1
23*7d0873ebSEmmanuel Vadot
24*7d0873ebSEmmanuel Vadot  clocks:
25*7d0873ebSEmmanuel Vadot    maxItems: 1
26*7d0873ebSEmmanuel Vadot
27*7d0873ebSEmmanuel Vadot  iommus:
28*7d0873ebSEmmanuel Vadot    maxItems: 1
29*7d0873ebSEmmanuel Vadot
30*7d0873ebSEmmanuel Vadot  dma-coherent: true
31*7d0873ebSEmmanuel Vadot
32*7d0873ebSEmmanuel Vadotrequired:
33*7d0873ebSEmmanuel Vadot  - compatible
34*7d0873ebSEmmanuel Vadot  - reg
35*7d0873ebSEmmanuel Vadot  - clocks
36*7d0873ebSEmmanuel Vadot  - iommus
37*7d0873ebSEmmanuel Vadot
38*7d0873ebSEmmanuel VadotadditionalProperties: false
39*7d0873ebSEmmanuel Vadot
40*7d0873ebSEmmanuel Vadotexamples:
41*7d0873ebSEmmanuel Vadot  - |
42*7d0873ebSEmmanuel Vadot    #include <dt-bindings/memory/tegra234-mc.h>
43*7d0873ebSEmmanuel Vadot    #include <dt-bindings/clock/tegra234-clock.h>
44*7d0873ebSEmmanuel Vadot
45*7d0873ebSEmmanuel Vadot    crypto@15820000 {
46*7d0873ebSEmmanuel Vadot        compatible = "nvidia,tegra234-se-aes";
47*7d0873ebSEmmanuel Vadot        reg = <0x15820000 0x10000>;
48*7d0873ebSEmmanuel Vadot        clocks = <&bpmp TEGRA234_CLK_SE>;
49*7d0873ebSEmmanuel Vadot        iommus = <&smmu TEGRA234_SID_SES_SE1>;
50*7d0873ebSEmmanuel Vadot        dma-coherent;
51*7d0873ebSEmmanuel Vadot    };
52*7d0873ebSEmmanuel Vadot...
53