xref: /linux/Documentation/devicetree/bindings/pci/pci-ep.yaml (revision 95298d63c67673c654c08952672d016212b26054)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/pci/pci-ep.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: PCI Endpoint Controller Schema
8
9description: |
10  Common properties for PCI Endpoint Controller Nodes.
11
12maintainers:
13  - Kishon Vijay Abraham I <kishon@ti.com>
14
15properties:
16  $nodename:
17    pattern: "^pcie-ep@"
18
19  max-functions:
20    description: Maximum number of functions that can be configured
21    $ref: /schemas/types.yaml#/definitions/uint8
22    minimum: 1
23    default: 1
24    maximum: 255
25
26  max-link-speed:
27    $ref: /schemas/types.yaml#/definitions/uint32
28    enum: [ 1, 2, 3, 4 ]
29
30  num-lanes:
31    description: maximum number of lanes
32    $ref: /schemas/types.yaml#/definitions/uint32
33    minimum: 1
34    default: 1
35    maximum: 16
36
37required:
38  - compatible
39