aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/crypto/ti,omap4-des.yaml
blob: f02f1e141218dca1c9da6eee51a510e72d2e03e1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/ti,omap4-des.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: OMAP4 DES crypto Module

maintainers:
  - Aaro Koskinen <aaro.koskinen@iki.fi>
  - Andreas Kemnade <andreas@kemnade.info>
  - Kevin Hilman <khilman@baylibre.com>
  - Roger Quadros <rogerq@kernel.org>
  - Tony Lindgren <tony@atomide.com>

properties:
  compatible:
    const: ti,omap4-des

  reg:
    maxItems: 1

  interrupts:
    maxItems: 1

  dmas:
    maxItems: 2

  dma-names:
    items:
      - const: tx
      - const: rx

  clocks:
    maxItems: 1

  clock-names:
    items:
      - const: fck

dependencies:
  dmas: [ dma-names ]

required:
  - compatible
  - reg
  - interrupts
  - clocks
  - clock-names

additionalProperties: false

examples:
  - |
    #include <dt-bindings/interrupt-controller/arm-gic.h>

    des@480a5000 {
        compatible = "ti,omap4-des";
        reg = <0x480a5000 0xa0>;
        interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;
        clocks = <&l3_iclk_div>;
        clock-names = "fck";
        dmas = <&sdma 117>, <&sdma 116>;
        dma-names = "tx", "rx";
    };