1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/fpga/microchip,mpf-spi-fpga-mgr.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Microchip Polarfire FPGA manager.
8
9maintainers:
10  - Ivan Bornyakov <i.bornyakov@metrotek.ru>
11
12description:
13  Device Tree Bindings for Microchip Polarfire FPGA Manager using slave SPI to
14  load the bitstream in .dat format.
15
16properties:
17  compatible:
18    enum:
19      - microchip,mpf-spi-fpga-mgr
20
21  reg:
22    description: SPI chip select
23    maxItems: 1
24
25required:
26  - compatible
27  - reg
28
29allOf:
30  - $ref: /schemas/spi/spi-peripheral-props.yaml#
31
32unevaluatedProperties: false
33
34examples:
35  - |
36    spi {
37            #address-cells = <1>;
38            #size-cells = <0>;
39
40            fpga_mgr@0 {
41                    compatible = "microchip,mpf-spi-fpga-mgr";
42                    spi-max-frequency = <20000000>;
43                    reg = <0>;
44            };
45    };
46