xref: /freebsd/sys/contrib/device-tree/Bindings/crypto/ti,omap4-des.yaml (revision 833e5d42ab135b0238e61c5b3c19b8619677cbfa)
1*833e5d42SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*833e5d42SEmmanuel Vadot%YAML 1.2
3*833e5d42SEmmanuel Vadot---
4*833e5d42SEmmanuel Vadot$id: http://devicetree.org/schemas/ti,omap4-des.yaml#
5*833e5d42SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*833e5d42SEmmanuel Vadot
7*833e5d42SEmmanuel Vadottitle: OMAP4 DES crypto Module
8*833e5d42SEmmanuel Vadot
9*833e5d42SEmmanuel Vadotmaintainers:
10*833e5d42SEmmanuel Vadot  - Aaro Koskinen <aaro.koskinen@iki.fi>
11*833e5d42SEmmanuel Vadot  - Andreas Kemnade <andreas@kemnade.info>
12*833e5d42SEmmanuel Vadot  - Kevin Hilman <khilman@baylibre.com>
13*833e5d42SEmmanuel Vadot  - Roger Quadros <rogerq@kernel.org>
14*833e5d42SEmmanuel Vadot  - Tony Lindgren <tony@atomide.com>
15*833e5d42SEmmanuel Vadot
16*833e5d42SEmmanuel Vadotproperties:
17*833e5d42SEmmanuel Vadot  compatible:
18*833e5d42SEmmanuel Vadot    const: ti,omap4-des
19*833e5d42SEmmanuel Vadot
20*833e5d42SEmmanuel Vadot  reg:
21*833e5d42SEmmanuel Vadot    maxItems: 1
22*833e5d42SEmmanuel Vadot
23*833e5d42SEmmanuel Vadot  interrupts:
24*833e5d42SEmmanuel Vadot    maxItems: 1
25*833e5d42SEmmanuel Vadot
26*833e5d42SEmmanuel Vadot  dmas:
27*833e5d42SEmmanuel Vadot    maxItems: 2
28*833e5d42SEmmanuel Vadot
29*833e5d42SEmmanuel Vadot  dma-names:
30*833e5d42SEmmanuel Vadot    items:
31*833e5d42SEmmanuel Vadot      - const: tx
32*833e5d42SEmmanuel Vadot      - const: rx
33*833e5d42SEmmanuel Vadot
34*833e5d42SEmmanuel Vadot  clocks:
35*833e5d42SEmmanuel Vadot    maxItems: 1
36*833e5d42SEmmanuel Vadot
37*833e5d42SEmmanuel Vadot  clock-names:
38*833e5d42SEmmanuel Vadot    items:
39*833e5d42SEmmanuel Vadot      - const: fck
40*833e5d42SEmmanuel Vadot
41*833e5d42SEmmanuel Vadotdependencies:
42*833e5d42SEmmanuel Vadot  dmas: [ dma-names ]
43*833e5d42SEmmanuel Vadot
44*833e5d42SEmmanuel Vadotrequired:
45*833e5d42SEmmanuel Vadot  - compatible
46*833e5d42SEmmanuel Vadot  - reg
47*833e5d42SEmmanuel Vadot  - interrupts
48*833e5d42SEmmanuel Vadot  - clocks
49*833e5d42SEmmanuel Vadot  - clock-names
50*833e5d42SEmmanuel Vadot
51*833e5d42SEmmanuel VadotadditionalProperties: false
52*833e5d42SEmmanuel Vadot
53*833e5d42SEmmanuel Vadotexamples:
54*833e5d42SEmmanuel Vadot  - |
55*833e5d42SEmmanuel Vadot    #include <dt-bindings/interrupt-controller/arm-gic.h>
56*833e5d42SEmmanuel Vadot
57*833e5d42SEmmanuel Vadot    des@480a5000 {
58*833e5d42SEmmanuel Vadot        compatible = "ti,omap4-des";
59*833e5d42SEmmanuel Vadot        reg = <0x480a5000 0xa0>;
60*833e5d42SEmmanuel Vadot        interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;
61*833e5d42SEmmanuel Vadot        clocks = <&l3_iclk_div>;
62*833e5d42SEmmanuel Vadot        clock-names = "fck";
63*833e5d42SEmmanuel Vadot        dmas = <&sdma 117>, <&sdma 116>;
64*833e5d42SEmmanuel Vadot        dma-names = "tx", "rx";
65*833e5d42SEmmanuel Vadot    };
66