Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/pci/pci-ep.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: PCI Endpoint Controller Schema
0008 
0009 description: |
0010   Common properties for PCI Endpoint Controller Nodes.
0011 
0012 maintainers:
0013   - Kishon Vijay Abraham I <kishon@ti.com>
0014 
0015 properties:
0016   $nodename:
0017     pattern: "^pcie-ep@"
0018 
0019   max-functions:
0020     description: Maximum number of functions that can be configured
0021     $ref: /schemas/types.yaml#/definitions/uint8
0022     minimum: 1
0023     default: 1
0024     maximum: 255
0025 
0026   max-virtual-functions:
0027     description: Array representing the number of virtual functions corresponding to each physical
0028       function
0029     $ref: /schemas/types.yaml#/definitions/uint8-array
0030     minItems: 1
0031     maxItems: 255
0032 
0033   max-link-speed:
0034     $ref: /schemas/types.yaml#/definitions/uint32
0035     enum: [ 1, 2, 3, 4 ]
0036 
0037   num-lanes:
0038     description: maximum number of lanes
0039     $ref: /schemas/types.yaml#/definitions/uint32
0040     minimum: 1
0041     default: 1
0042     maximum: 16
0043 
0044 required:
0045   - compatible
0046 
0047 additionalProperties: true