60 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/pci/pci-ep.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: PCI Endpoint Controller8 9description: |10 Common properties for PCI Endpoint Controller Nodes.11 12maintainers:13 - Kishon Vijay Abraham I <kishon@kernel.org>14 - Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>15 16properties:17 $nodename:18 pattern: "^pcie-ep@"19 20 max-functions:21 description: Maximum number of functions that can be configured22 $ref: /schemas/types.yaml#/definitions/uint823 minimum: 124 default: 125 maximum: 25526 27 max-virtual-functions:28 description: Array representing the number of virtual functions corresponding to each physical29 function30 $ref: /schemas/types.yaml#/definitions/uint8-array31 minItems: 132 maxItems: 25533 34 max-link-speed:35 $ref: /schemas/types.yaml#/definitions/uint3236 enum: [ 1, 2, 3, 4 ]37 38 num-lanes:39 description: maximum number of lanes40 $ref: /schemas/types.yaml#/definitions/uint3241 minimum: 142 default: 143 maximum: 1644 45 linux,pci-domain:46 description:47 If present this property assigns a fixed PCI domain number to a PCI48 Endpoint Controller, otherwise an unstable (across boots) unique number49 will be assigned. It is required to either not set this property at all50 or set it for all PCI endpoint controllers in the system, otherwise51 potentially conflicting domain numbers may be assigned to endpoint52 controllers. The domain number for each endpoint controller in the system53 must be unique.54 $ref: /schemas/types.yaml#/definitions/uint3255 56required:57 - compatible58 59additionalProperties: true60