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