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/amlogic,gxl-crypto.yaml# 5*c66ec88fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6*c66ec88fSEmmanuel Vadot 7*c66ec88fSEmmanuel Vadottitle: Amlogic GXL Cryptographic Offloader 8*c66ec88fSEmmanuel Vadot 9*c66ec88fSEmmanuel Vadotmaintainers: 10*c66ec88fSEmmanuel Vadot - Corentin Labbe <clabbe@baylibre.com> 11*c66ec88fSEmmanuel Vadot 12*c66ec88fSEmmanuel Vadotproperties: 13*c66ec88fSEmmanuel Vadot compatible: 14*c66ec88fSEmmanuel Vadot items: 15*c66ec88fSEmmanuel Vadot - const: amlogic,gxl-crypto 16*c66ec88fSEmmanuel Vadot 17*c66ec88fSEmmanuel Vadot reg: 18*c66ec88fSEmmanuel Vadot maxItems: 1 19*c66ec88fSEmmanuel Vadot 20*c66ec88fSEmmanuel Vadot interrupts: 21*c66ec88fSEmmanuel Vadot items: 22*c66ec88fSEmmanuel Vadot - description: "Interrupt for flow 0" 23*c66ec88fSEmmanuel Vadot - description: "Interrupt for flow 1" 24*c66ec88fSEmmanuel Vadot 25*c66ec88fSEmmanuel Vadot clocks: 26*c66ec88fSEmmanuel Vadot maxItems: 1 27*c66ec88fSEmmanuel Vadot 28*c66ec88fSEmmanuel Vadot clock-names: 29*c66ec88fSEmmanuel Vadot const: blkmv 30*c66ec88fSEmmanuel Vadot 31*c66ec88fSEmmanuel Vadotrequired: 32*c66ec88fSEmmanuel Vadot - compatible 33*c66ec88fSEmmanuel Vadot - reg 34*c66ec88fSEmmanuel Vadot - interrupts 35*c66ec88fSEmmanuel Vadot - clocks 36*c66ec88fSEmmanuel Vadot - clock-names 37*c66ec88fSEmmanuel Vadot 38*c66ec88fSEmmanuel VadotadditionalProperties: false 39*c66ec88fSEmmanuel Vadot 40*c66ec88fSEmmanuel Vadotexamples: 41*c66ec88fSEmmanuel Vadot - | 42*c66ec88fSEmmanuel Vadot #include <dt-bindings/interrupt-controller/irq.h> 43*c66ec88fSEmmanuel Vadot #include <dt-bindings/interrupt-controller/arm-gic.h> 44*c66ec88fSEmmanuel Vadot #include <dt-bindings/clock/gxbb-clkc.h> 45*c66ec88fSEmmanuel Vadot 46*c66ec88fSEmmanuel Vadot crypto: crypto-engine@c883e000 { 47*c66ec88fSEmmanuel Vadot compatible = "amlogic,gxl-crypto"; 48*c66ec88fSEmmanuel Vadot reg = <0xc883e000 0x36>; 49*c66ec88fSEmmanuel Vadot interrupts = <GIC_SPI 188 IRQ_TYPE_EDGE_RISING>, <GIC_SPI 189 IRQ_TYPE_EDGE_RISING>; 50*c66ec88fSEmmanuel Vadot clocks = <&clkc CLKID_BLKMV>; 51*c66ec88fSEmmanuel Vadot clock-names = "blkmv"; 52*c66ec88fSEmmanuel Vadot }; 53