2019-10-16 22:06:23 -07:00
|
|
|
# SPDX-License-Identifier: GPL-2.0
|
|
|
|
%YAML 1.2
|
|
|
|
---
|
|
|
|
$id: http://devicetree.org/schemas/crypto/amlogic,gxl-crypto.yaml#
|
|
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
|
|
|
|
title: Amlogic GXL Cryptographic Offloader
|
|
|
|
|
|
|
|
maintainers:
|
|
|
|
- Corentin Labbe <clabbe@baylibre.com>
|
|
|
|
|
|
|
|
properties:
|
|
|
|
compatible:
|
|
|
|
items:
|
2020-04-15 17:55:48 -07:00
|
|
|
- const: amlogic,gxl-crypto
|
2019-10-16 22:06:23 -07:00
|
|
|
|
|
|
|
reg:
|
|
|
|
maxItems: 1
|
|
|
|
|
|
|
|
interrupts:
|
|
|
|
items:
|
2023-06-20 23:44:03 -07:00
|
|
|
- description: Interrupt for flow 0
|
|
|
|
- description: Interrupt for flow 1
|
2019-10-16 22:06:23 -07:00
|
|
|
|
|
|
|
clocks:
|
|
|
|
maxItems: 1
|
|
|
|
|
|
|
|
clock-names:
|
|
|
|
const: blkmv
|
|
|
|
|
|
|
|
required:
|
|
|
|
- compatible
|
|
|
|
- reg
|
|
|
|
- interrupts
|
|
|
|
- clocks
|
|
|
|
- clock-names
|
|
|
|
|
|
|
|
additionalProperties: false
|
|
|
|
|
|
|
|
examples:
|
|
|
|
- |
|
|
|
|
#include <dt-bindings/interrupt-controller/irq.h>
|
|
|
|
#include <dt-bindings/interrupt-controller/arm-gic.h>
|
|
|
|
#include <dt-bindings/clock/gxbb-clkc.h>
|
|
|
|
|
|
|
|
crypto: crypto-engine@c883e000 {
|
|
|
|
compatible = "amlogic,gxl-crypto";
|
2020-05-12 13:45:43 -07:00
|
|
|
reg = <0xc883e000 0x36>;
|
2019-10-16 22:06:23 -07:00
|
|
|
interrupts = <GIC_SPI 188 IRQ_TYPE_EDGE_RISING>, <GIC_SPI 189 IRQ_TYPE_EDGE_RISING>;
|
|
|
|
clocks = <&clkc CLKID_BLKMV>;
|
|
|
|
clock-names = "blkmv";
|
|
|
|
};
|