Crypto bindings
Single-page view · as markdown
Allwinner A10 Security System
Peios Kernel / Hardware and drivers / Device-tree binding reference / Crypto bindings
Schema identifier ($id): "http://devicetree.org/schemas/crypto/allwinner,sun4i-a10-crypto.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Chen-Yu Tsai <wens@csie.org>", "Maxime Ripard <mripard@kernel.org>"
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Exact value (
const):"allwinner,sun4i-a10-crypto"
Rule 2
Array item rules (
items)Item 1
Exact value (
const):"allwinner,sun5i-a13-crypto"Item 2
Exact value (
const):"allwinner,sun4i-a10-crypto"
Rule 3
Array item rules (
items)Item 1
Exact value (
const):"allwinner,sun6i-a31-crypto"Item 2
Exact value (
const):"allwinner,sun4i-a10-crypto"
Rule 4
Array item rules (
items)Item 1
Exact value (
const):"allwinner,sun7i-a20-crypto"Item 2
Exact value (
const):"allwinner,sun4i-a10-crypto"
Rule 5
Exact value (
const):"allwinner,sun8i-a33-crypto"
Rule 6
Array item rules (
items)Item 1
Exact value (
const):"allwinner,sun8i-v3s-crypto"Item 2
Exact value (
const):"allwinner,sun8i-a33-crypto"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Array item rules (items) #
Item 1
Bus Clock
Item 2
Module Clock
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"ahb"
Item 2
Exact value (
const):"mod"
dmas — not listed as required here #
Array item rules (items) #
Item 1
RX DMA Channel
Item 2
TX DMA Channel
dma-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"rx"
Item 2
Exact value (
const):"tx"
resets — not listed as required here #
Maximum number of items (maxItems): 1
reset-names — not listed as required here #
Exact value (const): "ahb"
Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names"
Condition (if) #
Properties and child nodes (
properties) #
compatible— not listed as required here #Rule for matching array elements (
contains)Allowed values (
enum):"allwinner,sun6i-a31-crypto","allwinner,sun8i-a33-crypto"
When the condition matches (then) #
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
crypto: crypto-engine@1c15000 {
compatible = "allwinner,sun4i-a10-crypto";
reg = <0x01c15000 0x1000>;
interrupts = <86>;
clocks = <&ahb_gates 5>, <&ss_clk>;
clock-names = "ahb", "mod";
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0
Allwinner Crypto Engine driver
Peios Kernel / Hardware and drivers / Device-tree binding reference / Crypto bindings
Schema identifier ($id): "http://devicetree.org/schemas/crypto/allwinner,sun8i-ce.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Corentin Labbe <clabbe.montjoie@gmail.com>"
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "allwinner,sun8i-h3-crypto", "allwinner,sun8i-r40-crypto", "allwinner,sun20i-d1-crypto", "allwinner,sun50i-a64-crypto", "allwinner,sun50i-h5-crypto", "allwinner,sun50i-h6-crypto", "allwinner,sun50i-h616-crypto"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Array item rules (items) #
Item 1
Bus clock
Item 2
Module clock
Item 3
MBus clock
Item 4
TRNG clock (RC oscillator)
Minimum number of items (minItems): 2
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"bus"
Item 2
Exact value (
const):"mod"
Item 3
Exact value (
const):"ram"
Item 4
Exact value (
const):"trng"
Minimum number of items (minItems): 2
resets — required here #
Maximum number of items (maxItems): 1
Condition (if) #
Properties and child nodes (
properties) #
compatible— not listed as required here #Allowed values (
enum):"allwinner,sun20i-d1-crypto","allwinner,sun50i-h616-crypto"
When the condition matches (then) #
Properties and child nodes (
properties) #
clocks— not listed as required here #Minimum number of items (
minItems):4
clock-names— not listed as required here #Minimum number of items (
minItems):4
When the condition does not match (else) #
Condition (
if) #Properties and child nodes (
properties) #
compatible— not listed as required hereExact value (
const):"allwinner,sun50i-h6-crypto"When the condition matches (
then) #Properties and child nodes (
properties) #
clocks— not listed as required hereMinimum number of items (
minItems):3Maximum number of items (
maxItems):3
clock-names— not listed as required hereMinimum number of items (
minItems):3Maximum number of items (
maxItems):3When 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
Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names", "resets"
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/clock/sun50i-a64-ccu.h>
#include <dt-bindings/reset/sun50i-a64-ccu.h>
crypto: crypto@1c15000 {
compatible = "allwinner,sun8i-h3-crypto";
reg = <0x01c15000 0x1000>;
interrupts = <GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&ccu CLK_BUS_CE>, <&ccu CLK_CE>;
clock-names = "bus", "mod";
resets = <&ccu RST_BUS_CE>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0
Allwinner Security System v2 driver
Peios Kernel / Hardware and drivers / Device-tree binding reference / Crypto bindings
Schema identifier ($id): "http://devicetree.org/schemas/crypto/allwinner,sun8i-ss.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Corentin Labbe <corentin.labbe@gmail.com>"
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "allwinner,sun8i-a83t-crypto", "allwinner,sun9i-a80-crypto"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Array item rules (items) #
Item 1
Bus clock
Item 2
Module clock
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"bus"
Item 2
Exact value (
const):"mod"
resets — required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names", "resets"
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/clock/sun8i-a83t-ccu.h>
#include <dt-bindings/reset/sun8i-a83t-ccu.h>
crypto: crypto@1c15000 {
compatible = "allwinner,sun8i-a83t-crypto";
reg = <0x01c15000 0x1000>;
interrupts = <GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH>;
resets = <&ccu RST_BUS_SS>;
clocks = <&ccu CLK_BUS_SS>, <&ccu CLK_SS>;
clock-names = "bus", "mod";
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0
AMD Cryptographic Coprocessor (ccp)
Peios Kernel / Hardware and drivers / Device-tree binding reference / Crypto bindings
Schema identifier ($id): "http://devicetree.org/schemas/amd,ccp-seattle-v1a.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Tom Lendacky <thomas.lendacky@amd.com>"
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "amd,ccp-seattle-v1a"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
dma-coherent — not listed as required here #
true — No constraints added by this property rule.
iommus — not listed as required here #
Maximum number of items (maxItems): 4
Required in this object (required): "compatible", "reg", "interrupts"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
crypto@e0100000 {
compatible = "amd,ccp-seattle-v1a";
reg = <0xe0100000 0x10000>;
interrupts = <0 3 4>;
dma-coherent;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Amlogic GXL Cryptographic Offloader
Peios Kernel / Hardware and drivers / Device-tree binding reference / Crypto bindings
Schema identifier ($id): "http://devicetree.org/schemas/crypto/amlogic,gxl-crypto.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Corentin Labbe <clabbe@baylibre.com>"
Properties and child nodes (properties) #
compatible — required here #
Array item rules (items) #
Item 1
Exact value (
const):"amlogic,gxl-crypto"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Array item rules (items) #
Item 1
Interrupt for flow 0
Item 2
Interrupt for flow 1
clocks — required here #
Maximum number of items (maxItems): 1
clock-names — required here #
Exact value (const): "blkmv"
Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/clock/gxbb-clkc.h>
crypto: crypto-engine@c883e000 {
compatible = "amlogic,gxl-crypto";
reg = <0xc883e000 0x36>;
interrupts = <GIC_SPI 188 IRQ_TYPE_EDGE_RISING>, <GIC_SPI 189 IRQ_TYPE_EDGE_RISING>;
clocks = <&clkc CLKID_BLKMV>;
clock-names = "blkmv";
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0
Arm TrustZone CryptoCell cryptographic engine
Peios Kernel / Hardware and drivers / Device-tree binding reference / Crypto bindings
Schema identifier ($id): "http://devicetree.org/schemas/crypto/arm,cryptocell.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Gilad Ben-Yossef <gilad@benyossef.com>"
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "arm,cryptocell-713-ree", "arm,cryptocell-703-ree", "arm,cryptocell-712-ree", "arm,cryptocell-710-ree", "arm,cryptocell-630p-ree"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
clocks — not listed as required here #
Maximum number of items (maxItems): 1
power-domains — not listed as required here #
Maximum number of items (maxItems): 1
resets — not listed as required here #
Maximum number of items (maxItems): 1
dma-coherent — not listed as required here #
true — No constraints added by this property rule.
Required in this object (required): "compatible", "reg", "interrupts"
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>
arm_cc712: crypto@80000000 {
compatible = "arm,cryptocell-712-ree";
reg = <0x80000000 0x10000>;
interrupts = <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
ASPEED HACE hash and crypto Hardware Accelerator Engines
Peios Kernel / Hardware and drivers / Device-tree binding reference / Crypto bindings
Schema identifier ($id): "http://devicetree.org/schemas/crypto/aspeed,ast2500-hace.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Neal Liu <neal_liu@aspeedtech.com>"
The Hash and Crypto Engine (HACE) is designed to accelerate the throughput of hash data digest, encryption, and decryption. Basically, HACE can be divided into two independently engines - Hash Engine and Crypto Engine.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "aspeed,ast2500-hace", "aspeed,ast2600-hace"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
resets — required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg", "clocks", "interrupts", "resets"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/ast2600-clock.h>
hace: crypto@1e6d0000 {
compatible = "aspeed,ast2600-hace";
reg = <0x1e6d0000 0x200>;
interrupts = <4>;
clocks = <&syscon ASPEED_CLK_GATE_YCLK>;
resets = <&syscon ASPEED_RESET_HACE>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
ASPEED ACRY ECDSA/RSA Hardware Accelerator Engines
Peios Kernel / Hardware and drivers / Device-tree binding reference / Crypto bindings
Schema identifier ($id): "http://devicetree.org/schemas/crypto/aspeed,ast2600-acry.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Neal Liu <neal_liu@aspeedtech.com>"
The ACRY ECDSA/RSA engines is designed to accelerate the throughput of ECDSA/RSA signature and verification. Basically, ACRY can be divided into two independent engines - ECC Engine and RSA Engine.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "aspeed,ast2600-acry"
reg — required here #
Array item rules (items) #
Item 1
acry base address & size
Item 2
acry sram base address & size
clocks — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
aspeed,ahbc — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
A phandle to the AHB controller node, which must be a syscon
Required in this object (required): "compatible", "reg", "clocks", "interrupts", "aspeed,ahbc"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/ast2600-clock.h>
acry: crypto@1e6fa000 {
compatible = "aspeed,ast2600-acry";
reg = <0x1e6fa000 0x400>, <0x1e710000 0x1800>;
interrupts = <160>;
clocks = <&syscon ASPEED_CLK_GATE_RSACLK>;
aspeed,ahbc = <&ahbc>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Atmel Advanced Encryption Standard (AES) HW cryptographic accelerator
Peios Kernel / Hardware and drivers / Device-tree binding reference / Crypto bindings
Schema identifier ($id): "http://devicetree.org/schemas/crypto/atmel,at91sam9g46-aes.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Tudor Ambarus <tudor.ambarus@linaro.org>"
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Exact value (
const):"atmel,at91sam9g46-aes"
Rule 2
Array item rules (
items)Item 1
Allowed values (
enum):"microchip,lan9691-aes","microchip,sam9x7-aes","microchip,sama7d65-aes"Item 2
Exact value (
const):"atmel,at91sam9g46-aes"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
clock-names — required here #
Exact value (const): "aes_clk"
dmas — required here #
Array item rules (items) #
Item 1
TX DMA Channel
Item 2
RX DMA Channel
dma-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"tx"
Item 2
Exact value (
const):"rx"
Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names", "dmas", "dma-names"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/clock/at91.h>
#include <dt-bindings/dma/at91.h>
aes: crypto@e1810000 {
compatible = "atmel,at91sam9g46-aes";
reg = <0xe1810000 0x100>;
interrupts = <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&pmc PMC_TYPE_PERIPHERAL 27>;
clock-names = "aes_clk";
dmas = <&dma0 AT91_XDMAC_DT_PERID(1)>,
<&dma0 AT91_XDMAC_DT_PERID(2)>;
dma-names = "tx", "rx";
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 2: Copyright (C) 2022 Microchip Technology, Inc. and its subsidiaries
Atmel Secure Hash Algorithm (SHA) HW cryptographic accelerator
Peios Kernel / Hardware and drivers / Device-tree binding reference / Crypto bindings
Schema identifier ($id): "http://devicetree.org/schemas/crypto/atmel,at91sam9g46-sha.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Tudor Ambarus <tudor.ambarus@linaro.org>"
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Exact value (
const):"atmel,at91sam9g46-sha"
Rule 2
Array item rules (
items)Item 1
Allowed values (
enum):"microchip,lan9691-sha","microchip,sam9x7-sha","microchip,sama7d65-sha"Item 2
Exact value (
const):"atmel,at91sam9g46-sha"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
clock-names — required here #
Exact value (const): "sha_clk"
dmas — not listed as required here #
Maximum number of items (maxItems): 1
TX DMA Channel
dma-names — not listed as required here #
Exact value (const): "tx"
Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/clock/at91.h>
#include <dt-bindings/dma/at91.h>
sha: crypto@e1814000 {
compatible = "atmel,at91sam9g46-sha";
reg = <0xe1814000 0x100>;
interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&pmc PMC_TYPE_PERIPHERAL 83>;
clock-names = "sha_clk";
dmas = <&dma0 AT91_XDMAC_DT_PERID(48)>;
dma-names = "tx";
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 2: Copyright (C) 2022 Microchip Technology, Inc. and its subsidiaries
Atmel Triple Data Encryption Standard (TDES) HW cryptographic accelerator
Peios Kernel / Hardware and drivers / Device-tree binding reference / Crypto bindings
Schema identifier ($id): "http://devicetree.org/schemas/crypto/atmel,at91sam9g46-tdes.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Tudor Ambarus <tudor.ambarus@linaro.org>"
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Exact value (
const):"atmel,at91sam9g46-tdes"
Rule 2
Array item rules (
items)Item 1
Allowed values (
enum):"microchip,sam9x7-tdes","microchip,sama7d65-tdes"Item 2
Exact value (
const):"atmel,at91sam9g46-tdes"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
clock-names — required here #
Exact value (const): "tdes_clk"
dmas — not listed as required here #
Array item rules (items) #
Item 1
TX DMA Channel
Item 2
RX DMA Channel
dma-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"tx"
Item 2
Exact value (
const):"rx"
Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/clock/at91.h>
#include <dt-bindings/dma/at91.h>
tdes: crypto@e2014000 {
compatible = "atmel,at91sam9g46-tdes";
reg = <0xe2014000 0x100>;
interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&pmc PMC_TYPE_PERIPHERAL 96>;
clock-names = "tdes_clk";
dmas = <&dma0 AT91_XDMAC_DT_PERID(54)>,
<&dma0 AT91_XDMAC_DT_PERID(53)>;
dma-names = "tx", "rx";
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 2: Copyright (C) 2022 Microchip Technology, Inc. and its subsidiaries
Axis ARTPEC6 crypto engine with PDMA interface
Peios Kernel / Hardware and drivers / Device-tree binding reference / Crypto bindings
Schema identifier ($id): "http://devicetree.org/schemas/crypto/axis,artpec6-crypto.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Lars Persson <lars.persson@axis.com>"
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "axis,artpec6-crypto", "axis,artpec7-crypto"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg", "interrupts"
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>
crypto@f4264000 {
compatible = "axis,artpec6-crypto";
reg = <0xf4264000 0x1000>;
interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Broadcom SPU Crypto Offload
Peios Kernel / Hardware and drivers / Device-tree binding reference / Crypto bindings
Schema identifier ($id): "http://devicetree.org/schemas/brcm,spum-crypto.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Rob Rice <rob.rice@broadcom.com>"
The Broadcom Secure Processing Unit (SPU) hardware supports symmetric cryptographic offload for Broadcom SoCs. A SoC may have multiple SPU hardware blocks.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "brcm,spum-crypto", "brcm,spu2-crypto", "brcm,spu2-v2-crypto", "brcm,spum-nsp-crypto"
reg — required here #
Maximum number of items (maxItems): 1
mboxes — required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg", "mboxes"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
crypto@612d0000 {
compatible = "brcm,spum-crypto";
reg = <0x612d0000 0x900>;
mboxes = <&pdc0 0>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 22: enhanced SPU2 hardware features like SHA3 and Rabin Fingerprint support
Line 23: Northstar Plus variant of the SPU-M hardware
SL3516 cryptographic offloader driver
Peios Kernel / Hardware and drivers / Device-tree binding reference / Crypto bindings
Schema identifier ($id): "http://devicetree.org/schemas/crypto/cortina,sl3516-crypto.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Corentin Labbe <clabbe@baylibre.com>"
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "cortina,sl3516-crypto"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
resets — required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg", "interrupts", "clocks", "resets"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/clock/cortina,gemini-clock.h>
#include <dt-bindings/reset/cortina,gemini-reset.h>
crypto@62000000 {
compatible = "cortina,sl3516-crypto";
reg = <0x62000000 0x10000>;
interrupts = <7 IRQ_TYPE_EDGE_RISING>;
resets = <&syscon GEMINI_RESET_SECURITY>;
clocks = <&syscon GEMINI_CLK_GATE_SECURITY>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Freescale Secure Non-Volatile Storage (SNVS)
Peios Kernel / Hardware and drivers / Device-tree binding reference / Crypto bindings
Schema identifier ($id): "http://devicetree.org/schemas/crypto/fsl,sec-v4.0-mon.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "\"Horia Geantă\" <horia.geanta@nxp.com>", "Pankaj Gupta <pankaj.gupta@nxp.com>", "Gaurav Jain <gaurav.jain@nxp.com>"
Node defines address range and the associated interrupt for the SNVS function. This function monitors security state information & reports security violations. This also included rtc, system power off and ON/OFF key.
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Array item rules (
items)Item 1
Exact value (
const):"fsl,sec-v4.0-mon"Item 2
Exact value (
const):"syscon"Item 3
Exact value (
const):"simple-mfd"
Rule 2
Array item rules (
items)Item 1
Exact value (
const):"fsl,sec-v5.0-mon"Item 2
Exact value (
const):"fsl,sec-v4.0-mon"
Rule 3
Array item rules (
items)Item 1
Allowed values (
enum):"fsl,sec-v5.3-mon","fsl,sec-v5.4-mon"Item 2
Exact value (
const):"fsl,sec-v5.0-mon"Item 3
Exact value (
const):"fsl,sec-v4.0-mon"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — not listed as required here #
Maximum number of items (maxItems): 2
snvs-rtc-lp — not listed as required here #
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Secure Non-Volatile Storage (SNVS) Low Power (LP) RTC Node
Properties and child nodes (properties) #
compatible — required here
Exact value (const): "fsl,sec-v4.0-mon-rtc-lp"
clocks — not listed as required here
Maximum number of items (maxItems): 1
clock-names — not listed as required here
Exact value (const): "snvs-rtc"
interrupts — required here
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
regmap — required here
Parent node containing registers
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
offset — not listed as required here
LP register offset
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Default value (default): 52
Required in this object (required): "compatible", "interrupts", "regmap"
snvs-powerkey — not listed as required here #
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
The snvs-pwrkey is designed to enable POWER key function which controlled by SNVS ONOFF, the driver can report the status of POWER key and wakeup system if pressed after system suspend.
Shared schema rule ($ref): /schemas/input/input.yaml
Properties and child nodes (properties) #
compatible — required here
Exact value (const): "fsl,sec-v4.0-pwrkey"
clocks — not listed as required here
Maximum number of items (maxItems): 1
clock-names — not listed as required here
Exact value (const): "snvs-pwrkey"
interrupts — required here
Maximum number of items (maxItems): 1
regmap — required here
Parent node containing registers
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
wakeup-source — not listed as required here
true — No constraints added by this property rule.
linux,keycode — not listed as required here
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Default value (default): 116
Deprecated (deprecated): true
linux,keycodes — not listed as required here
Maximum number of items (maxItems): 1
Default value (default): 116
power-off-time-sec — not listed as required here
Allowed values (enum): 0, 5, 10, 15
Required in this object (required): "compatible", "interrupts", "regmap"
snvs-lpgpr — not listed as required here #
Shared schema rule ($ref): /schemas/nvmem/snvs-lpgpr.yaml#
snvs-poweroff — not listed as required here #
The SNVS could drive signal to PMIC to turn off system power by setting SNVS_LP LPCR register.
Shared schema rule ($ref): /schemas/power/reset/syscon-poweroff.yaml#
Required in this object (required): "compatible", "reg"
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/clock/imx7d-clock.h>
sec_mon: sec-mon@314000 {
compatible = "fsl,sec-v4.0-mon", "syscon", "simple-mfd";
reg = <0x314000 0x1000>;
snvs-rtc-lp {
compatible = "fsl,sec-v4.0-mon-rtc-lp";
regmap = <&sec_mon>;
offset = <0x34>;
clocks = <&clks IMX7D_SNVS_CLK>;
clock-names = "snvs-rtc";
interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
};
snvs-powerkey {
compatible = "fsl,sec-v4.0-pwrkey";
regmap = <&sec_mon>;
clocks = <&clks IMX7D_SNVS_CLK>;
clock-names = "snvs-pwrkey";
interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
linux,keycode = <116>; /* KEY_POWER */
wakeup-source;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0
Line 2: Copyright (C) 2008-2011 Freescale Semiconductor Inc.
Line 60: VFxxx has only one. What is the 2nd one?
Freescale SEC 4
Peios Kernel / Hardware and drivers / Device-tree binding reference / Crypto bindings
Schema identifier ($id): "http://devicetree.org/schemas/crypto/fsl,sec-v4.0.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "\"Horia Geantă\" <horia.geanta@nxp.com>", "Pankaj Gupta <pankaj.gupta@nxp.com>", "Gaurav Jain <gaurav.jain@nxp.com>"
NOTE: the SEC 4 is also known as Freescale's Cryptographic Accelerator Accelerator and Assurance Module (CAAM).
SEC 4 h/w can process requests from 2 types of sources. 1. DPAA Queue Interface (HW interface between Queue Manager & SEC 4). 2. Job Rings (HW interface between cores & SEC 4 registers).
High Speed Data Path Configuration:
HW interface between QM & SEC 4 and also BM & SEC 4, on DPAA-enabled parts such as the P4080. The number of simultaneous dequeues the QI can make is equal to the number of Descriptor Controller (DECO) engines in a particular SEC version. E.g., the SEC 4.0 in the P4080 has 5 DECOs and can thus dequeue from 5 subportals simultaneously.
Job Ring Data Path Configuration:
Each JR is located on a separate 4k page, they may (or may not) be made visible in the memory partition devoted to a particular core. The P4080 has 4 JRs, so up to 4 JRs can be configured; and all 4 JRs process requests in parallel.
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Array item rules (
items)Item 1
Item 2
Exact value (
const):"fsl,sec-v5.0"Item 3
Exact value (
const):"fsl,sec-v4.0"
Rule 2
Array item rules (
items)Item 1
Allowed values (
enum):"fsl,imx6ul-caam","fsl,imx8qm-caam","fsl,imx8qxp-caam","fsl,sec-v5.0"Item 2
Exact value (
const):"fsl,sec-v4.0"
Rule 3
Exact value (
const):"fsl,sec-v4.0"
reg — required here #
Maximum number of items (maxItems): 1
ranges — required here #
Maximum number of items (maxItems): 1
#address-cells — not listed as required here #
#size-cells — not listed as required here #
clocks — not listed as required here #
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
Maximum number of items (maxItems): 4
Array item rules (items) #
dma-coherent — not listed as required here #
true — No constraints added by this property rule.
interrupts — not listed as required here #
Maximum number of items (maxItems): 1
power-domains — not listed as required here #
Maximum number of items (maxItems): 1
fsl,sec-era — not listed as required here #
Defines the 'ERA' of the SEC device.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Properties matching a name pattern (patternProperties) #
^jr@[0-9a-f]+$ — name matches this regular expression #
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Job Ring (JR) Node. Defines data processing interface to SEC 4 across the peripheral bus for purposes of processing cryptographic descriptors. The specified address range can be made visible to one (or more) cores. The interrupt defined for this node is controlled within the address range of this node.
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):"fsl,sec-v6.0-job-ring"Item 2
Exact value (
const):"fsl,sec-v5.2-job-ring"Item 3
Exact value (
const):"fsl,sec-v5.0-job-ring"Item 4
Exact value (
const):"fsl,sec-v4.4-job-ring"Item 5
Exact value (
const):"fsl,sec-v4.0-job-ring"
Rule 2
Array item rules (
items)Item 1
Exact value (
const):"fsl,sec-v5.4-job-ring"Item 2
Exact value (
const):"fsl,sec-v5.0-job-ring"Item 3
Exact value (
const):"fsl,sec-v4.0-job-ring"
Rule 3
Array item rules (
items)Item 1
Allowed values (
enum):"fsl,imx8qm-job-ring","fsl,imx8qxp-job-ring","fsl,sec-v5.0-job-ring"Item 2
Exact value (
const):"fsl,sec-v4.0-job-ring"
Rule 4
Exact value (
const):"fsl,sec-v4.0-job-ring"
reg — not listed as required here
Maximum number of items (maxItems): 1
interrupts — not listed as required here
Maximum number of items (maxItems): 1
power-domains — not listed as required here
Maximum number of items (maxItems): 1
fsl,liodn — not listed as required here
Specifies the LIODN to be used in conjunction with the ppid-to-liodn table that specifies the PPID to LIODN mapping. Needed if the PAMU is used. Value is a 12 bit value where value is a LIODN ID for this JR. This property is normally set by boot firmware.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-array
Array item rules (items)
Item 1
Maximum value (
maximum):4095
All of these rules must match (allOf) #
Rule 1
Condition (
if)Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"fsl,imx8qm-job-ring","fsl,imx8qxp-job-ring"When the condition matches (
then)When the condition does not match (
else)Properties and child nodes (
properties)
power-domains— not listed as required here
false— Not permitted by this property rule.
^rtic@[0-9a-f]+$ — name matches this regular expression #
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Run Time Integrity Check (RTIC) Node. Defines a register space that contains up to 5 sets of addresses and their lengths (sizes) that will be checked at run time. After an initial hash result is calculated, these addresses are checked by HW to monitor any change. If any memory is modified, a Security Violation is triggered (see SNVS definition).
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):"fsl,sec-v5.4-rtic"Item 2
Exact value (
const):"fsl,sec-v5.0-rtic"Item 3
Exact value (
const):"fsl,sec-v4.0-rtic"
Rule 2
Exact value (
const):"fsl,sec-v4.0-rtic"
reg — not listed as required here
Array item rules (items)
Item 1
RTIC control and status register space.
Item 2
RTIC recoverable error indication register space.
Minimum number of items (minItems): 1
ranges — not listed as required here
Maximum number of items (maxItems): 1
interrupts — not listed as required here
Maximum number of items (maxItems): 1
#address-cells — not listed as required here
Exact value (const): 1
#size-cells — not listed as required here
Exact value (const): 1
Properties matching a name pattern (patternProperties) #
^rtic-[a-z]@[0-9a-f]+$ — name matches this regular expression
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties)
false
Not allowed by this rule.
Run Time Integrity Check (RTIC) Memory Node defines individual RTIC memory regions that are used to perform run-time integrity check of memory areas that should not modified. The node defines a register that contains the memory address & length (combined) and a second register that contains the hash result in big endian format.
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):"fsl,sec-v5.4-rtic-memory"Item 2
Exact value (
const):"fsl,sec-v5.0-rtic-memory"Item 3
Exact value (
const):"fsl,sec-v4.0-rtic-memory"
Rule 2
Exact value (
const):"fsl,sec-v4.0-rtic-memory"
reg — not listed as required here
Array item rules (items)
Item 1
RTIC memory address
Item 2
RTIC hash result
fsl,liodn — not listed as required here
Specifies the LIODN to be used in conjunction with the ppid-to-liodn table that specifies the PPID to LIODN mapping. Needed if the PAMU is used. Value is a 12 bit value where value is a LIODN ID for this JR. This property is normally set by boot firmware.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-array
Array item rules (items)
Item 1
Maximum value (
maximum):4095
fsl,rtic-region — not listed as required here
Specifies the HW address (36 bit address) for this region followed by the length of the HW partition to be checked; the address is represented as a 64 bit quantity followed by a 32 bit length.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-array
Required in this object (required): "compatible", "reg", "ranges"
Condition (if) #
Properties and child nodes (
properties) #
compatible— not listed as required here #Rule for matching array elements (
contains)Allowed values (
enum):"fsl,imx8qm-caam","fsl,imx8qxp-caam"
When the condition matches (then) #
When the condition does not match (else) #
Properties and child nodes (
properties) #
power-domains— not listed as required here #
false— Not permitted by this property rule.
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
crypto@300000 {
compatible = "fsl,sec-v4.0";
#address-cells = <1>;
#size-cells = <1>;
reg = <0x300000 0x10000>;
ranges = <0 0x300000 0x10000>;
interrupts = <92 2>;
jr@1000 {
compatible = "fsl,sec-v4.0-job-ring";
reg = <0x1000 0x1000>;
interrupts = <88 2>;
};
jr@2000 {
compatible = "fsl,sec-v4.0-job-ring";
reg = <0x2000 0x1000>;
interrupts = <89 2>;
};
jr@3000 {
compatible = "fsl,sec-v4.0-job-ring";
reg = <0x3000 0x1000>;
interrupts = <90 2>;
};
jr@4000 {
compatible = "fsl,sec-v4.0-job-ring";
reg = <0x4000 0x1000>;
interrupts = <91 2>;
};
rtic@6000 {
compatible = "fsl,sec-v4.0-rtic";
#address-cells = <1>;
#size-cells = <1>;
reg = <0x6000 0x100>;
ranges = <0x0 0x6100 0xe00>;
rtic-a@0 {
compatible = "fsl,sec-v4.0-rtic-memory";
reg = <0x00 0x20>, <0x100 0x80>;
};
rtic-b@20 {
compatible = "fsl,sec-v4.0-rtic-memory";
reg = <0x20 0x20>, <0x200 0x80>;
};
rtic-c@40 {
compatible = "fsl,sec-v4.0-rtic-memory";
reg = <0x40 0x20>, <0x300 0x80>;
};
rtic-d@60 {
compatible = "fsl,sec-v4.0-rtic-memory";
reg = <0x60 0x20>, <0x500 0x80>;
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0
Line 2: Copyright (C) 2008-2011 Freescale Semiconductor Inc.
Freescale SoC SEC Security Engines versions 1.x-2.x-3.x
Peios Kernel / Hardware and drivers / Device-tree binding reference / Crypto bindings
Schema identifier ($id): "http://devicetree.org/schemas/crypto/fsl,sec2.0.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "J. Neuschäfer <j.ne@posteo.net>"
Properties and child nodes (properties) #
compatible — required here #
Should contain entries for this and backward compatible SEC versions, high to low. Warning - SEC1 and SEC2 are mutually exclusive.
Exactly one of these rules must match (oneOf) #
Rule 1
Array item rules (
items)Item 1
Exact value (
const):"fsl,sec3.3"Item 2
Exact value (
const):"fsl,sec3.1"Item 3
Exact value (
const):"fsl,sec3.0"Item 4
Exact value (
const):"fsl,sec2.4"Item 5
Exact value (
const):"fsl,sec2.2"Item 6
Exact value (
const):"fsl,sec2.1"Item 7
Exact value (
const):"fsl,sec2.0"
Rule 2
Array item rules (
items)Item 1
Exact value (
const):"fsl,sec3.1"Item 2
Exact value (
const):"fsl,sec3.0"Item 3
Exact value (
const):"fsl,sec2.4"Item 4
Exact value (
const):"fsl,sec2.2"Item 5
Exact value (
const):"fsl,sec2.1"Item 6
Exact value (
const):"fsl,sec2.0"
Rule 3
Array item rules (
items)Item 1
Exact value (
const):"fsl,sec3.0"Item 2
Exact value (
const):"fsl,sec2.4"Item 3
Exact value (
const):"fsl,sec2.2"Item 4
Exact value (
const):"fsl,sec2.1"Item 5
Exact value (
const):"fsl,sec2.0"
Rule 4
Array item rules (
items)Item 1
Exact value (
const):"fsl,sec2.4"Item 2
Exact value (
const):"fsl,sec2.2"Item 3
Exact value (
const):"fsl,sec2.1"Item 4
Exact value (
const):"fsl,sec2.0"
Rule 5
Array item rules (
items)Item 1
Exact value (
const):"fsl,sec2.2"Item 2
Exact value (
const):"fsl,sec2.1"Item 3
Exact value (
const):"fsl,sec2.0"
Rule 6
Array item rules (
items)Item 1
Exact value (
const):"fsl,sec2.1"Item 2
Exact value (
const):"fsl,sec2.0"
Rule 7
Array item rules (
items)Item 1
Exact value (
const):"fsl,sec2.0"
Rule 8
Array item rules (
items)Item 1
Exact value (
const):"fsl,sec1.2"Item 2
Exact value (
const):"fsl,sec1.0"
Rule 9
Array item rules (
items)Item 1
Exact value (
const):"fsl,sec1.0"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — not listed as required here #
Maximum number of items (maxItems): 1
fsl,num-channels — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
An integer representing the number of channels available.
fsl,channel-fifo-len — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Maximum value (maximum): 100
An integer representing the number of descriptor pointers each channel fetch fifo can hold.
fsl,exec-units-mask — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Maximum value (maximum): 4095
The bitmask representing what execution units (EUs) are available. EU information should be encoded following the SEC's Descriptor Header Dword EU_SEL0 field documentation, i.e. as follows:
bit 0 = reserved - should be 0
bit 1 = set if SEC has the ARC4 EU (AFEU)
bit 2 = set if SEC has the DES/3DES EU (DEU)
bit 3 = set if SEC has the message digest EU (MDEU/MDEU-A)
bit 4 = set if SEC has the random number generator EU (RNG)
bit 5 = set if SEC has the public key EU (PKEU)
bit 6 = set if SEC has the AES EU (AESU)
bit 7 = set if SEC has the Kasumi EU (KEU)
bit 8 = set if SEC has the CRC EU (CRCU)
bit 11 = set if SEC has the message digest EU extended alg set (MDEU-B)
remaining bits are reserved for future SEC EUs.
fsl,descriptor-types-mask — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
The bitmask representing what descriptors are available. Descriptor type information should be encoded following the SEC's Descriptor Header Dword DESC_TYPE field documentation, i.e. as follows:
bit 0 = SEC supports descriptor type aesu_ctr_nonsnoop
bit 1 = SEC supports descriptor type ipsec_esp
bit 2 = SEC supports descriptor type common_nonsnoop
bit 3 = SEC supports descriptor type 802.11i AES ccmp
bit 4 = SEC supports descriptor type hmac_snoop_no_afeu
bit 5 = SEC supports descriptor type srtp
bit 6 = SEC supports descriptor type non_hmac_snoop_no_afeu
bit 7 = SEC supports descriptor type pkeu_assemble
bit 8 = SEC supports descriptor type aesu_key_expand_output
bit 9 = SEC supports descriptor type pkeu_ptmul
bit 10 = SEC supports descriptor type common_nonsnoop_afeu
bit 11 = SEC supports descriptor type pkeu_ptadd_dbl
..and so on and so forth.
Required in this object (required): "compatible", "reg", "fsl,num-channels", "fsl,channel-fifo-len", "fsl,exec-units-mask", "fsl,descriptor-types-mask"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
/* MPC8548E */
crypto@30000 {
compatible = "fsl,sec2.1", "fsl,sec2.0";
reg = <0x30000 0x10000>;
interrupts = <29 2>;
interrupt-parent = <&mpic>;
fsl,num-channels = <4>;
fsl,channel-fifo-len = <24>;
fsl,exec-units-mask = <0xfe>;
fsl,descriptor-types-mask = <0x12b0ebf>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Freescale DCP (Data Co-Processor) found on i.MX23/i.MX28
Peios Kernel / Hardware and drivers / Device-tree binding reference / Crypto bindings
Schema identifier ($id): "http://devicetree.org/schemas/crypto/fsl-dcp.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Marek Vasut <marex@denx.de>"
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Rule 2
Array item rules (
items)Item 1
Item 2
Exact value (
const):"fsl,imx28-dcp"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Should contain MXS DCP interrupt numbers, VMI IRQ and DCP IRQ must be supplied, optionally Secure IRQ can be present, but is currently not implemented and not used.
Array item rules (items) #
Item 1
MXS DCP VMI interrupt
Item 2
MXS DCP DCP interrupt
Item 3
MXS DCP secure interrupt
Minimum number of items (minItems): 2
clocks — not listed as required here #
Maximum number of items (maxItems): 1
clock-names — not listed as required here #
Exact value (const): "dcp"
Required in this object (required): "compatible", "reg", "interrupts"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
crypto@80028000 {
compatible = "fsl,imx23-dcp";
reg = <0x80028000 0x2000>;
interrupts = <53>, <54>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Freescale SAHARA Cryptographic Accelerator
Peios Kernel / Hardware and drivers / Device-tree binding reference / Crypto bindings
Schema identifier ($id): "http://devicetree.org/schemas/crypto/fsl-imx-sahara.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Steffen Trumtrar <s.trumtrar@pengutronix.de>"
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "fsl,imx27-sahara", "fsl,imx53-sahara"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Array item rules (items) #
Item 1
SAHARA Interrupt for Host 0
Item 2
SAHARA Interrupt for Host 1
Minimum number of items (minItems): 1
clocks — required here #
Array item rules (items) #
Item 1
Sahara IPG clock
Item 2
Sahara AHB clock
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"ipg"
Item 2
Exact value (
const):"ahb"
Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names"
All of these rules must match (allOf) #
Rule 1 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)When the condition matches (
then) #Properties and child nodes (
properties)
interrupts— not listed as required hereMinimum number of items (
minItems):2Maximum number of items (
maxItems):2When the condition does not match (
else) #Properties and child nodes (
properties)
interrupts— not listed as required hereMaximum number of items (
maxItems):1
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/imx27-clock.h>
crypto@10025000 {
compatible = "fsl,imx27-sahara";
reg = <0x10025000 0x800>;
interrupts = <75>;
clocks = <&clks IMX27_CLK_SAHARA_IPG_GATE>,
<&clks IMX27_CLK_SAHARA_AHB_GATE>;
clock-names = "ipg", "ahb";
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Freescale Security Controller (SCC)
Peios Kernel / Hardware and drivers / Device-tree binding reference / Crypto bindings
Schema identifier ($id): "http://devicetree.org/schemas/crypto/fsl-imx-scc.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Steffen Trumtrar <s.trumtrar@pengutronix.de>"
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "fsl,imx25-scc"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Array item rules (items) #
Item 1
SCC SCM interrupt
Item 2
SCC SMN interrupt
interrupt-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"scm"
Item 2
Exact value (
const):"smn"
clocks — required here #
Maximum number of items (maxItems): 1
clock-names — required here #
Exact value (const): "ipg"
Required in this object (required): "compatible", "reg", "interrupts", "interrupt-names", "clocks", "clock-names"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
crypto@53fac000 {
compatible = "fsl,imx25-scc";
reg = <0x53fac000 0x4000>;
clocks = <&clks 111>;
clock-names = "ipg";
interrupts = <49>, <50>;
interrupt-names = "scm", "smn";
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Hisilicon hip06/hip07 Security Accelerator
Peios Kernel / Hardware and drivers / Device-tree binding reference / Crypto bindings
Schema identifier ($id): "http://devicetree.org/schemas/crypto/hisilicon,hip06-sec.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Jonathan Cameron <Jonathan.Cameron@huawei.com>"
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "hisilicon,hip06-sec", "hisilicon,hip07-sec"
reg — required here #
Array item rules (items) #
Item 1
Registers for backend processing engines
Item 2
Registers for common functionality
Item 3
Registers for queue 0
Item 4
Registers for queue 1
Item 5
Registers for queue 2
Item 6
Registers for queue 3
Item 7
Registers for queue 4
Item 8
Registers for queue 5
Item 9
Registers for queue 6
Item 10
Registers for queue 7
Item 11
Registers for queue 8
Item 12
Registers for queue 9
Item 13
Registers for queue 10
Item 14
Registers for queue 11
Item 15
Registers for queue 12
Item 16
Registers for queue 13
Item 17
Registers for queue 14
Item 18
Registers for queue 15
interrupts — required here #
Array item rules (items) #
Item 1
SEC unit error queue interrupt
Item 2
Completion interrupt for queue 0
Item 3
Error interrupt for queue 0
Item 4
Completion interrupt for queue 1
Item 5
Error interrupt for queue 1
Item 6
Completion interrupt for queue 2
Item 7
Error interrupt for queue 2
Item 8
Completion interrupt for queue 3
Item 9
Error interrupt for queue 3
Item 10
Completion interrupt for queue 4
Item 11
Error interrupt for queue 4
Item 12
Completion interrupt for queue 5
Item 13
Error interrupt for queue 5
Item 14
Completion interrupt for queue 6
Item 15
Error interrupt for queue 6
Item 16
Completion interrupt for queue 7
Item 17
Error interrupt for queue 7
Item 18
Completion interrupt for queue 8
Item 19
Error interrupt for queue 8
Item 20
Completion interrupt for queue 9
Item 21
Error interrupt for queue 9
Item 22
Completion interrupt for queue 10
Item 23
Error interrupt for queue 10
Item 24
Completion interrupt for queue 11
Item 25
Error interrupt for queue 11
Item 26
Completion interrupt for queue 12
Item 27
Error interrupt for queue 12
Item 28
Completion interrupt for queue 13
Item 29
Error interrupt for queue 13
Item 30
Completion interrupt for queue 14
Item 31
Error interrupt for queue 14
Item 32
Completion interrupt for queue 15
Item 33
Error interrupt for queue 15
dma-coherent — required here #
true — No constraints added by this property rule.
iommus — not listed as required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg", "interrupts", "dma-coherent"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
bus {
#address-cells = <2>;
#size-cells = <2>;
crypto@400d2000000 {
compatible = "hisilicon,hip07-sec";
reg = <0x400 0xd0000000 0x0 0x10000
0x400 0xd2000000 0x0 0x10000
0x400 0xd2010000 0x0 0x10000
0x400 0xd2020000 0x0 0x10000
0x400 0xd2030000 0x0 0x10000
0x400 0xd2040000 0x0 0x10000
0x400 0xd2050000 0x0 0x10000
0x400 0xd2060000 0x0 0x10000
0x400 0xd2070000 0x0 0x10000
0x400 0xd2080000 0x0 0x10000
0x400 0xd2090000 0x0 0x10000
0x400 0xd20a0000 0x0 0x10000
0x400 0xd20b0000 0x0 0x10000
0x400 0xd20c0000 0x0 0x10000
0x400 0xd20d0000 0x0 0x10000
0x400 0xd20e0000 0x0 0x10000
0x400 0xd20f0000 0x0 0x10000
0x400 0xd2100000 0x0 0x10000>;
interrupts = <576 4>,
<577 1>, <578 4>,
<579 1>, <580 4>,
<581 1>, <582 4>,
<583 1>, <584 4>,
<585 1>, <586 4>,
<587 1>, <588 4>,
<589 1>, <590 4>,
<591 1>, <592 4>,
<593 1>, <594 4>,
<595 1>, <596 4>,
<597 1>, <598 4>,
<599 1>, <600 4>,
<601 1>, <602 4>,
<603 1>, <604 4>,
<605 1>, <606 4>,
<607 1>, <608 4>;
dma-coherent;
iommus = <&p1_smmu_alg_a 0x600>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Imagination Technologies hardware hash accelerator
Peios Kernel / Hardware and drivers / Device-tree binding reference / Crypto bindings
Schema identifier ($id): "http://devicetree.org/schemas/img,hash-accelerator.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "James Hartley <james.hartley@imgtec.com>"
The hash accelerator provides hardware hashing acceleration for SHA1, SHA224, SHA256 and MD5 hashes.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "img,hash-accelerator"
reg — required here #
Array item rules (items) #
Item 1
Register base address and size
Item 2
DMA port specifier
interrupts — required here #
Maximum number of items (maxItems): 1
dmas — required here #
Maximum number of items (maxItems): 1
dma-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"tx"
clocks — required here #
Array item rules (items) #
Item 1
System clock for hash block registers
Item 2
Hash clock for data path
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"sys"
Item 2
Exact value (
const):"hash"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Required in this object (required): "compatible", "reg", "interrupts", "dmas", "dma-names", "clocks", "clock-names"
Examples (examples) #
#include <dt-bindings/interrupt-controller/mips-gic.h>
#include <dt-bindings/clock/pistachio-clk.h>
hash@18149600 {
compatible = "img,hash-accelerator";
reg = <0x18149600 0x100>, <0x18101100 0x4>;
interrupts = <GIC_SHARED 59 IRQ_TYPE_LEVEL_HIGH>;
dmas = <&dma 8 0xffffffff 0>;
dma-names = "tx";
clocks = <&cr_periph SYS_CLK_HASH>, <&clk_periph PERIPH_CLK_ROM>;
clock-names = "sys", "hash";
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Inside Secure SafeXcel EIP-93 cryptographic engine
Peios Kernel / Hardware and drivers / Device-tree binding reference / Crypto bindings
Schema identifier ($id): "http://devicetree.org/schemas/crypto/inside-secure,safexcel-eip93.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Christian Marangi <ansuelsmth@gmail.com>"
The Inside Secure SafeXcel EIP-93 is a cryptographic engine IP block integrated in varios devices with very different and generic name from PKTE to simply vendor+EIP93. The real IP under the hood is actually developed by Inside Secure and given to license to vendors.
The IP block is sold with different model based on what feature are needed and are identified with the final letter. Each letter correspond to a specific set of feature and multiple letter reflect the sum of the feature set.
EIP-93 models:
- EIP-93i: (basic) DES/Triple DES, AES, PRNG, IPsec ESP, SRTP, SHA1
- EIP-93ie: i + SHA224/256, AES-192/256
- EIP-93is: i + SSL/DTLS/DTLS, MD5, ARC4
- EIP-93ies: i + e + s
- EIP-93iw: i + AES-XCB-MAC, AES-CCM
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Array item rules (
items)Item 1
Exact value (
const):"airoha,en7581-eip93"Item 2
Exact value (
const):"inside-secure,safexcel-eip93ies"
Rule 2
Array item rules (
items)Item 1
This rule must not match (
not)This rule adds no constraints.
Need a SoC specific compatible
Item 2
Allowed values (
enum):"inside-secure,safexcel-eip93i","inside-secure,safexcel-eip93ie","inside-secure,safexcel-eip93is","inside-secure,safexcel-eip93iw"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg", "interrupts"
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>
crypto@1e004000 {
compatible = "airoha,en7581-eip93", "inside-secure,safexcel-eip93ies";
reg = <0x1fb70000 0x1000>;
interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Inside Secure SafeXcel cryptographic engine
Peios Kernel / Hardware and drivers / Device-tree binding reference / Crypto bindings
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 hereMinimum number of items (
minItems):2When the condition matches (
then) #Properties and child nodes (
properties)
clock-names— required hereMinimum number of items (
minItems):2
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereThis 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 hereMinimum number of items (
minItems):6
interrupt-names— not listed as required hereMinimum 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
Intel IXP4xx cryptographic engine
Peios Kernel / Hardware and drivers / Device-tree binding reference / Crypto bindings
Schema identifier ($id): "http://devicetree.org/schemas/crypto/intel,ixp4xx-crypto.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Linus Walleij <linusw@kernel.org>"
The Intel IXP4xx cryptographic engine makes use of the IXP4xx NPE (Network Processing Engine). Since it is not a device on its own it is defined as a subnode of the NPE, if crypto support is available on the platform.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "intel,ixp4xx-crypto"
intel,npe-handle — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle-array
Array item rules (items) #
Item 1
Array item rules (
items)Item 1
phandle to the NPE this crypto engine
Item 2
the NPE instance number
phandle to the NPE this crypto engine is using, the cell describing the NPE instance to be used.
queue-rx — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle-array
Array item rules (items) #
Item 1
Array item rules (
items)Item 1
phandle to the RX queue on the NPE
Item 2
the queue instance number
phandle to the RX queue on the NPE, the cell describing the queue instance to be used.
queue-txready — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle-array
Array item rules (items) #
Item 1
Array item rules (
items)Item 1
phandle to the TX READY queue on the NPE
Item 2
the queue instance number
phandle to the TX READY queue on the NPE, the cell describing the queue instance to be used.
Required in this object (required): "compatible", "intel,npe-handle", "queue-rx", "queue-txready"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Line 2: Copyright 2018 Linaro Ltd.
Intel Keem Bay OCS AES
Peios Kernel / Hardware and drivers / Device-tree binding reference / Crypto bindings
Schema identifier ($id): "http://devicetree.org/schemas/crypto/intel,keembay-ocs-aes.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Daniele Alessandrelli <daniele.alessandrelli@intel.com>"
The Intel Keem Bay Offload and Crypto Subsystem (OCS) AES engine provides hardware-accelerated AES/SM4 encryption/decryption.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "intel,keembay-ocs-aes"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg", "interrupts", "clocks"
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>
crypto@30008000 {
compatible = "intel,keembay-ocs-aes";
reg = <0x30008000 0x1000>;
interrupts = <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&scmi_clk 95>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Intel Keem Bay OCS ECC
Peios Kernel / Hardware and drivers / Device-tree binding reference / Crypto bindings
Schema identifier ($id): "http://devicetree.org/schemas/crypto/intel,keembay-ocs-ecc.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Daniele Alessandrelli <daniele.alessandrelli@intel.com>", "Prabhjot Khurana <prabhjot.khurana@intel.com>"
The Intel Keem Bay Offload and Crypto Subsystem (OCS) Elliptic Curve Cryptography (ECC) device provides hardware acceleration for elliptic curve cryptography using the NIST P-256 and NIST P-384 elliptic curves.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "intel,keembay-ocs-ecc"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg", "interrupts", "clocks"
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>
crypto@30001000 {
compatible = "intel,keembay-ocs-ecc";
reg = <0x30001000 0x1000>;
interrupts = <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&scmi_clk 95>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Intel Keem Bay OCS HCU
Peios Kernel / Hardware and drivers / Device-tree binding reference / Crypto bindings
Schema identifier ($id): "http://devicetree.org/schemas/crypto/intel,keembay-ocs-hcu.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Declan Murphy <declan.murphy@intel.com>", "Daniele Alessandrelli <daniele.alessandrelli@intel.com>"
The Intel Keem Bay Offload and Crypto Subsystem (OCS) Hash Control Unit (HCU) provides hardware-accelerated hashing and HMAC.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "intel,keembay-ocs-hcu"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg", "interrupts", "clocks"
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>
crypto@3000b000 {
compatible = "intel,keembay-ocs-hcu";
reg = <0x3000b000 0x1000>;
interrupts = <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&scmi_clk 94>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Marvell Cryptographic Engines And Security Accelerator
Peios Kernel / Hardware and drivers / Device-tree binding reference / Crypto bindings
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)
NVIDIA Tegra Security Engine for AES algorithms
Peios Kernel / Hardware and drivers / Device-tree binding reference / Crypto bindings
Schema identifier ($id): "http://devicetree.org/schemas/crypto/nvidia,tegra234-se-aes.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
The Tegra Security Engine accelerates the following AES encryption/decryption algorithms - AES-ECB, AES-CBC, AES-OFB, AES-XTS, AES-CTR, AES-GCM, AES-CCM, AES-CMAC
Maintainers (maintainers): "Akhil R <akhilrajeev@nvidia.com>"
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "nvidia,tegra234-se-aes"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
iommus — required here #
Maximum number of items (maxItems): 1
dma-coherent — not listed as required here #
true — No constraints added by this property rule.
Required in this object (required): "compatible", "reg", "clocks", "iommus"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/memory/tegra234-mc.h>
#include <dt-bindings/clock/tegra234-clock.h>
crypto@15820000 {
compatible = "nvidia,tegra234-se-aes";
reg = <0x15820000 0x10000>;
clocks = <&bpmp TEGRA234_CLK_SE>;
iommus = <&smmu TEGRA234_SID_SES_SE1>;
dma-coherent;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
NVIDIA Tegra Security Engine for HASH algorithms
Peios Kernel / Hardware and drivers / Device-tree binding reference / Crypto bindings
Schema identifier ($id): "http://devicetree.org/schemas/crypto/nvidia,tegra234-se-hash.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
The Tegra Security HASH Engine accelerates the following HASH functions - SHA1, SHA224, SHA256, SHA384, SHA512, SHA3-224, SHA3-256, SHA3-384, SHA3-512 HMAC(SHA224), HMAC(SHA256), HMAC(SHA384), HMAC(SHA512)
Maintainers (maintainers): "Akhil R <akhilrajeev@nvidia.com>"
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "nvidia,tegra234-se-hash"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
iommus — required here #
Maximum number of items (maxItems): 1
dma-coherent — not listed as required here #
true — No constraints added by this property rule.
Required in this object (required): "compatible", "reg", "clocks", "iommus"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/memory/tegra234-mc.h>
#include <dt-bindings/clock/tegra234-clock.h>
crypto@15840000 {
compatible = "nvidia,tegra234-se-hash";
reg = <0x15840000 0x10000>;
clocks = <&bpmp TEGRA234_CLK_SE>;
iommus = <&smmu TEGRA234_SID_SES_SE2>;
dma-coherent;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Qualcomm Technologies, Inc. (QTI) Inline Crypto Engine
Peios Kernel / Hardware and drivers / Device-tree binding reference / Crypto bindings
Schema identifier ($id): "http://devicetree.org/schemas/crypto/qcom,inline-crypto-engine.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Bjorn Andersson <andersson@kernel.org>"
Properties and child nodes (properties) #
compatible — required here #
Array item rules (items) #
Item 1
Allowed values (
enum):"qcom,kaanapali-inline-crypto-engine","qcom,milos-inline-crypto-engine","qcom,qcs8300-inline-crypto-engine","qcom,sa8775p-inline-crypto-engine","qcom,sc7180-inline-crypto-engine","qcom,sc7280-inline-crypto-engine","qcom,sm8450-inline-crypto-engine","qcom,sm8550-inline-crypto-engine","qcom,sm8650-inline-crypto-engine","qcom,sm8750-inline-crypto-engine"
Item 2
Exact value (
const):"qcom,inline-crypto-engine"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg", "clocks"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/qcom,sm8550-gcc.h>
crypto@1d88000 {
compatible = "qcom,sm8550-inline-crypto-engine",
"qcom,inline-crypto-engine";
reg = <0x01d88000 0x8000>;
clocks = <&gcc GCC_UFS_PHY_ICE_CORE_CLK>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Qualcomm Pseudo Random Number Generator
Peios Kernel / Hardware and drivers / Device-tree binding reference / Crypto bindings
Schema identifier ($id): "http://devicetree.org/schemas/crypto/qcom,prng.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Vinod Koul <vkoul@kernel.org>"
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Rule 2
Array item rules (
items)Item 1
Allowed values (
enum):"qcom,ipq5332-trng","qcom,ipq5424-trng","qcom,ipq9574-trng","qcom,kaanapali-trng","qcom,milos-trng","qcom,qcs615-trng","qcom,qcs8300-trng","qcom,sa8255p-trng","qcom,sa8775p-trng","qcom,sc7280-trng","qcom,sm8450-trng","qcom,sm8550-trng","qcom,sm8650-trng","qcom,sm8750-trng","qcom,x1e80100-trng"Item 2
Exact value (
const):"qcom,trng"
reg — required here #
Maximum number of items (maxItems): 1
clocks — not listed as required here #
Maximum number of items (maxItems): 1
clock-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"core"
Required in this object (required): "compatible", "reg"
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 hereRule for matching array elements (
contains)Exact value (
const):"qcom,trng"When the condition matches (
then) #
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
rng@f9bff000 {
compatible = "qcom,prng";
reg = <0xf9bff000 0x200>;
clocks = <&clk 125>;
clock-names = "core";
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only
Line 16: 8916 etc.
Line 17: 8996 and later using EE
Qualcomm crypto engine driver
Peios Kernel / Hardware and drivers / Device-tree binding reference / Crypto bindings
Schema identifier ($id): "http://devicetree.org/schemas/crypto/qcom-qce.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Bjorn Andersson <andersson@kernel.org>", "Konrad Dybcio <konradybcio@kernel.org>"
This document defines the binding for the QCE crypto controller found on Qualcomm parts.
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Exact value (
const):"qcom,crypto-v5.1"Deprecated (
deprecated):trueKept only for ABI backward compatibility
Rule 2
Exact value (
const):"qcom,crypto-v5.4"Deprecated (
deprecated):trueKept only for ABI backward compatibility
Rule 3
Array item rules (
items)Item 1
Allowed values (
enum):"qcom,ipq4019-qce","qcom,sm8150-qce"Item 2
Exact value (
const):"qcom,qce"
Rule 4
Array item rules (
items)Item 1
Allowed values (
enum):"qcom,ipq6018-qce","qcom,ipq8074-qce","qcom,ipq9574-qce","qcom,msm8996-qce","qcom,qcm2290-qce","qcom,sdm845-qce","qcom,sm6115-qce"Item 2
Exact value (
const):"qcom,ipq4019-qce"Item 3
Exact value (
const):"qcom,qce"
Rule 5
Array item rules (
items)Item 1
Allowed values (
enum):"qcom,kaanapali-qce","qcom,qcs615-qce","qcom,qcs8300-qce","qcom,sa8775p-qce","qcom,sc7280-qce","qcom,sm6350-qce","qcom,sm8250-qce","qcom,sm8350-qce","qcom,sm8450-qce","qcom,sm8550-qce","qcom,sm8650-qce","qcom,sm8750-qce","qcom,x1e80100-qce"Item 2
Exact value (
const):"qcom,sm8150-qce"Item 3
Exact value (
const):"qcom,qce"
reg — required here #
Maximum number of items (maxItems): 1
clocks — not listed as required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 3
clock-names — not listed as required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 3
iommus — not listed as required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 8
phandle to apps_smmu node with sid mask.
interconnects — not listed as required here #
Maximum number of items (maxItems): 1
Interconnect path between qce crypto and main memory.
interconnect-names — not listed as required here #
Exact value (const): "memory"
dmas — required here #
Array item rules (items) #
Item 1
DMA specifiers for rx dma channel.
Item 2
DMA specifiers for tx dma channel.
dma-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"rx"
Item 2
Exact value (
const):"tx"
All of these rules must match (allOf) #
Rule 1 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"qcom,crypto-v5.1","qcom,crypto-v5.4","qcom,ipq6018-qce","qcom,ipq8074-qce","qcom,ipq9574-qce","qcom,msm8996-qce","qcom,sdm845-qce"When the condition matches (
then) #Properties and child nodes (
properties)
clocks— required hereMaximum number of items (
maxItems):3
clock-names— required hereArray item rules (
items)Item 1
Exact value (
const):"iface"Item 2
Exact value (
const):"bus"Item 3
Exact value (
const):"core"
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"qcom,qcm2290-qce","qcom,sm6115-qce"When the condition matches (
then) #Properties and child nodes (
properties)
clocks— required hereMaximum number of items (
maxItems):1
clock-names— required hereArray item rules (
items)Item 1
Exact value (
const):"core"
Rule 3 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required here
false— Not permitted by this property rule.
clock-names— not listed as required here
false— Not permitted by this property rule.
Required in this object (required): "compatible", "reg", "dmas", "dma-names"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/qcom,gcc-apq8084.h>
crypto-engine@fd45a000 {
compatible = "qcom,ipq6018-qce", "qcom,ipq4019-qce", "qcom,qce";
reg = <0xfd45a000 0x6000>;
clocks = <&gcc GCC_CE2_AHB_CLK>,
<&gcc GCC_CE2_AXI_CLK>,
<&gcc GCC_CE2_CLK>;
clock-names = "iface", "bus", "core";
dmas = <&cryptobam 2>, <&cryptobam 3>;
dma-names = "rx", "tx";
iommus = <&apps_smmu 0x584 0x0011>,
<&apps_smmu 0x586 0x0011>,
<&apps_smmu 0x594 0x0011>,
<&apps_smmu 0x596 0x0011>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Rockchip Electronics Security Accelerator
Peios Kernel / Hardware and drivers / Device-tree binding reference / Crypto bindings
Schema identifier ($id): "http://devicetree.org/schemas/crypto/rockchip,rk3288-crypto.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Heiko Stuebner <heiko@sntech.de>"
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "rockchip,rk3288-crypto", "rockchip,rk3328-crypto", "rockchip,rk3399-crypto"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Minimum number of items (minItems): 3
Maximum number of items (maxItems): 4
clock-names — required here #
Minimum number of items (minItems): 3
Maximum number of items (maxItems): 4
resets — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 3
reset-names — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 3
All of these rules must match (allOf) #
Rule 1 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"rockchip,rk3288-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 hereArray item rules (
items)Item 1
Exact value (
const):"aclk"Item 2
Exact value (
const):"hclk"Item 3
Exact value (
const):"sclk"Item 4
Exact value (
const):"apb_pclk"
resets— not listed as required hereMaximum number of items (
maxItems):1
reset-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"crypto-rst"
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"rockchip,rk3328-crypto"When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereMaximum number of items (
maxItems):3
clock-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"hclk_master"Item 2
Exact value (
const):"hclk_slave"Item 3
Exact value (
const):"sclk"
resets— not listed as required hereMaximum number of items (
maxItems):1
reset-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"crypto-rst"
Rule 3 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"rockchip,rk3399-crypto"When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereMaximum number of items (
maxItems):3
clock-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"hclk_master"Item 2
Exact value (
const):"hclk_slave"Item 3
Exact value (
const):"sclk"
resets— not listed as required hereMinimum number of items (
minItems):3
reset-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"master"Item 2
Exact value (
const):"slave"Item 3
Exact value (
const):"crypto-rst"
Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names", "resets", "reset-names"
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/clock/rk3288-cru.h>
crypto@ff8a0000 {
compatible = "rockchip,rk3288-crypto";
reg = <0xff8a0000 0x4000>;
interrupts = <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&cru ACLK_CRYPTO>, <&cru HCLK_CRYPTO>,
<&cru SCLK_CRYPTO>, <&cru ACLK_DMAC1>;
clock-names = "aclk", "hclk", "sclk", "apb_pclk";
resets = <&cru SRST_CRYPTO>;
reset-names = "crypto-rst";
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Samsung Exynos SoC SlimSSS (Slim Security SubSystem) module
Peios Kernel / Hardware and drivers / Device-tree binding reference / Crypto bindings
Schema identifier ($id): "http://devicetree.org/schemas/crypto/samsung-slimsss.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Krzysztof Kozlowski <krzk@kernel.org>"
The SlimSSS module in Exynos5433 SoC supports the following: -- Feeder (FeedCtrl) -- Advanced Encryption Standard (AES) with ECB,CBC,CTR,XTS and (CBC/XTS)/CTS -- SHA-1/SHA-256 and (SHA-1/SHA-256)/HMAC
Properties and child nodes (properties) #
compatible — required here #
Array item rules (items) #
Item 1
Exact value (
const):"samsung,exynos5433-slim-sss"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 2
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"pclk"
Item 2
Exact value (
const):"aclk"
interrupts — required here #
One feed control interrupt.
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg", "clock-names", "clocks", "interrupts"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0
Samsung Exynos SoC SSS (Security SubSystem) module
Peios Kernel / Hardware and drivers / Device-tree binding reference / Crypto bindings
Schema identifier ($id): "http://devicetree.org/schemas/crypto/samsung-sss.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Krzysztof Kozlowski <krzk@kernel.org>"
The SSS module in S5PV210 SoC supports the following: -- Feeder (FeedCtrl) -- Advanced Encryption Standard (AES) -- Data Encryption Standard (DES)/3DES -- Public Key Accelerator (PKA) -- SHA-1/SHA-256/MD5/HMAC (SHA-1/SHA-256/MD5)/PRNG -- PRNG: Pseudo Random Number Generator
The SSS module in Exynos4 (Exynos4210) and Exynos5 (Exynos5420 and Exynos5250) SoCs supports the following also: -- ARCFOUR (ARC4) -- True Random Number Generator (TRNG) -- Secure Key Manager
Properties and child nodes (properties) #
compatible — required here #
Array item rules (items) #
Item 1
Allowed values (
enum):"samsung,s5pv210-secss","samsung,exynos4210-secss"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"secss"
interrupts — required here #
One feed control interrupt.
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg", "clock-names", "clocks", "interrupts"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0
Line 31: for S5PV210
Line 32: for Exynos4210, Exynos4212,
Line 33: Exynos4412, Exynos5250,
Line 34: Exynos5260 and Exynos5420
STMicroelectronics STM32 CRC
Peios Kernel / Hardware and drivers / Device-tree binding reference / Crypto bindings
Schema identifier ($id): "http://devicetree.org/schemas/crypto/st,stm32-crc.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Lionel Debieve <lionel.debieve@foss.st.com>"
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "st,stm32f7-crc"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg", "clocks"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/stm32mp1-clks.h>
crc@40023000 {
compatible = "st,stm32f7-crc";
reg = <0x40023000 0x400>;
clocks = <&rcc 0 12>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
STMicroelectronics STM32 CRYP
Peios Kernel / Hardware and drivers / Device-tree binding reference / Crypto bindings
Schema identifier ($id): "http://devicetree.org/schemas/crypto/st,stm32-cryp.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
The STM32 CRYP block is built on the CRYP block found in the STn8820 SoC introduced in 2007, and subsequently used in the U8500 SoC in 2010.
Maintainers (maintainers): "Lionel Debieve <lionel.debieve@foss.st.com>"
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "st,stn8820-cryp", "stericsson,ux500-cryp", "st,stm32f756-cryp", "st,stm32mp1-cryp"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
resets — not listed as required here #
Maximum number of items (maxItems): 1
dmas — not listed as required here #
Array item rules (items) #
Item 1
mem2cryp DMA channel
Item 2
cryp2mem DMA channel
dma-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"mem2cryp"
Item 2
Exact value (
const):"cryp2mem"
power-domains — not listed as required here #
Maximum number of items (maxItems): 1
access-controllers — not listed as required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
Required in this object (required): "compatible", "reg", "clocks", "interrupts"
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/clock/stm32mp1-clks.h>
#include <dt-bindings/reset/stm32mp1-resets.h>
cryp@54001000 {
compatible = "st,stm32mp1-cryp";
reg = <0x54001000 0x400>;
interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&rcc CRYP1>;
resets = <&rcc CRYP1_R>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
STMicroelectronics STM32 HASH
Peios Kernel / Hardware and drivers / Device-tree binding reference / Crypto bindings
Schema identifier ($id): "http://devicetree.org/schemas/crypto/st,stm32-hash.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
The STM32 HASH block is built on the HASH block found in the STn8820 SoC introduced in 2007, and subsequently used in the U8500 SoC in 2010.
Maintainers (maintainers): "Lionel Debieve <lionel.debieve@foss.st.com>"
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "st,stn8820-hash", "stericsson,ux500-hash", "st,stm32f456-hash", "st,stm32f756-hash", "st,stm32mp13-hash"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
interrupts — not listed as required here #
Maximum number of items (maxItems): 1
resets — not listed as required here #
Maximum number of items (maxItems): 1
dmas — not listed as required here #
Maximum number of items (maxItems): 1
dma-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"in"
dma-maxburst — not listed as required here #
Set number of maximum dma burst supported
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Minimum value (minimum): 0
Maximum value (maximum): 2
Default value (default): 0
power-domains — not listed as required here #
Maximum number of items (maxItems): 1
access-controllers — not listed as required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
Required in this object (required): "compatible", "reg", "clocks"
All of these rules must match (allOf) #
Rule 1 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereArray item rules (
items)Exact value (
const):"stericsson,ux500-hash"When the condition matches (
then) #Properties and child nodes (
properties)
interrupts— not listed as required here
false— Not permitted by this property rule.When the condition does not match (
else) #
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/clock/stm32mp1-clks.h>
#include <dt-bindings/reset/stm32mp1-resets.h>
hash@54002000 {
compatible = "st,stm32f756-hash";
reg = <0x54002000 0x400>;
interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&rcc HASH1>;
resets = <&rcc HASH1_R>;
dmas = <&mdma1 31 0x10 0x1000A02 0x0 0x0>;
dma-names = "in";
dma-maxburst = <2>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
StarFive Cryptographic Module
Peios Kernel / Hardware and drivers / Device-tree binding reference / Crypto bindings
Schema identifier ($id): "http://devicetree.org/schemas/crypto/starfive,jh7110-crypto.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Jia Jie Ho <jiajie.ho@starfivetech.com>", "William Qiu <william.qiu@starfivetech.com>"
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "starfive,jh7110-crypto", "starfive,jh8100-crypto"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Array item rules (items) #
Item 1
Hardware reference clock
Item 2
AHB reference clock
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"hclk"
Item 2
Exact value (
const):"ahb"
interrupts — not listed as required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
SHA2 module irq
Item 2
SM3 module irq
resets — 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
dma-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"tx"
Item 2
Exact value (
const):"rx"
Required in this object (required): "compatible", "reg", "clocks", "clock-names", "resets", "dmas", "dma-names"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
All of these rules must match (allOf) #
Rule 1 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereExact value (
const):"starfive,jh7110-crypto"When the condition matches (
then) #Properties and child nodes (
properties)
interrupts— not listed as required hereMaximum number of items (
maxItems):1
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereExact value (
const):"starfive,jh8100-crypto"When the condition matches (
then) #Properties and child nodes (
properties)
interrupts— not listed as required hereMinimum number of items (
minItems):2
Examples (examples) #
crypto: crypto@16000000 {
compatible = "starfive,jh7110-crypto";
reg = <0x16000000 0x4000>;
clocks = <&clk 15>, <&clk 16>;
clock-names = "hclk", "ahb";
interrupts = <28>;
resets = <&reset 3>;
dmas = <&dma 1 2>,
<&dma 0 2>;
dma-names = "tx", "rx";
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
K3 SoC DTHE V2 crypto module
Peios Kernel / Hardware and drivers / Device-tree binding reference / Crypto bindings
Schema identifier ($id): "http://devicetree.org/schemas/crypto/ti,am62l-dthev2.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "T Pratham <t-pratham@ti.com>"
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "ti,am62l-dthev2"
reg — required here #
Maximum number of items (maxItems): 1
dmas — required here #
Array item rules (items) #
Item 1
AES Engine RX DMA Channel
Item 2
AES Engine TX DMA Channel
Item 3
SHA Engine TX DMA Channel
dma-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"rx"
Item 2
Exact value (
const):"tx1"
Item 3
Exact value (
const):"tx2"
Required in this object (required): "compatible", "reg", "dmas", "dma-names"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
crypto@40800000 {
compatible = "ti,am62l-dthev2";
reg = <0x40800000 0x10000>;
dmas = <&main_bcdma 0 0 0x4700 0>,
<&main_bcdma 0 0 0xc701 0>,
<&main_bcdma 0 0 0xc700 0>;
dma-names = "rx", "tx1", "tx2";
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
OMAP SoC SHA crypto Module
Peios Kernel / Hardware and drivers / Device-tree binding reference / Crypto bindings
Schema identifier ($id): "http://devicetree.org/schemas/crypto/ti,omap-sham.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Animesh Agarwal <animeshagarwal28@gmail.com>"
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "ti,omap2-sham", "ti,omap4-sham", "ti,omap5-sham"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
dmas — not listed as required here #
Maximum number of items (maxItems): 1
dma-names — not listed as required here #
Exact value (const): "rx"
ti,hwmods — required here #
Name of the hwmod associated with the SHAM module
Shared schema rule ($ref): /schemas/types.yaml#/definitions/string
Property dependencies (dependencies) #
dmas — applies when this property is present #
Also requires: "dma-names"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Required in this object (required): "compatible", "ti,hwmods", "reg", "interrupts"
Examples (examples) #
sham@53100000 {
compatible = "ti,omap4-sham";
ti,hwmods = "sham";
reg = <0x53100000 0x200>;
interrupts = <109>;
dmas = <&edma 36>;
dma-names = "rx";
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
OMAP SoC AES crypto Module
Peios Kernel / Hardware and drivers / Device-tree binding reference / Crypto bindings
Schema identifier ($id): "http://devicetree.org/schemas/ti,omap2-aes.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Aaro Koskinen <aaro.koskinen@iki.fi>", "Andreas Kemnade <andreas@kemnade.info>", "Kevin Hilman <khilman@baylibre.com>", "Roger Quadros <rogerq@kernel.org>", "Tony Lindgren <tony@atomide.com>"
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "ti,omap2-aes", "ti,omap3-aes", "ti,omap4-aes"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
dmas — not listed as required here #
Maximum number of items (maxItems): 2
dma-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"tx"
Item 2
Exact value (
const):"rx"
ti,hwmods — not listed as required here #
Name of the hwmod associated with the AES module
Exact value (const): "aes"
Deprecated (deprecated): true
Required in this object (required): "compatible", "reg", "interrupts"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
aes@53500000 {
compatible = "ti,omap4-aes";
reg = <0x53500000 0xa0>;
interrupts = <102>;
dmas = <&edma 6>,
<&edma 5>;
dma-names = "tx", "rx";
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
OMAP4 DES crypto Module
Peios Kernel / Hardware and drivers / Device-tree binding reference / Crypto bindings
Schema identifier ($id): "http://devicetree.org/schemas/ti,omap4-des.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Aaro Koskinen <aaro.koskinen@iki.fi>", "Andreas Kemnade <andreas@kemnade.info>", "Kevin Hilman <khilman@baylibre.com>", "Roger Quadros <rogerq@kernel.org>", "Tony Lindgren <tony@atomide.com>"
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "ti,omap4-des"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
dmas — not listed as required here #
Maximum number of items (maxItems): 2
dma-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"tx"
Item 2
Exact value (
const):"rx"
clocks — required here #
Maximum number of items (maxItems): 1
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"fck"
Property dependencies (dependencies) #
dmas — applies when this property is present #
Also requires: "dma-names"
Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names"
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>
des@480a5000 {
compatible = "ti,omap4-des";
reg = <0x480a5000 0xa0>;
interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&l3_iclk_div>;
clock-names = "fck";
dmas = <&sdma 117>, <&sdma 116>;
dma-names = "tx", "rx";
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
K3 SoC SA2UL crypto module
Peios Kernel / Hardware and drivers / Device-tree binding reference / Crypto bindings
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 hereRule 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) #
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)
Xilinx Versal True Random Number Generator Hardware Accelerator
Peios Kernel / Hardware and drivers / Device-tree binding reference / Crypto bindings
Schema identifier ($id): "http://devicetree.org/schemas/crypto/xlnx,versal-trng.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Harsh Jain <h.jain@amd.com>", "Mounika Botcha <mounika.botcha@amd.com>"
The Versal True Random Number Generator consists of Ring Oscillators as entropy source and a deterministic CTR_DRBG random bit generator (DRBG).
Properties and child nodes (properties) #
compatible — not listed as required here #
Exact value (const): "xlnx,versal-trng"
reg — required here #
Maximum number of items (maxItems): 1
Required in this object (required): "reg"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
rng@f1230000 {
compatible = "xlnx,versal-trng";
reg = <0xf1230000 0x1000>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Xilinx ZynqMP AES-GCM Hardware Accelerator
Peios Kernel / Hardware and drivers / Device-tree binding reference / Crypto bindings
Schema identifier ($id): "http://devicetree.org/schemas/crypto/xlnx,zynqmp-aes.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Kalyani Akula <kalyani.akula@amd.com>", "Michal Simek <michal.simek@amd.com>"
The ZynqMP AES-GCM hardened cryptographic accelerator is used to encrypt or decrypt the data with provided key and initialization vector.
Deprecated (deprecated): true
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "xlnx,zynqmp-aes"
Required in this object (required): "compatible"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
firmware {
zynqmp_firmware: zynqmp-firmware {
compatible = "xlnx,zynqmp-firmware";
method = "smc";
xlnx_aes: zynqmp-aes {
compatible = "xlnx,zynqmp-aes";
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)