Xilinx Slave Serial SPI FPGA

Schema identifier ($id): "http://devicetree.org/schemas/fpga/xlnx,fpga-slave-serial.yaml#"

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

Maintainers (maintainers): "Nava kishore Manne <nava.kishore.manne@amd.com>"

Xilinx Spartan-6 and 7 Series FPGAs support a method of loading the bitstream over what is referred to as slave serial interface.The slave serial link is not technically SPI, and might require extra circuits in order to play nicely with other SPI slaves on the same bus.

Datasheets:
  https://www.xilinx.com/support/documentation/user_guides/ug380.pdf
  https://www.xilinx.com/support/documentation/user_guides/ug470_7Series_Config.pdf
  https://www.xilinx.com/support/documentation/application_notes/xapp583-fpga-configuration.pdf

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): /schemas/spi/spi-peripheral-props.yaml#

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "xlnx,fpga-slave-serial"

spi-cpha — not listed as required here #

true — No constraints added by this property rule.

spi-max-frequency — not listed as required here #

Maximum value (maximum): 60000000

reg — required here #

Maximum number of items (maxItems): 1

prog_b-gpios — required here #

config pin (referred to as PROGRAM_B in the manual)

Maximum number of items (maxItems): 1

done-gpios — required here #

config status pin (referred to as DONE in the manual)

Maximum number of items (maxItems): 1

init-b-gpios — required here #

initialization status and configuration error pin (referred to as INIT_B in the manual)

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "reg", "prog_b-gpios", "done-gpios", "init-b-gpios"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/gpio/gpio.h>
spi {
  #address-cells = <1>;
  #size-cells = <0>;
  fpga_mgr_spi: fpga-mgr@0 {
    compatible = "xlnx,fpga-slave-serial";
    spi-max-frequency = <60000000>;
    spi-cpha;
    reg = <0>;
    prog_b-gpios = <&gpio0 29 GPIO_ACTIVE_LOW>;
    init-b-gpios = <&gpio0 28 GPIO_ACTIVE_LOW>;
    done-gpios = <&gpio0 9 GPIO_ACTIVE_HIGH>;
  };
};

Source notes #

Annotations retained from the schema source

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

Edit this page