Tom Rini | 93743d2 | 2024-04-01 09:08:13 -0400 | [diff] [blame] | 1 | # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) |
| 2 | %YAML 1.2 |
| 3 | --- |
| 4 | $id: http://devicetree.org/schemas/fpga/fpga-bridge.yaml# |
| 5 | $schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 | |
| 7 | title: FPGA Bridge |
| 8 | |
| 9 | maintainers: |
| 10 | - Michal Simek <michal.simek@amd.com> |
| 11 | |
| 12 | properties: |
| 13 | $nodename: |
| 14 | pattern: "^fpga-bridge(@.*|-([0-9]|[1-9][0-9]+))?$" |
| 15 | |
| 16 | bridge-enable: |
| 17 | description: | |
| 18 | 0 if driver should disable bridge at startup |
| 19 | 1 if driver should enable bridge at startup |
| 20 | Default is to leave bridge in current state. |
| 21 | $ref: /schemas/types.yaml#/definitions/uint32 |
| 22 | enum: [ 0, 1 ] |
| 23 | |
| 24 | additionalProperties: true |
| 25 | |
| 26 | examples: |
| 27 | - | |
| 28 | fpga-bridge { |
| 29 | bridge-enable = <0>; |
| 30 | }; |