Merge tag 'linux-kselftest-kunit-fixes-5.11-rc3' of git://git.kernel.org/pub/scm...
[linux/fpc-iii.git] / Documentation / devicetree / bindings / crypto / allwinner,sun8i-ss.yaml
blob8a29d36edf26d074d75daee1110707a694567112
1 # SPDX-License-Identifier: GPL-2.0
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/crypto/allwinner,sun8i-ss.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Allwinner Security System v2 driver
9 maintainers:
10   - Corentin Labbe <corentin.labbe@gmail.com>
12 properties:
13   compatible:
14     enum:
15       - allwinner,sun8i-a83t-crypto
16       - allwinner,sun9i-a80-crypto
18   reg:
19     maxItems: 1
21   interrupts:
22     maxItems: 1
24   clocks:
25     items:
26       - description: Bus clock
27       - description: Module clock
29   clock-names:
30     items:
31       - const: bus
32       - const: mod
34   resets:
35     maxItems: 1
37 required:
38   - compatible
39   - reg
40   - interrupts
41   - clocks
42   - clock-names
43   - resets
45 additionalProperties: false
47 examples:
48   - |
49     #include <dt-bindings/interrupt-controller/arm-gic.h>
50     #include <dt-bindings/clock/sun8i-a83t-ccu.h>
51     #include <dt-bindings/reset/sun8i-a83t-ccu.h>
53     crypto: crypto@1c15000 {
54       compatible = "allwinner,sun8i-a83t-crypto";
55       reg = <0x01c15000 0x1000>;
56       interrupts = <GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH>;
57       resets = <&ccu RST_BUS_SS>;
58       clocks = <&ccu CLK_BUS_SS>, <&ccu CLK_SS>;
59       clock-names = "bus", "mod";
60     };