Allwinner A10 SPI Controller
Schema identifier ($id): "http://devicetree.org/schemas/spi/allwinner,sun4i-a10-spi.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):spi-controller.yaml
Maintainers (maintainers): "Chen-Yu Tsai <wens@csie.org>", "Maxime Ripard <mripard@kernel.org>"
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "allwinner,sun4i-a10-spi"
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"
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) #
reg — not listed as required here
Array item rules (items)
Minimum value (
minimum):0Maximum value (
maximum):4
spi-rx-bus-width — not listed as required here
Array item rules (items)
Item 1
Exact value (
const):1
spi-tx-bus-width — not listed as required here
Array item rules (items)
Item 1
Exact value (
const):1
Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
spi1: spi@1c06000 {
compatible = "allwinner,sun4i-a10-spi";
reg = <0x01c06000 0x1000>;
interrupts = <11>;
clocks = <&ahb_gates 21>, <&spi1_clk>;
clock-names = "ahb", "mod";
#address-cells = <1>;
#size-cells = <0>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0