Debian Codegraph @

Documentation/devicetree/bindings/crypto/ti,omap-sham.yaml

raw
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,omap-sham.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: OMAP SoC SHA crypto Module
8
9 maintainers:
10 - Animesh Agarwal <[email protected]>
11
12 properties:
13 compatible:
14 enum:
15 - ti,omap2-sham
16 - ti,omap4-sham
17 - ti,omap5-sham
18
19 reg:
20 maxItems: 1
21
22 interrupts:
23 maxItems: 1
24
25 dmas:
26 maxItems: 1
27
28 dma-names:
29 const: rx
30
31 ti,hwmods:
32 description: Name of the hwmod associated with the SHAM module
33 $ref: /schemas/types.yaml#/definitions/string
34 enum: [sham]
35
36 dependencies:
37 dmas: [dma-names]
38
39 additionalProperties: false
40
41 required:
42 - compatible
43 - ti,hwmods
44 - reg
45 - interrupts
46
47 examples:
48 - |
49 sham@53100000 {
50 compatible = "ti,omap4-sham";
51 ti,hwmods = "sham";
52 reg = <0x53100000 0x200>;
53 interrupts = <109>;
54 dmas = <&edma 36>;
55 dma-names = "rx";
56 };