Merge tag 'linux-kselftest-kunit-fixes-5.11-rc3' of git://git.kernel.org/pub/scm...
[linux/fpc-iii.git] / Documentation / devicetree / bindings / crypto / ti,sa2ul.yaml
blob1465c9ebaf938c6d2ea2288e7b0f697dd6f7bba7
1 # SPDX-License-Identifier: (GPL-2.0-only or BSD-2-Clause)
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/crypto/ti,sa2ul.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: K3 SoC SA2UL crypto module
9 maintainers:
10   - Tero Kristo <t-kristo@ti.com>
12 properties:
13   compatible:
14     enum:
15       - ti,j721e-sa2ul
16       - ti,am654-sa2ul
18   reg:
19     maxItems: 1
21   power-domains:
22     maxItems: 1
24   dmas:
25     items:
26       - description: TX DMA Channel
27       - description: RX DMA Channel #1
28       - description: RX DMA Channel #2
30   dma-names:
31     items:
32       - const: tx
33       - const: rx1
34       - const: rx2
36   dma-coherent: true
38   "#address-cells":
39     const: 2
41   "#size-cells":
42     const: 2
44   ranges:
45     description:
46       Address translation for the possible RNG child node for SA2UL
48 patternProperties:
49   "^rng@[a-f0-9]+$":
50     type: object
51     description:
52       Child RNG node for SA2UL
54 required:
55   - compatible
56   - reg
57   - power-domains
58   - dmas
59   - dma-names
60   - dma-coherent
62 additionalProperties: false
64 examples:
65   - |
66     #include <dt-bindings/soc/ti,sci_pm_domain.h>
68     main_crypto: crypto@4e00000 {
69         compatible = "ti,j721-sa2ul";
70         reg = <0x4e00000 0x1200>;
71         power-domains = <&k3_pds 264 TI_SCI_PD_EXCLUSIVE>;
72         dmas = <&main_udmap 0xc000>, <&main_udmap 0x4000>,
73                <&main_udmap 0x4001>;
74         dma-names = "tx", "rx1", "rx2";
75         dma-coherent;
76     };