Analog Devices AXI SPI Engine Controller
Schema identifier ($id): "http://devicetree.org/schemas/spi/adi,axi-spi-engine.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
The AXI SPI Engine controller is part of the SPI Engine framework[1] and allows memory mapped access to the SPI Engine control bus. This allows it to be used as a general purpose software driven SPI controller as well as some optional advanced acceleration and offloading capabilities.
[1] https://wiki.analog.com/resources/fpga/peripherals/spi_engine
Maintainers (maintainers): "Michael Hennerich <Michael.Hennerich@analog.com>", "Nuno Sá <nuno.sa@analog.com>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):/schemas/spi/spi-controller.yaml#
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "adi,axi-spi-engine-1.00.a"
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
The AXI interconnect clock.
Item 2
The SPI controller clock.
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"s_axi_aclk"
Item 2
Exact value (
const):"spi_clk"
trigger-sources — not listed as required here #
An array of trigger source phandles for offload instances. The index in the array corresponds to the offload instance number.
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 32
dmas — not listed as required here #
DMA channels connected to the input or output stream interface of an offload instance.
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 32
dma-names — not listed as required here #
Array item rules (items) #
String pattern (
pattern):"^offload(?:[12]?[0-9]|3[01])-[tr]x$"
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 32
Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Properties matching a name pattern (patternProperties) #
^.*@[0-9a-f]+ — name matches this regular expression #
Value type (type): "object"
Properties and child nodes (properties) #
spi-rx-bus-width — not listed as required here
Maximum number of items (maxItems): 8
Array item rules (items)
spi-tx-bus-width — not listed as required here
Maximum number of items (maxItems): 8
Array item rules (items)
Examples (examples) #
spi@44a00000 {
compatible = "adi,axi-spi-engine-1.00.a";
reg = <0x44a00000 0x1000>;
interrupts = <0 56 4>;
clocks = <&clkc 15>, <&clkc 15>;
clock-names = "s_axi_aclk", "spi_clk";
trigger-sources = <&trigger_clock>;
dmas = <&dma 0>;
dma-names = "offload0-rx";
#address-cells = <1>;
#size-cells = <0>;
/* SPI devices */
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)