xref: /linux/Documentation/devicetree/bindings/pci/pci-ep.yaml (revision 3367934dd3035afa72ac79ae649f142a530df157)
1847dbf4eSKishon Vijay Abraham I# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2847dbf4eSKishon Vijay Abraham I%YAML 1.2
3847dbf4eSKishon Vijay Abraham I---
4847dbf4eSKishon Vijay Abraham I$id: http://devicetree.org/schemas/pci/pci-ep.yaml#
5847dbf4eSKishon Vijay Abraham I$schema: http://devicetree.org/meta-schemas/core.yaml#
6847dbf4eSKishon Vijay Abraham I
7*3367934dSKrzysztof Kozlowskititle: PCI Endpoint Controller
8847dbf4eSKishon Vijay Abraham I
9847dbf4eSKishon Vijay Abraham Idescription: |
10847dbf4eSKishon Vijay Abraham I  Common properties for PCI Endpoint Controller Nodes.
11847dbf4eSKishon Vijay Abraham I
12847dbf4eSKishon Vijay Abraham Imaintainers:
13847dbf4eSKishon Vijay Abraham I  - Kishon Vijay Abraham I <kishon@ti.com>
14847dbf4eSKishon Vijay Abraham I
15847dbf4eSKishon Vijay Abraham Iproperties:
16847dbf4eSKishon Vijay Abraham I  $nodename:
17847dbf4eSKishon Vijay Abraham I    pattern: "^pcie-ep@"
18847dbf4eSKishon Vijay Abraham I
19847dbf4eSKishon Vijay Abraham I  max-functions:
20847dbf4eSKishon Vijay Abraham I    description: Maximum number of functions that can be configured
213d21a460SRob Herring    $ref: /schemas/types.yaml#/definitions/uint8
22847dbf4eSKishon Vijay Abraham I    minimum: 1
23847dbf4eSKishon Vijay Abraham I    default: 1
24847dbf4eSKishon Vijay Abraham I    maximum: 255
25847dbf4eSKishon Vijay Abraham I
26f00bfc64SKishon Vijay Abraham I  max-virtual-functions:
27f00bfc64SKishon Vijay Abraham I    description: Array representing the number of virtual functions corresponding to each physical
28f00bfc64SKishon Vijay Abraham I      function
29f00bfc64SKishon Vijay Abraham I    $ref: /schemas/types.yaml#/definitions/uint8-array
30f00bfc64SKishon Vijay Abraham I    minItems: 1
31f00bfc64SKishon Vijay Abraham I    maxItems: 255
32f00bfc64SKishon Vijay Abraham I
33847dbf4eSKishon Vijay Abraham I  max-link-speed:
343d21a460SRob Herring    $ref: /schemas/types.yaml#/definitions/uint32
35847dbf4eSKishon Vijay Abraham I    enum: [ 1, 2, 3, 4 ]
36847dbf4eSKishon Vijay Abraham I
37847dbf4eSKishon Vijay Abraham I  num-lanes:
38847dbf4eSKishon Vijay Abraham I    description: maximum number of lanes
393d21a460SRob Herring    $ref: /schemas/types.yaml#/definitions/uint32
40847dbf4eSKishon Vijay Abraham I    minimum: 1
41847dbf4eSKishon Vijay Abraham I    default: 1
42847dbf4eSKishon Vijay Abraham I    maximum: 16
43847dbf4eSKishon Vijay Abraham I
44847dbf4eSKishon Vijay Abraham Irequired:
45847dbf4eSKishon Vijay Abraham I  - compatible
466a0e321eSRob Herring
476a0e321eSRob HerringadditionalProperties: true
48