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