summaryrefslogtreecommitdiffstats
path: root/dts/Bindings/fpga/fpga-bridge.yaml
blob: 1ccb2aa187269ba919e5f305dbb0ba034f215b60 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/fpga/fpga-bridge.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: FPGA Bridge

maintainers:
  - Michal Simek <michal.simek@amd.com>

properties:
  $nodename:
    pattern: "^fpga-bridge(@.*|-([0-9]|[1-9][0-9]+))?$"

  bridge-enable:
    description: |
      0 if driver should disable bridge at startup
      1 if driver should enable bridge at startup
      Default is to leave bridge in current state.
    $ref: /schemas/types.yaml#/definitions/uint32
    enum: [ 0, 1 ]

additionalProperties: true

examples:
  - |
    fpga-bridge {
        bridge-enable = <0>;
    };