blob: d69b50228009da680472fb874beadd920079c1ff [file] [log] [blame]
Tom Rini762f85b2024-07-20 11:15:10 -06001# 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
7title: OMAP SoC SHA crypto Module
8
9maintainers:
10 - Animesh Agarwal <animeshagarwal28@gmail.com>
11
12properties:
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
36dependencies:
37 dmas: [dma-names]
38
39additionalProperties: false
40
41required:
42 - compatible
43 - ti,hwmods
44 - reg
45 - interrupts
46
47examples:
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 };