K3 SoC SA2UL crypto module

Schema identifier ($id): "http://devicetree.org/schemas/crypto/ti,sa2ul.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Tero Kristo <t-kristo@ti.com>"

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "ti,j721e-sa2ul", "ti,am654-sa2ul", "ti,am64-sa2ul", "ti,am62-sa3ul"

reg — required here #

Maximum number of items (maxItems): 1

power-domains — not listed as required here #

Maximum number of items (maxItems): 1

dmas — required here #

Array item rules (items) #

Item 1

TX DMA Channel

Item 2

RX DMA Channel #1

Item 3

RX DMA Channel #2

dma-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "tx"

Item 2

Exact value (const): "rx1"

Item 3

Exact value (const): "rx2"

#address-cells — not listed as required here #

Exact value (const): 2

#size-cells — not listed as required here #

Exact value (const): 2

ranges — not listed as required here #

Address translation for the possible RNG child node for SA2UL

clocks — not listed as required here #

Array item rules (items) #

Item 1

Clock used by PKA

Item 2

Main Input Clock

Item 3

Clock used by rng

clock-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "pka_in_clk"

Item 2

Exact value (const): "x1_clk"

Item 3

Exact value (const): "x2_clk"

Properties matching a name pattern (patternProperties) #

^rng@[a-f0-9]+$ — name matches this regular expression #

Value type (type): "object"

Child RNG node for SA2UL

Required in this object (required): "compatible", "reg", "dmas", "dma-names"

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "ti,am62-sa3ul"

When the condition matches (then) #

Properties and child nodes (properties)

power-domains — not listed as required here

false — Not permitted by this property rule.

When the condition does not match (else) #

Required in this object (required): "power-domains"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/soc/ti,sci_pm_domain.h>

main_crypto: crypto@4e00000 {
    compatible = "ti,j721e-sa2ul";
    reg = <0x4e00000 0x1200>;
    power-domains = <&k3_pds 264 TI_SCI_PD_EXCLUSIVE>;
    dmas = <&main_udmap 0xc000>, <&main_udmap 0x4000>,
           <&main_udmap 0x4001>;
    dma-names = "tx", "rx1", "rx2";
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Edit this page