Xilinx SPI controller
Schema identifier ($id): "http://devicetree.org/schemas/spi/spi-xilinx.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Michal Simek <michal.simek@amd.com>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):spi-controller.yaml#
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "xlnx,xps-spi-2.00.a", "xlnx,xps-spi-2.00.b", "xlnx,axi-quad-spi-1.00.a"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — not listed as required here #
Maximum number of items (maxItems): 1
xlnx,num-ss-bits — not listed as required here #
Number of chip selects used.
Minimum value (minimum): 1
Maximum value (maximum): 32
xlnx,num-transfer-bits — not listed as required here #
Number of bits per transfer. This will be 8 if not specified.
Allowed values (enum): 8, 16, 32
Default value (default): 8
Required in this object (required): "compatible", "reg"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
spi0: spi@41e00000 {
compatible = "xlnx,xps-spi-2.00.a";
interrupt-parent = <&intc>;
interrupts = <0 31 1>;
reg = <0x41e00000 0x10000>;
xlnx,num-ss-bits = <0x1>;
xlnx,num-transfer-bits = <32>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)