Merge branch 'omap-for-v5.11/dt-mot-take2' into omap-for-v5.11/dt
[linux-2.6-microblaze.git] / Documentation / devicetree / bindings / pci / pci-ep.yaml
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
7 title: PCI Endpoint Controller Schema
8
9 description: |
10   Common properties for PCI Endpoint Controller Nodes.
11
12 maintainers:
13   - Kishon Vijay Abraham I <kishon@ti.com>
14
15 properties:
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
37 required:
38   - compatible
39
40 additionalProperties: true