# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/ti,omap2-aes.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: OMAP SoC AES 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:
    enum:
      - ti,omap2-aes
      - ti,omap3-aes
      - ti,omap4-aes

  reg:
    maxItems: 1

  interrupts:
    maxItems: 1

  dmas:
    maxItems: 2

  dma-names:
    items:
      - const: tx
      - const: rx

  ti,hwmods:
    description: Name of the hwmod associated with the AES module
    const: aes
    deprecated: true

required:
  - compatible
  - reg
  - interrupts

additionalProperties: false

examples:
  - |
    aes@53500000 {
        compatible = "ti,omap4-aes";
        reg = <0x53500000 0xa0>;
        interrupts = <102>;
        dmas = <&edma 6>,
               <&edma 5>;
        dma-names = "tx", "rx";
    };
