Inside Secure SafeXcel cryptographic engine

Schema identifier ($id): "http://devicetree.org/schemas/crypto/inside-secure,safexcel.yaml#"

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

Maintainers (maintainers): "Antoine Tenart <atenart@kernel.org>"

Properties and child nodes (properties) #

compatible — not listed as required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Array item rules (items)

Item 1

Exact value (const): "marvell,armada-cp110-crypto"

Item 2

Exact value (const): "inside-secure,safexcel-eip197b"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "marvell,armada-3700-crypto", "mediatek,mt7986-crypto"

Item 2

Exact value (const): "inside-secure,safexcel-eip97ies"

Rule 3

Exact value (const): "inside-secure,safexcel-eip197b"

Rule 4

Exact value (const): "inside-secure,safexcel-eip197d"

Rule 5

Exact value (const): "inside-secure,safexcel-eip97ies"

Rule 6

Exact value (const): "inside-secure,safexcel-eip197"

Equivalent of inside-secure,safexcel-eip197b

Deprecated (deprecated): true

Rule 7

Exact value (const): "inside-secure,safexcel-eip97"

Equivalent of inside-secure,safexcel-eip97ies

Deprecated (deprecated): true

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Minimum number of items (minItems): 4

Maximum number of items (maxItems): 6

interrupt-names — required here #

Minimum number of items (minItems): 4

Array item rules (items) #

Item 1

Exact value (const): "ring0"

Item 2

Exact value (const): "ring1"

Item 3

Exact value (const): "ring2"

Item 4

Exact value (const): "ring3"

Item 5

Exact value (const): "eip"

Item 6

Exact value (const): "mem"

clocks — not listed as required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 2

clock-names — not listed as required here #

Minimum number of items (minItems): 1

Array item rules (items) #

Item 1

Exact value (const): "core"

Item 2

Exact value (const): "reg"

dma-coherent — not listed as required here #

true — No constraints added by this property rule.

Required in this object (required): "reg", "interrupts", "interrupt-names"

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

clocks — not listed as required here

Minimum number of items (minItems): 2

When the condition matches (then) #

Properties and child nodes (properties)

clock-names — required here

Minimum number of items (minItems): 2

Required in this object (required): "clock-names"

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

This rule must not match (not)

Rule for matching array elements (contains)

Exact value (const): "mediatek,mt7986-crypto"

When the condition matches (then) #

Properties and child nodes (properties)

interrupts — not listed as required here

Minimum number of items (minItems): 6

interrupt-names — not listed as required here

Minimum number of items (minItems): 6

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

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/interrupt-controller/irq.h>

crypto@800000 {
    compatible = "inside-secure,safexcel-eip197b";
    reg = <0x800000 0x200000>;
    interrupts = <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>,
                 <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>,
                 <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>,
                 <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>,
                 <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>,
                 <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;
    interrupt-names = "ring0", "ring1", "ring2", "ring3", "eip", "mem";
    clocks = <&cpm_syscon0 1 26>;
    clock-names = "core";
};

Source notes #

Annotations retained from the schema source

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

Edit this page