0001 # SPDX-License-Identifier: GPL-2.0
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/crypto/allwinner,sun8i-ss.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006
0007 title: Allwinner Security System v2 driver
0008
0009 maintainers:
0010 - Corentin Labbe <corentin.labbe@gmail.com>
0011
0012 properties:
0013 compatible:
0014 enum:
0015 - allwinner,sun8i-a83t-crypto
0016 - allwinner,sun9i-a80-crypto
0017
0018 reg:
0019 maxItems: 1
0020
0021 interrupts:
0022 maxItems: 1
0023
0024 clocks:
0025 items:
0026 - description: Bus clock
0027 - description: Module clock
0028
0029 clock-names:
0030 items:
0031 - const: bus
0032 - const: mod
0033
0034 resets:
0035 maxItems: 1
0036
0037 required:
0038 - compatible
0039 - reg
0040 - interrupts
0041 - clocks
0042 - clock-names
0043 - resets
0044
0045 additionalProperties: false
0046
0047 examples:
0048 - |
0049 #include <dt-bindings/interrupt-controller/arm-gic.h>
0050 #include <dt-bindings/clock/sun8i-a83t-ccu.h>
0051 #include <dt-bindings/reset/sun8i-a83t-ccu.h>
0052
0053 crypto: crypto@1c15000 {
0054 compatible = "allwinner,sun8i-a83t-crypto";
0055 reg = <0x01c15000 0x1000>;
0056 interrupts = <GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH>;
0057 resets = <&ccu RST_BUS_SS>;
0058 clocks = <&ccu CLK_BUS_SS>, <&ccu CLK_SS>;
0059 clock-names = "bus", "mod";
0060 };