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