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