99 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---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 module8 9maintainers:10 - Tero Kristo <t-kristo@ti.com>11 12properties:13 compatible:14 enum:15 - ti,j721e-sa2ul16 - ti,am654-sa2ul17 - ti,am64-sa2ul18 - ti,am62-sa3ul19 20 reg:21 maxItems: 122 23 power-domains:24 maxItems: 125 26 dmas:27 items:28 - description: TX DMA Channel29 - description: 'RX DMA Channel #1'30 - description: 'RX DMA Channel #2'31 32 dma-names:33 items:34 - const: tx35 - const: rx136 - const: rx237 38 "#address-cells":39 const: 240 41 "#size-cells":42 const: 243 44 ranges:45 description:46 Address translation for the possible RNG child node for SA2UL47 48 clocks:49 items:50 - description: Clock used by PKA51 - description: Main Input Clock52 - description: Clock used by rng53 54 clock-names:55 items:56 - const: pka_in_clk57 - const: x1_clk58 - const: x2_clk59 60patternProperties:61 "^rng@[a-f0-9]+$":62 type: object63 description:64 Child RNG node for SA2UL65 66required:67 - compatible68 - reg69 - dmas70 - dma-names71 72allOf:73 - if:74 properties:75 compatible:76 contains:77 const: ti,am62-sa3ul78 then:79 properties:80 power-domains: false81 else:82 required:83 - power-domains84 85additionalProperties: false86 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 };99