Allwinner Security System v2 driver

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

Edit this page