Path: blob/master/Documentation/devicetree/bindings/crypto/ti,sa2ul.yaml
26308 views
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)1%YAML 1.22---3$id: http://devicetree.org/schemas/crypto/ti,sa2ul.yaml#4$schema: http://devicetree.org/meta-schemas/core.yaml#56title: K3 SoC SA2UL crypto module78maintainers:9- Tero Kristo <t-kristo@ti.com>1011properties:12compatible:13enum:14- ti,j721e-sa2ul15- ti,am654-sa2ul16- ti,am64-sa2ul17- ti,am62-sa3ul1819reg:20maxItems: 12122power-domains:23maxItems: 12425dmas:26items:27- description: TX DMA Channel28- description: 'RX DMA Channel #1'29- description: 'RX DMA Channel #2'3031dma-names:32items:33- const: tx34- const: rx135- const: rx23637"#address-cells":38const: 23940"#size-cells":41const: 24243ranges:44description:45Address translation for the possible RNG child node for SA2UL4647clocks:48items:49- description: Clock used by PKA50- description: Main Input Clock51- description: Clock used by rng5253clock-names:54items:55- const: pka_in_clk56- const: x1_clk57- const: x2_clk5859patternProperties:60"^rng@[a-f0-9]+$":61type: object62description:63Child RNG node for SA2UL6465required:66- compatible67- reg68- dmas69- dma-names7071allOf:72- if:73properties:74compatible:75contains:76const: ti,am62-sa3ul77then:78properties:79power-domains: false80else:81required:82- power-domains8384additionalProperties: false8586examples:87- |88#include <dt-bindings/soc/ti,sci_pm_domain.h>8990main_crypto: crypto@4e00000 {91compatible = "ti,j721e-sa2ul";92reg = <0x4e00000 0x1200>;93power-domains = <&k3_pds 264 TI_SCI_PD_EXCLUSIVE>;94dmas = <&main_udmap 0xc000>, <&main_udmap 0x4000>,95<&main_udmap 0x4001>;96dma-names = "tx", "rx1", "rx2";97};9899100