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 7title: PCI Endpoint Controller Schema 8 9description: | 10 Common properties for PCI Endpoint Controller Nodes. 11 12maintainers: 13 - Kishon Vijay Abraham I <kishon@ti.com> 14 15properties: 16 $nodename: 17 pattern: "^pcie-ep@" 18 19 max-functions: 20 description: Maximum number of functions that can be configured 21 allOf: 22 - $ref: /schemas/types.yaml#/definitions/uint8 23 minimum: 1 24 default: 1 25 maximum: 255 26 27 max-link-speed: 28 allOf: 29 - $ref: /schemas/types.yaml#/definitions/uint32 30 enum: [ 1, 2, 3, 4 ] 31 32 num-lanes: 33 description: maximum number of lanes 34 allOf: 35 - $ref: /schemas/types.yaml#/definitions/uint32 36 minimum: 1 37 default: 1 38 maximum: 16 39 40required: 41 - compatible 42