Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 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 | |
| 7 | title: Microchip Polarfire FPGA manager. |
| 8 | |
| 9 | maintainers: |
| 10 | - Vladimir Georgiev <v.georgiev@metrotek.ru> |
| 11 | |
| 12 | description: |
| 13 | Device Tree Bindings for Microchip Polarfire FPGA Manager using slave SPI to |
| 14 | load the bitstream in .dat format. |
| 15 | |
| 16 | properties: |
| 17 | compatible: |
| 18 | enum: |
| 19 | - microchip,mpf-spi-fpga-mgr |
| 20 | |
| 21 | reg: |
| 22 | description: SPI chip select |
| 23 | maxItems: 1 |
| 24 | |
| 25 | required: |
| 26 | - compatible |
| 27 | - reg |
| 28 | |
| 29 | allOf: |
| 30 | - $ref: /schemas/spi/spi-peripheral-props.yaml# |
| 31 | |
| 32 | unevaluatedProperties: false |
| 33 | |
| 34 | examples: |
| 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 | }; |