1# SPDX-License-Identifier: (GPL-2.0-only or BSD-2-Clause) 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/crypto/ti,sa2ul.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: K3 SoC SA2UL crypto module 8 9maintainers: 10 - Tero Kristo <t-kristo@ti.com> 11 12properties: 13 compatible: 14 enum: 15 - ti,j721e-sa2ul 16 - ti,am654-sa2ul 17 - ti,am64-sa2ul 18 - ti,am62-sa3ul 19 20 reg: 21 maxItems: 1 22 23 power-domains: 24 maxItems: 1 25 26 dmas: 27 items: 28 - description: TX DMA Channel 29 - description: RX DMA Channel #1 30 - description: RX DMA Channel #2 31 32 dma-names: 33 items: 34 - const: tx 35 - const: rx1 36 - const: rx2 37 38 dma-coherent: true 39 40 "#address-cells": 41 const: 2 42 43 "#size-cells": 44 const: 2 45 46 ranges: 47 description: 48 Address translation for the possible RNG child node for SA2UL 49 50 clocks: 51 items: 52 - description: Clock used by PKA 53 - description: Main Input Clock 54 - description: Clock used by rng 55 56 clock-names: 57 items: 58 - const: pka_in_clk 59 - const: x1_clk 60 - const: x2_clk 61 62patternProperties: 63 "^rng@[a-f0-9]+$": 64 type: object 65 description: 66 Child RNG node for SA2UL 67 68required: 69 - compatible 70 - reg 71 - power-domains 72 - dmas 73 - dma-names 74 75if: 76 properties: 77 compatible: 78 enum: 79 - ti,j721e-sa2ul 80 - ti,am654-sa2ul 81then: 82 required: 83 - dma-coherent 84 85additionalProperties: false 86 87examples: 88 - | 89 #include <dt-bindings/soc/ti,sci_pm_domain.h> 90 91 main_crypto: crypto@4e00000 { 92 compatible = "ti,j721e-sa2ul"; 93 reg = <0x4e00000 0x1200>; 94 power-domains = <&k3_pds 264 TI_SCI_PD_EXCLUSIVE>; 95 dmas = <&main_udmap 0xc000>, <&main_udmap 0x4000>, 96 <&main_udmap 0x4001>; 97 dma-names = "tx", "rx1", "rx2"; 98 dma-coherent; 99 }; 100