Andes ATCSPI200 SPI controller
Schema identifier ($id): "http://devicetree.org/schemas/spi/andestech,ae350-spi.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "CL Wang <cl634@andestech.com>"
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):"andestech,ae350-spi"
Rule 2
Exact value (
const):"andestech,ae350-spi"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
num-cs — not listed as required here #
Number of chip selects supported
Maximum number of items (maxItems): 1
dmas — required here #
Array item rules (items) #
Item 1
Transmit FIFO DMA channel
Item 2
Receive FIFO DMA channel
dma-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"tx"
Item 2
Exact value (
const):"rx"
Properties matching a name pattern (patternProperties) #
@[0-9a-f]+$ — name matches this regular expression #
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
true
Allowed by this rule.
Properties and child nodes (properties) #
spi-rx-bus-width — not listed as required here
Array item rules (items)
Item 1
spi-tx-bus-width — not listed as required here
Array item rules (items)
Item 1
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):spi-controller.yaml#
Required in this object (required): "compatible", "reg", "clocks", "dmas", "dma-names"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
spi@f0b00000 {
compatible = "andestech,ae350-spi";
reg = <0xf0b00000 0x100>;
clocks = <&clk_spi>;
dmas = <&dma0 0>, <&dma0 1>;
dma-names = "tx", "rx";
#address-cells = <1>;
#size-cells = <0>;
flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-tx-bus-width = <4>;
spi-rx-bus-width = <4>;
spi-cpol;
spi-cpha;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)