1 # SPDX-License-Identifier: (GPL-2.0-only OR BS 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/pci/pci-ep. 4 $id: http://devicetree.org/schemas/pci/pci-ep.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: PCI Endpoint Controller 7 title: PCI Endpoint Controller 8 8 9 description: | 9 description: | 10 Common properties for PCI Endpoint Controlle 10 Common properties for PCI Endpoint Controller Nodes. 11 11 12 maintainers: 12 maintainers: 13 - Kishon Vijay Abraham I <kishon@kernel.org> 13 - Kishon Vijay Abraham I <kishon@kernel.org> 14 - Manivannan Sadhasivam <manivannan.sadhasiva 14 - Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> 15 15 16 properties: 16 properties: 17 $nodename: 17 $nodename: 18 pattern: "^pcie-ep@" 18 pattern: "^pcie-ep@" 19 19 20 max-functions: 20 max-functions: 21 description: Maximum number of functions t 21 description: Maximum number of functions that can be configured 22 $ref: /schemas/types.yaml#/definitions/uin 22 $ref: /schemas/types.yaml#/definitions/uint8 23 minimum: 1 23 minimum: 1 24 default: 1 24 default: 1 25 maximum: 255 25 maximum: 255 26 26 27 max-virtual-functions: 27 max-virtual-functions: 28 description: Array representing the number 28 description: Array representing the number of virtual functions corresponding to each physical 29 function 29 function 30 $ref: /schemas/types.yaml#/definitions/uin 30 $ref: /schemas/types.yaml#/definitions/uint8-array 31 minItems: 1 31 minItems: 1 32 maxItems: 255 32 maxItems: 255 33 33 34 max-link-speed: 34 max-link-speed: 35 $ref: /schemas/types.yaml#/definitions/uin 35 $ref: /schemas/types.yaml#/definitions/uint32 36 enum: [ 1, 2, 3, 4 ] 36 enum: [ 1, 2, 3, 4 ] 37 37 38 num-lanes: 38 num-lanes: 39 description: maximum number of lanes 39 description: maximum number of lanes 40 $ref: /schemas/types.yaml#/definitions/uin 40 $ref: /schemas/types.yaml#/definitions/uint32 41 minimum: 1 41 minimum: 1 42 default: 1 42 default: 1 43 maximum: 16 43 maximum: 16 44 44 45 linux,pci-domain: 45 linux,pci-domain: 46 description: 46 description: 47 If present this property assigns a fixed 47 If present this property assigns a fixed PCI domain number to a PCI 48 Endpoint Controller, otherwise an unstab 48 Endpoint Controller, otherwise an unstable (across boots) unique number 49 will be assigned. It is required to eith 49 will be assigned. It is required to either not set this property at all 50 or set it for all PCI endpoint controlle 50 or set it for all PCI endpoint controllers in the system, otherwise 51 potentially conflicting domain numbers m 51 potentially conflicting domain numbers may be assigned to endpoint 52 controllers. The domain number for each 52 controllers. The domain number for each endpoint controller in the system 53 must be unique. 53 must be unique. 54 $ref: /schemas/types.yaml#/definitions/uin 54 $ref: /schemas/types.yaml#/definitions/uint32 55 55 56 required: 56 required: 57 - compatible 57 - compatible 58 58 59 additionalProperties: true 59 additionalProperties: true
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.