allwinner,sun8i-ss.yaml (1198B)
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# 6 7title: Allwinner Security System v2 driver 8 9maintainers: 10 - Corentin Labbe <corentin.labbe@gmail.com> 11 12properties: 13 compatible: 14 enum: 15 - allwinner,sun8i-a83t-crypto 16 - allwinner,sun9i-a80-crypto 17 18 reg: 19 maxItems: 1 20 21 interrupts: 22 maxItems: 1 23 24 clocks: 25 items: 26 - description: Bus clock 27 - description: Module clock 28 29 clock-names: 30 items: 31 - const: bus 32 - const: mod 33 34 resets: 35 maxItems: 1 36 37required: 38 - compatible 39 - reg 40 - interrupts 41 - clocks 42 - clock-names 43 - resets 44 45additionalProperties: false 46 47examples: 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> 52 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 };