Xilinx Zynq UltraScale+ MPSoC GQSPI controller

Schema identifier ($id): "http://devicetree.org/schemas/spi/spi-zynqmp-qspi.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Michal Simek <michal.simek@amd.com>"

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "xlnx,versal-qspi-1.0", "xlnx,zynqmp-qspi-1.0"

reg — required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 2

interrupts — required here #

Maximum number of items (maxItems): 1

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "ref_clk"

Item 2

Exact value (const): "pclk"

clocks — required here #

Maximum number of items (maxItems): 2

iommus — not listed as required here #

Maximum number of items (maxItems): 1

power-domains — not listed as required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "reg", "interrupts", "clock-names", "clocks"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): spi-controller.yaml#

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "xlnx,zynqmp-qspi-1.0"

When the condition matches (then) #

Properties and child nodes (properties)

reg — not listed as required here

Minimum number of items (minItems): 2

When the condition does not match (else) #

Properties and child nodes (properties)

reg — not listed as required here

Maximum number of items (maxItems): 1

Examples (examples) #

soc {
  #address-cells = <2>;
  #size-cells = <2>;

  qspi: spi@ff0f0000 {
    compatible = "xlnx,zynqmp-qspi-1.0";
    clocks = <&zynqmp_clk 53>, <&zynqmp_clk 82>;
    clock-names = "ref_clk", "pclk";
    interrupts = <0 15 4>;
    interrupt-parent = <&gic>;
    reg = <0x0 0xff0f0000 0x0 0x1000>,
          <0x0 0xc0000000 0x0 0x8000000>;
  };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Edit this page