linux-loongson/Documentation/devicetree/bindings/crypto/ti,omap4-des.yaml
Rob Herring (Arm) 8c8dea2664 dt-bindings: crypto: Convert ti,omap4-des to DT schema
Convert the TI OMAP DES binding to DT schema format.

Drop "ti,hwmods" as it is not actually used for this binding. Only
OMAP2 platforms are using it.

Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2025-06-23 16:59:39 +08:00

66 lines
1.2 KiB
YAML

# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/ti,omap4-des.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: OMAP4 DES crypto Module
maintainers:
- Aaro Koskinen <aaro.koskinen@iki.fi>
- Andreas Kemnade <andreas@kemnade.info>
- Kevin Hilman <khilman@baylibre.com>
- Roger Quadros <rogerq@kernel.org>
- Tony Lindgren <tony@atomide.com>
properties:
compatible:
const: ti,omap4-des
reg:
maxItems: 1
interrupts:
maxItems: 1
dmas:
maxItems: 2
dma-names:
items:
- const: tx
- const: rx
clocks:
maxItems: 1
clock-names:
items:
- const: fck
dependencies:
dmas: [ dma-names ]
required:
- compatible
- reg
- interrupts
- clocks
- clock-names
additionalProperties: false
examples:
- |
#include <dt-bindings/interrupt-controller/arm-gic.h>
des@480a5000 {
compatible = "ti,omap4-des";
reg = <0x480a5000 0xa0>;
interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&l3_iclk_div>;
clock-names = "fck";
dmas = <&sdma 117>, <&sdma 116>;
dma-names = "tx", "rx";
};