xref: /linux/Documentation/devicetree/bindings/crypto/allwinner,sun8i-ss.yaml (revision c95baf12f5077419db01313ab61c2aac007d40cd)
1*8d68e7e1SCorentin Labbe# SPDX-License-Identifier: GPL-2.0
2*8d68e7e1SCorentin Labbe%YAML 1.2
3*8d68e7e1SCorentin Labbe---
4*8d68e7e1SCorentin Labbe$id: http://devicetree.org/schemas/crypto/allwinner,sun8i-ss.yaml#
5*8d68e7e1SCorentin Labbe$schema: http://devicetree.org/meta-schemas/core.yaml#
6*8d68e7e1SCorentin Labbe
7*8d68e7e1SCorentin Labbetitle: Allwinner Security System v2 driver
8*8d68e7e1SCorentin Labbe
9*8d68e7e1SCorentin Labbemaintainers:
10*8d68e7e1SCorentin Labbe  - Corentin Labbe <corentin.labbe@gmail.com>
11*8d68e7e1SCorentin Labbe
12*8d68e7e1SCorentin Labbeproperties:
13*8d68e7e1SCorentin Labbe  compatible:
14*8d68e7e1SCorentin Labbe    enum:
15*8d68e7e1SCorentin Labbe      - allwinner,sun8i-a83t-crypto
16*8d68e7e1SCorentin Labbe      - allwinner,sun9i-a80-crypto
17*8d68e7e1SCorentin Labbe
18*8d68e7e1SCorentin Labbe  reg:
19*8d68e7e1SCorentin Labbe    maxItems: 1
20*8d68e7e1SCorentin Labbe
21*8d68e7e1SCorentin Labbe  interrupts:
22*8d68e7e1SCorentin Labbe    maxItems: 1
23*8d68e7e1SCorentin Labbe
24*8d68e7e1SCorentin Labbe  clocks:
25*8d68e7e1SCorentin Labbe    items:
26*8d68e7e1SCorentin Labbe      - description: Bus clock
27*8d68e7e1SCorentin Labbe      - description: Module clock
28*8d68e7e1SCorentin Labbe
29*8d68e7e1SCorentin Labbe  clock-names:
30*8d68e7e1SCorentin Labbe    items:
31*8d68e7e1SCorentin Labbe      - const: bus
32*8d68e7e1SCorentin Labbe      - const: mod
33*8d68e7e1SCorentin Labbe
34*8d68e7e1SCorentin Labbe  resets:
35*8d68e7e1SCorentin Labbe    maxItems: 1
36*8d68e7e1SCorentin Labbe
37*8d68e7e1SCorentin Labberequired:
38*8d68e7e1SCorentin Labbe  - compatible
39*8d68e7e1SCorentin Labbe  - reg
40*8d68e7e1SCorentin Labbe  - interrupts
41*8d68e7e1SCorentin Labbe  - clocks
42*8d68e7e1SCorentin Labbe  - clock-names
43*8d68e7e1SCorentin Labbe  - resets
44*8d68e7e1SCorentin Labbe
45*8d68e7e1SCorentin LabbeadditionalProperties: false
46*8d68e7e1SCorentin Labbe
47*8d68e7e1SCorentin Labbeexamples:
48*8d68e7e1SCorentin Labbe  - |
49*8d68e7e1SCorentin Labbe    #include <dt-bindings/interrupt-controller/arm-gic.h>
50*8d68e7e1SCorentin Labbe    #include <dt-bindings/clock/sun8i-a83t-ccu.h>
51*8d68e7e1SCorentin Labbe    #include <dt-bindings/reset/sun8i-a83t-ccu.h>
52*8d68e7e1SCorentin Labbe
53*8d68e7e1SCorentin Labbe    crypto: crypto@1c15000 {
54*8d68e7e1SCorentin Labbe      compatible = "allwinner,sun8i-a83t-crypto";
55*8d68e7e1SCorentin Labbe      reg = <0x01c15000 0x1000>;
56*8d68e7e1SCorentin Labbe      interrupts = <GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH>;
57*8d68e7e1SCorentin Labbe      resets = <&ccu RST_BUS_SS>;
58*8d68e7e1SCorentin Labbe      clocks = <&ccu CLK_BUS_SS>, <&ccu CLK_SS>;
59*8d68e7e1SCorentin Labbe      clock-names = "bus", "mod";
60*8d68e7e1SCorentin Labbe    };
61