Allwinner A10 Security System
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