Marvell Cryptographic Engines And Security Accelerator
Schema identifier ($id): "http://devicetree.org/schemas/crypto/marvell,orion-crypto.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Andrew Lunn <andrew@lunn.ch>", "Boris Brezillon <bbrezillon@kernel.org>"
Marvell Cryptographic Engines And Security Accelerator
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "marvell,armada-370-crypto", "marvell,armada-xp-crypto", "marvell,armada-375-crypto", "marvell,armada-38x-crypto", "marvell,dove-crypto", "marvell,kirkwood-crypto", "marvell,orion-crypto"
reg — required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
Registers region
Item 2
SRAM region
Deprecated (
deprecated):true
reg-names — required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
Exact value (
const):"regs"
Item 2
Exact value (
const):"sram"Deprecated (
deprecated):true
interrupts — required here #
One interrupt for each CESA engine
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
clocks — not listed as required here #
One or two clocks for each CESA engine
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 4
clock-names — not listed as required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
Exact value (
const):"cesa0"
Item 2
Exact value (
const):"cesa1"
Item 3
Exact value (
const):"cesaz0"
Item 4
Exact value (
const):"cesaz1"
marvell,crypto-srams — required here #
Phandle(s) to crypto SRAM.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle-array
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
Array item rules (items) #
Maximum number of items (
maxItems):1
marvell,crypto-sram-size — not listed as required here #
SRAM size reserved for crypto operations.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Default value (default): 2048
Required in this object (required): "compatible", "reg", "reg-names", "interrupts", "marvell,crypto-srams"
All of these rules must match (allOf) #
Rule 1 #
Condition (
if) #This rule must not match (
not)Properties and child nodes (
properties)
compatible— not listed as required hereAllowed values (
enum):"marvell,kirkwood-crypto","marvell,orion-crypto"When the condition matches (
then) #
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"marvell,armada-370-crypto","marvell,armada-375-crypto","marvell,armada-38x-crypto","marvell,armada-xp-crypto"When the condition matches (
then) #
Rule 3 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"marvell,armada-375-crypto","marvell,armada-38x-crypto"When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereMinimum number of items (
minItems):4
clock-names— not listed as required hereMinimum number of items (
minItems):4When the condition does not match (
else) #Properties and child nodes (
properties)
clocks— not listed as required hereMaximum number of items (
maxItems):2
clock-names— not listed as required hereMaximum number of items (
maxItems):2
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
crypto@30000 {
compatible = "marvell,orion-crypto";
reg = <0x30000 0x10000>;
reg-names = "regs";
interrupts = <22>;
marvell,crypto-srams = <&crypto_sram>;
marvell,crypto-sram-size = <0x600>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)